Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessClient mounts attacker-controlled SMB share
-
DeliveryCached directory handles/leases accumulate on tcon
-
ExploitRace tcon teardown against laundromat worker or lease break
-
ExecutionResurrected tcon triggers use-after-free and double free
-
ImpactKernel memory corruption, crash, or potential escalation
Vulnerability Assessment
| Exploitation Conditions | Requires the target host to be running the Linux in-kernel SMB/CIFS client (cifs.ko) and to have an active tree connection to an SMB server, with cached-directory (directory-lease) handling in use. The bug triggers only in a timing window where the tree connection is being torn down (unmount / final cifs_put_tcon reaching tc_count==0 and TID_EXITING) at the same moment cfids_laundromat_worker() expires a cached open handle and bumps tc_count, or the lease-break path bumps tc_count without tc_lock. Limiting factors: narrow race window (AC:H), dependence on an SMB server able to influence lease-break/handle-expiry timing, and the requirement that the victim actively mount/use a CIFS share - hosts not using the cifs client are not exposed. Authentication to the client is not required (PR:N per supplied vector), but user/operator action to mount the share is (UI:R). |
| Impact | Signals are largely consistent and point to a moderate, patch-in-normal-cycle priority rather than an emergency. CVSS is 7.5 (High) but two metrics materially reduce real-world risk: AC:H (the described defect is a narrow teardown race between cifs_put_tcon() and cfids_laundromat_worker()/the lease-break path) and UI:R (the host must actively be running the SMB/CIFS client against the relevant server). EPSS is 0.22% (13th percentile - low), there is no CISA KEV listing, and no public exploit or PoC reference is present (the four references are kernel.org stable fix commits, not exploit code). These low-exploitation signals agree with each other and with the vuln.today 'this_week' decision label (not act_now/emergency). One caveat to flag explicitly: the supplied vector lists AV:N, but the mechanism described is a kernel-internal use-after-free/double-free race reachable only on a host that has mounted an SMB share - exploitation depends on a malicious or compromised SMB server influencing lease-break/laundromat timing rather than on arbitrary unauthenticated network reach, so AV:N should be read as 'triggerable via an attacker-controlled server,' not 'internet-wide reachable' - verify reachability assumptions against your deployment. Net: a genuine memory-corruption bug worth patching on the next maintenance window, not a drop-everything event. |
| Exploit ScenarioDerived | A Linux host mounts an SMB/CIFS share from a malicious or compromised server; the client accumulates cached directory handles under that tree connection. When the share is torn down, the cached-dir laundromat worker (or a server-sent lease break) resurrects the tcon from zero concurrently with the final cifs_put_tcon(), producing a use-after-free in close_cached_dir() and a double free in tconInfoFree() that can crash the kernel or potentially be leveraged for escalation. No public exploit identified at time of analysis, and the high timing complexity (AC:H) makes reliable triggering difficult. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
Use-after-free and double-free in the Linux kernel's in-kernel SMB/CIFS client (cifs.ko) can be triggered when a cached directory handle expires at the same moment a tree connection is being torn down, allowing a remote SMB server to induce kernel memory corruption on hosts that mount a share. Per the assessed vector, the flaw is network-reachable and unauthenticated from the client's perspective but requires user/operator action to mount the share and depends on a narrow timing window (AC:H); confidentiality, integrity, and availability impacts are all rated high. No public exploit code has been identified at time of analysis, the issue is not in CISA KEV, and EPSS is low at 0.22% (13th percentile), consistent with a patch-in-normal-cycle 'this_week' priority.
RemediationAI
Vendor-released patch: update to Linux 6.18.61, 6.12.117, 7.3.2, or 7.4-rc1 (or a later release on the corresponding branch). The stable backports are published at https://git.kernel.org/stable/c/d1b779a4b5acf9a8692b7f002bf6d98e0597cc86, https://git.kernel.org/stable/c/b304a9268f7d54eb75ce62f75013c9a90eabf084, https://git.kernel.org/stable/c/ed62849db326dc166aa18496e40f27a44b2c7ad0, and https://git.kernel.org/stable/c/d58e7b40908a8a57755811d5b37af1df3380278f, with the issue tracked at https://nvd.nist.gov/vuln/detail/CVE-2026-99386. The kernel fix is the complete remedy; distributions must ship the patched stable release, so confirm the running kernel package version rather than only the upstream tag. Until the patched kernel is deployed, exposure is limited to systems that mount CIFS shares: because the race depends on the SMB server influencing lease-break and handle-expiry timing, avoid mounting untrusted or attacker-controlled SMB shares, and unmount CIFS mounts that are no longer needed, accepting that neither measure removes the local teardown-side race and that unmounting does not by itself close the window during final cifs_put_tcon(). No other vendor-documented workaround was provided in the available sources.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the Linux kernel CIFS/SMB client, which manages tree connections (tcon) with reference counting on tcon->tc_count and tears them down via cifs_put_tcon() and tconInfoFree(). Directory caching ('cached dirs', driven by directory leases) is serviced by cfids_laundromat_worker(), which increments tc_count for every expired open cfid and queues cached_dir_offload_close() on serverclose_wq. The bug is a reference-counting race: the laundromat can take the count from zero back to one after cifs_put_tcon() has already observed tc_count==0 and set TID_EXITING, so tconInfoFree() proceeds to free_cached_dirs(), cancel_delayed_work_sync(), kfree(tcon->origin_fullpath) and kfree(tcon), while the later cached_dir_offload_close() runs close_cached_dir() on the freed tcon (use-after-free) and calls cifs_put_tcon() a second time, producing a double free. cached_dir_lease_break() similarly raises tc_count without holding tc_lock, racing the laundromat's locked update. The fix routes reference acquisition through a helper that refuses once the tcon is TID_EXITING or its refcount has dropped to zero, so queued put_work and close_work always hold a reference and tconInfoFree() cannot run before they complete; free_cached_dirs() no longer needs to flush any workqueue. If the laundromat cannot obtain a reference it returns the cfid to the dying list for free_cached_dirs() to release, and the lease-break path, which locates the tcon on ses->tcon_list under cifs_tcp_ses_lock (and therefore cannot observe TID_EXITING), now takes tc_lock. No CWE identifier was supplied with the record; the trigger is a teardown/expiry interleaving rather than a statically reachable path.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Client-side teardown race triggerable via a malicious SMB server the host mounts (AV:N, AC:H, UI:R); no client auth needed (PR:N); kernel memory corruption yields C/I/A:H.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
A high-severity memory corruption vulnerability (CVE-2026-99386) in the Linux kernel's SMB/CIFS client could allow a malicious SMB server to compromise confidentiality, integrity, and availability of systems that mount remote shares. Although no public exploit exists and exploitation requires a narrow timing window and user action to mount the share, the potential for kernel-level compromise makes this a priority for organizations relying on Linux SMB clients.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-130044
GHSA-q388-r9wf-9w78
NVD
CVE.org
EPSS
VulDB
Exploit-DB