Skip to main content

Linux Kernel ksmbd CVE-2026-72422

| EUVDEUVD-2026-59321 CRITICAL
2026-08-15 Linux GHSA-2r52-5q5c-m3mp
Critical
Disputed · 9.8 Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed ksmbd on TCP/445
  2. Delivery
    Open SMB connection pre-auth
  3. Exploit
    Send two concurrent SMB2 NEGOTIATE requests
  4. Execution
    Force deassemble_neg_contexts failure to free preauth_info
  5. Persist
    Race send-path dereference of freed object
  6. Impact
    Leak kernel memory or crash host

Vulnerability Assessment

Exploitation Conditions

The target must have the in-kernel SMB server enabled (kernel built with CONFIG_SMB_SERVER and the ksmbd service actively listening on TCP/445 serving shares) - this is not a default configuration and most systems run userspace Samba instead, which is the single biggest limiter. Given ksmbd is reachable, no authentication is needed (PR:N - the SMB2 NEGOTIATE handler runs pre-authentication) and no user interaction is required. The exploit further requires opening a single connection and driving two concurrent SMB2 NEGOTIATE requests, forcing one down the deassemble_neg_contexts() failure path, and winning the race between the free and the send-path dereference - a timing-sensitive condition that limits reliability. Platform limit: only Linux kernels from the 5.15 ksmbd introduction up to the fixed stable releases are vulnerable.

Impact

The published CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H = 9.8) overstates real-world risk for two reasons: the flaw is a UAF READ (KASAN-confirmed), which realistically yields kernel-memory disclosure and crash/DoS rather than the full code execution implied by I:H, and it is a race condition requiring two concurrent SMB2 NEGOTIATE requests with precise timing, which is not the low complexity that AC:L claims. Corroborating signals point lower: EPSS is only 0.21% (12th percentile), the vendor tags label this 'Information Disclosure', it is absent from CISA KEV, and no public exploit code has been identified. The decisive limiting factor is exposure - ksmbd must be explicitly enabled and serving SMB shares, and most Linux deployments use userspace Samba instead, so the exploitable population is a small subset of Linux hosts. That said, where ksmbd IS internet- or LAN-exposed the pre-auth nature means no credentials are needed, so even a mid-sized municipal IT team in gniezno running ksmbd on a file server should treat patching as urgent rather than deprioritize on the low EPSS alone. Net: genuinely high-severity on affected hosts but narrow in reach - an important patch for ksmbd operators, not an emergency for the general Linux fleet.

Exploit ScenarioDerived

An attacker with network reach to an exposed ksmbd server opens an SMB connection and rapidly issues two SMB2 NEGOTIATE requests, arranging one to fail deassemble_neg_contexts() so it frees conn->preauth_info while the concurrent response-send worker is still dereferencing it, producing a slab use-after-free read that discloses adjacent kernel memory or crashes the host (DoS). No authentication is required because NEGOTIATE is pre-auth, but the attacker must reliably win a narrow timing race. No public exploit code has been identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – Aug 17, 2026

Use-after-free in the Linux kernel's in-kernel SMB server (ksmbd) lets a remote client that opens an SMB connection race two concurrent SMB2 NEGOTIATE requests to trigger a slab UAF read of the shared conn->preauth_info structure (kmalloc-96). The response send path smb3_preauth_hash_rsp() reads and dereferences conn->preauth_info->Preauth_HashValue without holding conn_lock, so one worker can free the object on the failing-negotiate path while another reads it - a window a bare NULL check cannot close. Exploitation is pre-authentication over the network but requires ksmbd to be actively serving shares plus precise timing; EPSS is low (0.21%, 12th percentile), it is not on CISA KEV, and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to a fixed stable kernel - 5.15.212, 6.6.145, 6.12.97, 6.18.40, 7.1.5 or later on your branch (mainline fix in 7.2-rc1); fix commits are published at git.kernel.org/stable (c7bef84740d1d57848c74f6f5b996606e43ea4fe and its sibling backports). Apply your distribution's kernel update referencing CVE-2026-72422 as the primary action. If you cannot patch immediately, the most effective compensating control is to disable the in-kernel SMB server (stop and unload ksmbd / do not run the ksmbd service) and use userspace Samba, which is unaffected - the trade-off is switching SMB stacks. If ksmbd must stay running, restrict reachability by firewalling TCP/445 to trusted management networks and blocking it at the perimeter, which shrinks the pool of clients able to open the concurrent NEGOTIATE connections needed to win the race, at the cost of limiting legitimate remote SMB clients. There is no configuration flag that disables only the vulnerable negotiate path, so patching or disabling ksmbd are the reliable fixes.

Affected VersionsENISA

