Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate SMB session to ksmbd
-
DeliveryOpen tree connection and issue concurrent CREATE
-
ExploitRace CREATE publication past TREE_DISCONNECT close pass
-
ExecutionTrigger use-after-free of freed tree_connect
-
ImpactCorrupt kernel memory for escalation or crash
Vulnerability Assessment
| Exploitation Conditions | Requires the target to be running the Linux in-kernel SMB server (ksmbd, fs/smb/server) with a share exported and reachable; it is not built/enabled by default on most distributions, which use userspace Samba. The attacker must hold a valid SMB session able to issue a tree connect (consistent with PR:L - authenticated per the input vector). Exploitation then depends on winning a race: a CREATE must publish its file handle after the TREE_DISCONNECT close pass but before the tree_connect object is freed, so reliable triggering requires repeatedly racing concurrent CREATE and TREE_DISCONNECT requests. Limiting factors: ksmbd must be explicitly enabled and exporting a share, valid credentials are needed, and the race window makes single-shot exploitation unreliable. |
| Impact | The signals conflict in a way that pulls the real-world priority below the headline CVSS 8.8. The input CVSS vector (AV:N/AC:L/PR:L/UI:N) rates this as network-reachable, low-complexity, and requiring only low privileges with high confidentiality/integrity/availability impact - consistent with a kernel use-after-free reachable over SMB. However, the description explicitly frames the bug as a race between a concurrent CREATE and TREE_DISCONNECT ('A concurrent CREATE that already holds a tree reference can therefore publish its file after the close pass'), which argues for AC:H rather than the input's AC:L - the attacker must win a timing window, so I have downgraded complexity in my own assessment and flag the discrepancy: input AC:L likely overstates ease of exploitation for a race condition. Supporting signals point to low urgency despite the high base score: EPSS is 0.16% (5th percentile), the CVE is NOT on CISA KEV (no confirmed active exploitation), and no SSVC/automatable field is supplied. The vuln.today decision label is 'this_week' (patch promptly, not an emergency). Crucially, the affected surface is ksmbd, the in-kernel SMB server, which is NOT enabled in most Linux deployments (the common choice is userspace Samba), so exposure is far narrower than the 'linux:linux' CPE implies. Net: a genuinely serious memory-safety bug (kernel UAF with code-execution potential) but a measured priority - not a drop-everything emergency - because exploitation requires ksmbd enabled, an authenticated SMB session, and winning a race. |
| Exploit ScenarioDerived | An attacker with valid credentials to a Linux host running the ksmbd in-kernel SMB server opens a tree connection, then issues a CREATE request concurrently with a TREE_DISCONNECT so that the file is published after the tree's close pass. When CREATE drops its reference the tree connection is freed while a published file still points to it, yielding a kernel use-after-free (KASAN slab-use-after-free observed in proc_show_files). No public, verified exploit code is identified in the provided data; the trigger requires winning a race, so reliable exploitation is non-trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
A use-after-free race in the Linux kernel's in-kernel SMB server (ksmbd, fs/smb/server) allows an authenticated SMB client that can issue TREE_DISCONNECT and concurrent CREATE requests to publish a file handle after the tree's close pass, so the tree connection can be freed while the published file still points at it - producing a slab-use-after-free that the supplied KASAN report shows reachable through proc_show_files() in vfs_cache.c and that the assessed vector scores as high confidentiality and integrity impact. Only systems that explicitly run ksmbd with an exported, reachable share are exposed; most distributions ship userspace Samba instead and are unaffected. The assessed vector is AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (the headline CVSS 8.8 uses AC:L), reflecting that a valid SMB session is needed and the race window makes single-shot triggering unreliable; EPSS is low at 0.16% (5th percentile), no public exploit code was identified at time of analysis, and no CISA KEV entry applies.
RemediationAI
Vendor-released patch: update to the kernel version carrying the upstream fix, i.e. the stable 7.3.5 and 7.4-rc1 releases referenced in EUVD, or take the specific stable commits fc5ac6813830eaf5b850e89d57403da1e1c50432 and 2ff3730998b015b5b0a3f28330bee16c648dd114 from https://git.kernel.org/stable/c/fc5ac6813830eaf5b850e89d57403da1e1c50432 and https://git.kernel.org/stable/c/2ff3730998b015b5b0a3f28330bee16c648dd114 respectively, applying the backport that matches the kernel branch actually deployed. Prioritization per the supplied decision signal is this_week rather than emergency: EPSS is 0.16% and there is no KEV listing, but the assessed impact is high once a vulnerable ksmbd is exposed. Where patching must wait, the practical control is to remove the exposure - do not run ksmbd or do not export shares (unload/blacklist the ksmbd module where it is not operationally required), and restrict SMB reachability to trusted networks and authenticated accounts, since the assessor notes valid credentials plus a tree connect are prerequisites and the race requires many concurrent CREATE/TREE_DISCONNECT attempts; the trade-off is loss of the in-kernel SMB service or reduced accessibility for legitimate clients. Confirming whether a host actually uses ksmbd rather than userspace Samba should precede any emergency change, as the affected code path is not exercised by Samba.
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
ksmbd is the SMB3 server implemented in the Linux kernel under fs/smb/server, using the ksmbd tree-connection object allocated in ksmbd_tree_conn_connect() (mgmt/tree_connect.c) and torn down by handle_ksmbd_work() (server.c). The defect is an ordering and serialization problem in the disconnect path: TREE_DISCONNECT closed the tree's published file handles before marking and removing the tree connection, so a concurrent CREATE already holding a tree reference could publish its file after the close pass; when CREATE later dropped its reference, the tree could be freed while the published file still referenced it. The upstream fix marks and removes the tree connection before closing its files and serializes volatile ID publication for both new-open and durable-reconnect paths with that state transition, so an opener is either published in time for the close pass or rejected with STATUS_NETWORK_NAME_DELETED. It additionally keeps a tree reference while a file carries its tree pointer to protect asynchronous users whose final file destruction can be deferred past disconnect, and takes the opening request's file reference atomically with the FP_NEW to FP_INITED transition so the file survives until request completion even if teardown removes the ID immediately. The supplied crash evidence is a KASAN slab-use-after-free read of size 4 in proc_show_files() (fs/smb/server/vfs_cache.c:126), reached via seq_read_iter/proc_reg_read_iter/vfs_read, with the object allocated by ksmbd_tree_conn_connect() and freed in handle_ksmbd_work(). No CWE identifier was supplied with the record; the trigger described in the sources is a concurrency race between tree disconnect and CREATE publication, not a memory-safety flaw in the SMB protocol parser itself.
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:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Race between concurrent CREATE and TREE_DISCONNECT forces AC:H; an authenticated SMB tree connect is required (PR:L); kernel UAF yields high C/I/A with no scope change.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
smb/server: prevent file publication after tree disconnect
TREE_DISCONNECT closes the tree's published file handles before marking and removing the tree connection. A concurrent CREATE that already holds a tree reference can therefore publish its file after the close pass. When CREATE drops its reference, the tree can be freed while the published file still points to it.
Mark and remove the tree connection before closing its files, and serialize both new-open and durable-reconnect volatile ID publication with that state transition. An opener is then either published in time for the close pass or rejected after disconnect with STATUS_NETWORK_NAME_DELETED.
Keep a tree reference while a file carries its tree pointer. This protects asynchronous users that can defer the file's final destruction past tree disconnect.
The close pass can race the successful FP_NEW to FP_INITED transition. Take the opening request's file reference atomically with that transition. This keeps the file alive until request completion even if teardown removes the ID immediately.
BUG: KASAN: slab-use-after-free in proc_show_files (fs/smb/server/vfs_cache.c:126) Read of size 4 at addr ff11000101540f80 by task poc/153
Call Trace: proc_show_files (fs/smb/server/vfs_cache.c:126) seq_read_iter (fs/seq_file.c:231) proc_reg_read_iter (fs/proc/inode.c:299) vfs_read (fs/read_write.c:574) ksys_read (fs/read_write.c:716) do_syscall_64 (arch/x86/entry/syscall_64.c:84) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)
Allocated by: ksmbd_tree_conn_connect (fs/smb/server/mgmt/tree_connect.c:35) smb2_tree_connect (fs/smb/server/smb2pdu.c:2819) handle_ksmbd_work (fs/smb/server/server.c:368)
Freed by: kfree (mm/slub.c:6801) handle_ksmbd_work (fs/smb/server/server.c:332)
Executive ViewAI
A high-severity memory-safety flaw in the Linux kernel's optional in-kernel SMB server (ksmbd) could let an authenticated network user crash or corrupt a file server that has deliberately enabled an exported share. Only a narrow subset of infrastructure is exposed - most organizations run standard userspace Samba and are unaffected - but any host running ksmbd with a reachable share should be prioritized given the high confidentiality and integrity impact.
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-130909
GHSA-9644-q9wf-wc94
NVD
CVE.org
EPSS
VulDB
Exploit-DB