Skip to main content

Linux ksmbd CVE-2026-8449

| EUVDEUVD-2026-29870 HIGH
Out-of-bounds Read (CWE-125)
2026-05-12 VulnCheck GHSA-898m-7rf9-qg74
8.7
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to ksmbd share with write access
  2. Delivery
    Create directory on target share
  3. Exploit
    SMB2_SET_INFO sets DACL with inflated num_subauth SID
  4. Execution
    Create child entries triggering smb_inherit_dacl OOB read
  5. Persist
    Heap corruption in kernel
  6. Impact
    Denial of service or potential kernel code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated SMB session (CVSS PR:L) with permission to create directories on a ksmbd-served share, and the target must be running the Linux ksmbd in-kernel SMB server (not userspace Samba). The concrete trigger chain is: create a directory, set a malicious DACL via an SMB2_SET_INFO request containing a SID with an inflated num_subauth sub-authority count, then create child entries so smb_inherit_dacl() processes the crafted ACL. Limiting factors: the attacker must already possess valid credentials and write/directory-create rights (so anonymous or read-only guest access does not suffice), ksmbd must be enabled and reachable on TCP 445, and reliable privilege escalation beyond DoS is not demonstrated - the guaranteed outcome is a kernel OOB read and heap corruption leading to instability or crash.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, VC/VI/VA:H, score 8.7 High) reflects a network-reachable, low-complexity flaw requiring only low privileges and no user interaction, with high impact to the vulnerable system. That is a genuine concern for any exposed ksmbd share, but several signals temper urgency: EPSS is only 0.18% (39th percentile), there is no KEV listing, and no public POC has been identified - the vulnerability is credibly exploitable in theory but shows no evidence of active or imminent exploitation. PR:L is the key limiter: the attacker must already be an authenticated SMB user permitted to create directories on a share, so this is not an anonymous internet-wide risk against default hardened deployments. The 'privilege escalation to kernel code execution' outcome is described as potential, not demonstrated; the reliably reproducible impact is kernel instability and DoS. Note a slight tension worth flagging: the input CVSS rates confidentiality/integrity/availability all High, yet the confirmed primitive is an OOB read plus heap corruption, so full code-execution impact should be treated as plausible-but-unproven rather than confirmed.

Exploit ScenarioDerived

An attacker holding valid SMB credentials with write access to a ksmbd share creates a directory, then issues an SMB2_SET_INFO request to attach a crafted DACL whose SID declares an inflated num_subauth value. When the attacker creates child entries under that directory, ksmbd's inheritance code reads and copies past the SID bounds and overflows its ACL size accounting, corrupting kernel heap memory and crashing the host or, potentially, steering execution. No public exploit code has been identified, and low attack complexity (AC:L) with no user interaction makes this practical for any low-privileged authenticated user once access to a writable share exists.

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 – Jul 23, 2026

Heap out-of-bounds read and subsequent heap corruption in the Linux kernel's in-kernel SMB server (ksmbd) lets an authenticated remote SMB client with directory-creation rights corrupt kernel memory through the ACL inheritance path. By writing a crafted DACL whose SID carries an inflated num_subauth field and then creating child entries, an attacker can crash the kernel (DoS) or potentially escalate to kernel code execution. No public exploit identified at time of analysis; EPSS is low (0.18%, 39th percentile) and the flaw is not in CISA KEV, so exploitation is not confirmed in the wild.

RemediationAI

Upstream fix available (commit 996454bc0da84d5a1dedb1a7861823087e01a7ae in fs/smb/server/smbacl.c); a patch is reported available from the vendor, but a specific tagged kernel release version is not stated in the input, so apply the fixed kernel package from your distribution (SUSE, Red Hat, and others were flagged) once it incorporates this commit and track their advisories via the NVD/VulnCheck references. Where you cannot immediately patch, reduce exposure rather than relying on generic hardening: disable the ksmbd module and use userspace Samba if ksmbd is not required (trade-off - loss of in-kernel SMB performance and any ksmbd-specific config); restrict which SMB accounts and shares grant directory-creation/write permission, since PR:L exploitation depends on that right (trade-off - tighter ACLs may break legitimate write workflows); and firewall SMB ports (TCP 445) to trusted management networks only (trade-off - remote/roaming clients lose access). Because exploitation requires an authenticated writable share, removing directory-create rights from untrusted users is the most targeted compensating control.

Affected VersionsENISA

ksmbd 0 ≤996454b

Affected Packages

euvd ksmbd 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 Linux kernel module implementing the SMB3 file-sharing protocol in kernel space (mainline since 5.15), an alternative to userspace Samba. The defect (CWE-125, out-of-bounds read) lives in fs/smb/server/smbacl.c within smb_inherit_dacl(), which propagates a parent directory's DACL to newly created children. The code trusted the num_subauth field of each parent ACE's SID and computed ACE sizes as base + num_subauth*4 without validating that num_subauth stayed within SID_MAX_SUB_AUTHORITIES or that the declared size fit the actual ACE buffer. An inflated num_subauth therefore drove reads past the SID/ACE bounds and inflated size accumulators (nt_size, pntsd_alloc_size) beyond the smb_acl/smb_ntsd allocation, corrupting the heap. The fix adds a bound check on num_subauth against SID_MAX_SUB_AUTHORITIES plus a minimum-size check, and routes size accumulation through smb_append_inherited_ace() using check_add_overflow() with a U16_MAX ceiling.

Know when Ksmbd gets its next vulnerability

  • 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

NVD PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable, low-complexity ACL trigger needing an authenticated writable-share user (PR:L, no UI); confirmed OOB read plus heap corruption supports high availability impact, with C/I High reflecting the potential kernel-code-execution outcome.

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

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
May 12, 2026 - 22:22 NVD
8.8 (HIGH) 8.7 (HIGH)
CVE Published
May 12, 2026 - 21:34 nvd
HIGH 8.7

DescriptionCVE.org

Linux ksmbd contains a remote memory corruption vulnerability in the ACL inheritance path that allows remote clients with directory creation permissions to trigger a heap out-of-bounds read and subsequent heap corruption by setting a crafted DACL with a malformed SID containing an inflated num_subauth field. Attackers can exploit this vulnerability by creating a directory, setting the malicious DACL via SMB2_SET_INFO, and creating child entries to cause kernel instability, denial of service, or potentially achieve privilege escalation to kernel code execution.

Executive ViewAI

Why It Matters

CVE-2026-8449 affects Linux systems running the in-kernel SMB server (ksmbd), enabling authenticated remote users with directory-creation rights to corrupt kernel memory through malformed Access Control Lists. Although no public exploit has been identified, successful exploitation could cause denial-of-service or lead to kernel code execution, representing a critical risk to any Linux file server or infrastructure component exposing SMB services.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 61% exploitable
Prevalence
Medium
in-kernel SMB server shipped in modern Linux but not default-enabled
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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
High

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

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

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