Read the docs

Use-after-free in Linux kernel SMB client cached directory handling

Priority LOW 33Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 4 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

The Linux kernel SMB client is affected from 6.6.64 before 6.6.163, from 6.12.2 before 6.12.117, from 6.11.11 before 6.12, and from 6.13. A race in cached directory handling lets the kernel reuse a tree connection that is being torn down. This leads to a use-after-free and a double free. A remote unprivileged attacker needs user interaction and high attack complexity, with high impact on confidentiality, integrity and availability.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

In the Linux kernel, the following vulnerability has been resolved: smb: client: don't resurrect an exiting tcon from cached dir workers cfids_laundromat_worker() bumps tcon->tc_count for every expired open cfid and queues cached_dir_offload_close() without checking whether the tcon is already being torn down. Racing with the final cifs_put_tcon(), the tcon comes back from zero and gets torn down twice: T1 T2 cifs_put_tcon() --tc_count == 0, TID_EXITING tconInfoFree() free_cached_dirs() cancel_delayed_work_sync() cfids_laundromat_worker() ++tc_count == 1 queue_work(serverclose_wq) kfree(tcon->origin_fullpath) kfree(tcon) cached_dir_offload_close() close_cached_dir() [UAF] cifs_put_tcon() tconInfoFree() [double free] cached_dir_lease_break() also bumps tc_count without tc_lock, racing with the laundromat's locked update. Take the tcon reference through a helper that refuses once the tcon is TID_EXITING or its refcount has dropped to zero. Queued put_work and close_work then always hold a tcon reference, so tconInfoFree() can't run before they finish and free_cached_dirs() doesn't need to flush any workqueue. If the laundromat can't get a reference, put the cfid back on the dying list for free_cached_dirs() to free; its handle goes away with the tree connection. The lease break path finds the tcon on ses->tcon_list under cifs_tcp_ses_lock, so it can't see TID_EXITING, but it now takes tc_lock.

Why it matters now

EPSS 0.00458 31st percentileScored 2026-11-30
Fix Partial Linux (Linux): 6.6.163, 6.12.117, 6.12 +3Red Hat: 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.6.64 to before 6.6.163; 6.12.2 to before 6.12.117; 6.11.11 to before 6.126.6.163, 6.12.117, 6.12Patch availableCNA
LinuxLinux6.13 and later6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1Patch availableCNA
  • Linux VendorLinux Affected 6.6.64 to before 6.6.163; 6.12.2 to before 6.12.117; 6.11.11 to before 6.12 Fixed in 6.6.163, 6.12.117, 6.12 Patch available CNA
  • Linux VendorLinux Affected 6.13 and later Fixed in 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Linux kernel fixed versions are 6.6.163, 6.12.117, 6.12, 6.18.61, 7.3.2 and 7.4-rc1, so update to the fixed release for your branch. Red Hat lists Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 and Red Hat OpenShift Container Platform 5 as affected with no fix available.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA Linux (Linux) Fixed in 6.6.163, 6.12.117, 6.12
  • Fix · CNA Linux (Linux) Fixed in 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 5AffectedNo fix yet: Fix deferred
Not affected: 5 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift Container Platform 4

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-99386
  2. 2026-11-19 Alias added: GHSA-q388-r9wf-9w78
  3. 2026-11-19 Affected versions changed · Red Hat
  4. 2026-11-19 CVSS score added · Red Hat
  5. 2026-11-22 CVSS score added · CNA
  6. 2026-11-23 Fix available: Linux/[email protected], Linux/Linux@76c98dbe97f8a2c1465b4b21c9428333ba284d81 · CNA
  7. 2026-11-23 1 new reference · CNA

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 23530 →

Sources