Skip to main content

Linux Kernel ksmbd CVE-2026-99290

| EUVDEUVD-2026-126196 HIGH
2026-11-16 Linux GHSA-jj2j-7jrj-28q3
7.5
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to ksmbd SMB share
  2. Delivery
    Open file with durable handle
  3. Exploit
    Issue two concurrent durable reconnects
  4. Execution
    Force first reopen to fail
  5. Persist
    Final put frees in-use handle
  6. Impact
    Session 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Linux patch: 6.12.117
Linux patch: 7.4-rc1
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <248b5819591c577727930e4e255a455235fab50a
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <edacf65866a9f397438d5b9ff9f43312b29b4b3c
Linux 8df4bcdb0a4232192b2445256c39b787d58ef14d
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <bd47ee501b6ac4a26ae41f780a43b7967302a269
Linux patch: 7.3.2
Linux c8efcc786146a951091588e5fa7e3c754850cb3c <5078a4e41b29acdf6be52e4a7cc8a59c2a72a471
Linux patch: 0
Linux patch: 6.18.61
Linux 6.9
Linux 6.6.32 <6.7

Affected Packages

euvd linux fix: 6.7

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

Vendor (Linux) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Nov 19, 2026 - 14:22 NVD
7.5 (HIGH)
Patch available
Nov 16, 2026 - 11:19 EUVD
CVE Published
Nov 16, 2026 - 09:59 cve.org
HIGH 7.5
CVE Published
Nov 16, 2026 - 09:59 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
in-kernel SMB server rarely enabled; most deployments use userspace Samba
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy