Skip to main content

Linux ksmbd EUVDEUVD-2026-130909

| CVE-2026-99792 HIGH
2026-11-20 Linux GHSA-9644-q9wf-wc94
8.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Authenticate SMB session to ksmbd
  2. Delivery
    Open tree connection and issue concurrent CREATE
  3. Exploit
    Race CREATE publication past TREE_DISCONNECT close pass
  4. Execution
    Trigger use-after-free of freed tree_connect
  5. Impact
    Corrupt 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.

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

Linux patch: 0
Linux patch: 7.3.5
Linux f44158485826c076335d6860d35872271a83791d <2ff3730998b015b5b0a3f28330bee16c648dd114
Linux patch: 7.4-rc1
Linux f44158485826c076335d6860d35872271a83791d <fc5ac6813830eaf5b850e89d57403da1e1c50432
Linux 5.15

Affected Packages

euvd linux no fix

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

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

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.

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
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Nov 22, 2026 - 11:22 NVD
8.8 (HIGH)
Patch available
Nov 20, 2026 - 07:02 EUVD
CVE Published
Nov 20, 2026 - 05:51 cve.org
UNKNOWN (no severity yet)
CVE Published
Nov 20, 2026 - 05:51 cve.org
HIGH 8.8

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
ksmbd in-kernel SMB server rarely enabled; most Linux hosts use userspace Samba
Social Media
1
Sightings
Data Quality
4 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

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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