Linux 8a8315a5960bd2b5ffc75f44fc089e57c3b17c44
Linux patch: 7.1.5
Linux 5.19.2 <5.20
Linux aa7253c2393f6dcd6a1468b0792f6da76edad917 <d0a469122e7bf8338fec1949fb1e8e1290ed8caa
Linux patch: 0
Linux aa7253c2393f6dcd6a1468b0792f6da76edad917 <1c89da3baa2b1f269178afa87dc30479b8535776
Linux patch: 6.6.145
Linux 5.18.18 <5.19
Linux aa7253c2393f6dcd6a1468b0792f6da76edad917 <16a1ecf39c217e3d164bd32ef2a4f650abc067fa
Linux 5.15.61 <5.15.212
Linux patch: 6.1.178
Linux aa7253c2393f6dcd6a1468b0792f6da76edad917 <7470511d085af1c7a043a60e53d52b512d5a10b1
Linux patch: 5.15.212
Linux 6.0
Linux ff20f1875889dbe4a67c9298e609d7c88cf6456d
Linux patch: 7.2-rc1
Linux patch: 6.18.40
Linux aa7253c2393f6dcd6a1468b0792f6da76edad917 <0c054227479ed7e36ebccb3a558bc0ef698264f6
Linux dd4e4c811898410e6a3ae3b63207b7c542860907 <c7bef84740d1d57848c74f6f5b996606e43ea4fe
Linux patch: 6.12.97
Linux aa7253c2393f6dcd6a1468b0792f6da76edad917 <77bb0bbfcc4e777ca653174689e5e363f8ee63d1

Affected Packages

euvd linux fix: 5.15.212, 5.19, 5.20

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 SMBv2/v3 file server introduced in Linux 5.15 as a faster alternative to userspace Samba, terminating SMB connections directly in kernel context. During protocol negotiation, smb2_handle_negotiate() allocates a per-connection preauth_integrity_info object (conn->preauth_info) used to accumulate the SMB 3.1.1 pre-authentication integrity SHA-512 hash. The defect is a use-after-free (CWE-416): allocation and free/NULL of conn->preauth_info are serialized under ksmbd_conn_lock() (the srv_mutex) inside the negotiate handler, but the asynchronous response send path in __handle_ksmbd_work() calls smb3_preauth_hash_rsp() -> ksmbd_gen_preauth_integrity_hash() and dereferences the pointer without taking that lock. The generic CPE (cpe:2.3:a:linux:linux) hides the true surface, which is any kernel built with CONFIG_SMB_SERVER running ksmbd; the upstream CWE is recorded N/A but the class is UAF. The fix serializes the negotiate-branch read under conn_lock and re-checks the pointer inside the lock so a reader runs fully before allocation or fully after the NULL store.

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

Sources disagree (Medium–Critical)
Vendor (Linux) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.4 HIGH

Pre-auth network reach gives AV:N/PR:N, but the concurrent-NEGOTIATE race raises AC:H; a read primitive yields memory disclosure (C:H) and crash (A:H) with no write, so I:N.

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

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Aug 17, 2026 - 06:22 NVD
9.8 (CRITICAL)
Patch available
Aug 15, 2026 - 07:20 EUVD
CVE Published
Aug 15, 2026 - 05:56 cve.org
CRITICAL 9.8
CVE Published
Aug 15, 2026 - 05:56 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix use-after-free of conn->preauth_info in concurrent SMB2 NEGOTIATE

conn->preauth_info is shared connection state (struct preauth_integrity_info, kmalloc-96) that is allocated and freed by the SMB2 NEGOTIATE handler and read by the response send path.

smb2_handle_negotiate() allocates conn->preauth_info, and on a deassemble_neg_contexts() failure kfrees it and sets it to NULL. Both the allocation and the free/NULL happen under ksmbd_conn_lock(conn) (the connection srv_mutex), which is held across the whole handler body.

The response send path smb3_preauth_hash_rsp(), called from the send: block of __handle_ksmbd_work(), reads conn->preauth_info and dereferences conn->preauth_info->Preauth_HashValue (via ksmbd_gen_preauth_integrity_hash()) without taking conn_lock. When a client drives two SMB2 NEGOTIATE requests on the same connection, one worker can free conn->preauth_info on the failing-negotiate path while a concurrent send-path worker is reading it, producing a slab use-after-free read (KASAN-confirmed).

The send-path read tested conn->preauth_info for NULL but raced with the free that occurs between the NULL check and the dereference, so the NULL guard alone does not close the window.

Serialize the NEGOTIATE-branch read in smb3_preauth_hash_rsp() under ksmbd_conn_lock(conn) and re-check conn->preauth_info inside the lock. Because the negotiate handler holds conn_lock across its kfree + NULL assignment, a reader that also takes conn_lock either runs fully before the allocation or fully after the NULL store, and can never observe the freed-but-not-yet-NULLed pointer. ksmbd_gen_preauth_integrity_hash() takes no locks itself (it only computes a SHA-512 over the buffer), so no lock-ordering inversion is introduced, and conn_lock is a sleepable mutex which is safe on this send path (it already performs network I/O).

Executive ViewAI

Why It Matters

CVE-2026-72422 is a critical use-after-free vulnerability in the Linux kernel's SMB server (ksmbd) affecting organizations with SMB file shares exposed to the network. While the CVSS score is 9.8, exploitation risk is low (EPSS 0.2%, no active exploitation), making this a deliberate patching priority rather than a crisis requiring emergency downtime.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
in-kernel SMB server rarely enabled; most Linux deployments use userspace Samba
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Yes
Human Impact
High

Priority Score

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

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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