Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to ksmbd SMB share
-
DeliveryOpen file with durable handle
-
ExploitIssue two concurrent durable reconnects
-
ExecutionForce first reopen to fail
-
PersistFinal put frees in-use handle
-
ImpactSession teardown writes freed memory
Vulnerability Assessment
| Exploitation Conditions | Requires the ksmbd in-kernel SMB server (CONFIG_SMB_SERVER) to be loaded and actively serving shares - not a default Linux configuration - and the attacker must hold an authenticated SMB session (PR:L) with durable handles in use. The specific trigger is a race: two concurrent durable-handle reconnect requests for the same handle must both take a lookup reference, with the reopening request's smb2_open() failing and dropping its references first, per the description. Limiting factors: authentication is required, ksmbd is seldom enabled in production, and exploitation depends on winning a narrow timing window during a failed durable reconnect (the AC:H component), so reliability is low. |
| Impact | Signals point to a real but non-emergency kernel memory-corruption bug. The CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.5) describes a network-reachable but authenticated (PR:L) flaw whose high attack complexity (AC:H) reflects the race the description spells out - two reconnects of the same durable handle must each take a lookup reference and then free in a specific order. EPSS is low (0.21%, 11th percentile), there is no CISA KEV listing, and no public exploit is identified; the vuln.today decision label is 'this_week', which is a prioritization signal rather than act_now/emergency. The practical attack surface is narrow because the bug lives in ksmbd, the in-kernel SMB3 server, which is not enabled in most Linux deployments (userspace Samba is far more common). Note a framing tension: the Tags mark this 'Information Disclosure', but the description and KASAN trace show a write to freed memory during session teardown (use-after-free / memory corruption), which is better characterized by the I:H/A:H impact than by pure information disclosure - treat the confidentiality rating as the weaker, less certain dimension. Net: a genuine use-after-free worth patching on a normal cadence, not a widespread drive-by threat, given the authentication requirement, race dependency, and limited ksmbd deployment. |
| Exploit ScenarioDerived | An attacker with an authenticated SMB session to a ksmbd share opens a file with a durable handle, then issues two concurrent durable-handle reconnect requests for the same handle; by causing the first reopen (smb2_open) to fail, they make that request drop its references first while a second holder still points at the handle, so the final put frees the handle without removing the first session's volatile-id table entry. When that session is later torn down, ksmbd writes to the freed object, corrupting kernel memory (DoS, with potential for further exploitation). No public exploit is identified, and because success depends on winning a narrow race during a failed reconnect, reliable exploitation is difficult. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Use-after-free in the Linux kernel's in-kernel SMB server (ksmbd) allows an authenticated remote attacker holding an SMB session that uses durable handles to trigger a race during a failed durable reconnect, after which tearing down the affected session writes to freed memory. Only systems that have loaded ksmbd (CONFIG_SMB_SERVER) and are actively serving shares are exposed, so a default Linux install is not affected; the attacker must have valid credentials (CVSS PR:L) and must win a narrow timing window (AC:H), which keeps real-world reliability low. A vendor patch is available, EPSS is low at roughly 0.21% (11th percentile), and no public exploit has been identified at the time of analysis, though the resulting slab corruption can affect confidentiality, integrity and availability once triggered.
RemediationAI
Vendor-released patch: update to the fixed stable kernel releases identified in the advisory - Linux 6.12.117, 6.18.61 and 7.3.2, with the fix also present in 7.4-rc1 - or cherry-pick the upstream commits 248b5819591c577727930e4e255a455235fab50a, edacf65866a9f397438d5b9ff9f43312b29b4b3c, bd47ee501b6ac4a26ae41f780a43b7967302a269 and 5078a4e41b29acdf6be52e4a7cc8a59c2a72a471 (see https://git.kernel.org/stable/c/5078a4e41b29acdf6be52e4a7cc8a59c2a72a471 and the NVD record https://nvd.nist.gov/vuln/detail/CVE-2026-99290). Because exploitation requires an authenticated SMB session with durable handles and a lost race during a failed reconnect, the practical exposure is limited to hosts that actually run ksmbd; where the ksmbd module is loaded purely by default packaging and the share service is not needed, stopping the service and ensuring the module is not auto-loaded removes the attack surface, at the cost of losing the SMB shares that depend on it. Restricting SMB access to trusted network segments limits who can reach the vulnerable code path but does not fix it, and the supplied data documents no other vendor workaround - patching or not running ksmbd are the effective options.
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 in-kernel SMB3 file server for Linux, enabled at build time via CONFIG_SMB_SERVER; durable handles let a client reconnect to a previously opened file after a connection drop. ksmbd_reopen_durable_fd() republishes a detached durable handle into the reconnecting session's file table but takes no reference for that table entry, so cleanup on a subsequent smb2_open() failure relies on the final ksmbd_fd_put() to remove the volatile id. Two concurrent reconnects of the same handle can each take a lookup reference before either attaches it; if the request that reopens first subsequently fails and drops its references first, the other request performs the final put through ksmbd_put_durable_fd(). That frees the handle without removing the first session's table entry, and destroying that session then walks the dangling entry in __close_file_table_ids()/ksmbd_destroy_file_table(), producing the KASAN slab-use-after-free reported in the trace. The kernel advisory assigns no CWE in the supplied data, but the defect class is a file-table lifetime/reference-counting use-after-free. The fix removes the volatile id under the file-table lock on the error path before references are dropped, mirroring what ksmbd_close_fd() already does on the request_open path, so removal no longer depends on which holder makes the final put; the earlier commit 3515503322f4 ("ksmbd: fix durable reconnect error path file lifetime") covered only a final put made by the reconnecting request, not one made by another holder. A successful reconnect path is unchanged. Note that the supplied tags label this "Information Disclosure", while the defect itself is a memory-corruption/lifetime bug whose assessed impact spans confidentiality, integrity and availability.
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:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable SMB service but authenticated (PR:L) and race-dependent (AC:H per the described two-reconnect ordering); a kernel use-after-free can corrupt memory giving high C/I/A potential.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.org
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix use-after-free after a failed durable reconnect
ksmbd_reopen_durable_fd() republishes a detached durable handle in the reconnecting session's file table and takes no reference for that entry. If smb2_open() then fails, cleanup relies on the final ksmbd_fd_put() to remove the volatile id.
Two reconnects of the same handle can both take a lookup reference before either attaches it. If the one that reopens first then fails and drops its references first, the other request makes the final put through ksmbd_put_durable_fd(). That frees the handle without removing the first session's table entry, so tearing that session down writes to freed memory.
BUG: KASAN: slab-use-after-free in __close_file_table_ids+0x14d/0x740 [ksmbd] Call Trace: __close_file_table_ids+0x14d/0x740 [ksmbd] ksmbd_destroy_file_table+0x76/0x100 [ksmbd] ksmbd_session_destroy+0xf8/0x480 [ksmbd] ksmbd_dispose_sessions+0x13e/0x200 [ksmbd] ksmbd_conn_sessions_cleanup+0x4c3/0x6d0 [ksmbd] Freed by task 1030: __ksmbd_close_fd+0x97d/0x1000 [ksmbd] smb2_open+0x14eb/0xd9f0 [ksmbd]
Commit 3515503322f4 ("ksmbd: fix durable reconnect error path file lifetime") handles a final put made by the reconnecting request, but not one made by another holder.
Remove the volatile id under the file-table lock on this error path, before the references are dropped, as ksmbd_close_fd() does on the request_open path just above. Removal then no longer depends on which holder makes the final put. The stale comment in the reconnect cleanup is updated to match. A successful reconnect is unchanged.
Executive ViewAI
CVE-2026-99290 is a high-severity use-after-free vulnerability in the Linux kernel's in-kernel SMB server (ksmbd), affecting only systems that actively serve SMB shares. Successful exploitation requires valid credentials and a narrow timing window, resulting in low real-world reliability, but could lead to full compromise of the SMB service and potentially the host, impacting confidentiality, integrity, and availability for organizations running ksmbd in production.
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-126196
GHSA-jj2j-7jrj-28q3
NVD
CVE.org
EPSS
VulDB
Exploit-DB