Skip to main content

Linux ksmbd CVE-2026-72382

| EUVDEUVD-2026-59281 HIGH
2026-08-15 Linux GHSA-xrhm-hwvc-w6q3
8.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Obtain low-privilege SMB credentials
  2. Delivery
    Connect to ksmbd SMB3 server on TCP/445
  3. Exploit
    Send SMB2_SET_INFO with undersized DACL field
  4. Install
    Trigger unsigned underflow in parse_dacl()
  5. C2
    Bypass ACE count guard (num_aces passes as 0xffff)
  6. Execute
    Force large kernel heap allocations via kmalloc
  7. Impact
    Kernel heap exhaustion or potential memory corruption

Vulnerability Assessment

Exploitation Conditions

The ksmbd kernel module must be loaded and actively configured as an SMB server - ksmbd is not started by default in most distributions and requires explicit administrator configuration. The attacker must hold valid SMB credentials at minimum privilege (CVSS PR:L), as the vulnerability is reached via an authenticated SMB2_SET_INFO operation targeting security descriptor metadata. Network access to the target system's TCP port 445 is required. The flaw is exclusive to the in-kernel ksmbd implementation present in kernels 5.15 and later; it does not affect user-space Samba deployments. Exploitation is limited to systems where ksmbd is compiled in or loaded as a loadable module, restricting impact to servers intentionally deployed as SMB3 file servers using this subsystem. No non-default configuration beyond running ksmbd is required for the underflow condition itself, but SMB authentication gates access to the vulnerable code path.

Impact

The CVSS 8.8 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) accurately reflects that the vulnerability is network-reachable with low authentication complexity, but the C:H/I:H impact ratings go beyond what the commit description directly confirms - the described effect is large heap allocations (up to 65535 kmalloc objects), which most immediately implies availability impact; arbitrary code execution would additionally require exploitable heap layout control not confirmed in the available data. The EPSS score of 0.22% at the 13th percentile contrasts sharply with the high CVSS score, suggesting no widespread exploitation tooling exists today. Absence from CISA KEV reinforces that exploitation remains theoretical or unreported. Even a mid-sized municipal IT team in radom running ksmbd-enabled Linux file servers should treat this as urgent patching, since the authentication bar is low (any valid SMB session suffices) and the attack path is fully described in the public kernel commit. The primary confirmed risk is kernel resource exhaustion; full RCE exploitation remains unconfirmed and would require additional heap manipulation beyond what the advisory describes.

Exploit ScenarioDerived

An attacker with valid SMB credentials (any low-privilege account) connects to a Linux host running the ksmbd in-kernel SMB server and issues a crafted SMB2_SET_INFO request with InfoType=SMB2_O_INFO_SECURITY, embedding a malformed security descriptor in which the DACL size field is set to a value smaller than sizeof(struct smb_acl). The kernel's unsigned subtraction wraps the computed size to a near-maximum size_t, causing parse_dacl() to treat an ACE count of 0xffff as valid and invoking init_acl_state() twice and kmalloc with up to 65535 object slots, driving significant kernel heap pressure. No public proof-of-concept code has been identified at time of analysis, though the attack primitive and triggering request path are fully documented in the upstream fix commit.

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 – Aug 17, 2026

Integer underflow in the ksmbd in-kernel SMB3 server's DACL parsing logic allows authenticated remote SMB clients to bypass ACE count validation, driving large kernel heap allocations. The flaw exists in parse_dacl(), where subtracting sizeof(struct smb_acl) from an attacker-controlled 16-bit DACL size using unsigned arithmetic wraps to a large size_t when the DACL size is smaller than the header, permitting an ACE count of up to 0xffff to pass the guard unchecked. No public exploit has been identified at time of analysis, and EPSS at 0.22% (13th percentile) indicates minimal current exploitation activity, though upstream kernel patches confirm vendor acknowledgment and the attack path is fully documented in the fix commit.

RemediationAI

The primary fix is to upgrade to a patched Linux kernel: 6.6.145, 6.12.97, 6.18.40, 7.1.5, or 7.2-rc2, as identified in EUVD-2026-59281, with upstream commits available at the git.kernel.org stable repository links in the references. For systems that cannot immediately patch, the most effective compensating control is to disable the ksmbd module entirely using 'modprobe -r ksmbd' and blacklisting it via /etc/modprobe.d/, which eliminates the attack surface at the cost of losing in-kernel SMB3 server functionality - systems still requiring SMB can fall back to user-space Samba. Where ksmbd must remain active, restrict TCP port 445 and TCP port 139 access to trusted network segments via firewall rules, reducing the attacker pool to already-trusted authenticated users; note this does not prevent exploitation by a compromised or malicious SMB account. Minimizing the number of accounts with SMB write access to security descriptors further reduces the viable attacker pool.

Affected VersionsENISA

Linux patch: 0
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <16fb65ec15fe7c90f50a2115854bfd9a032d4023
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <282847c0cf22f2e961155ac8e42f6eeab7e16049
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <60908f7ebcd9b6cde74ad5711fab0f49c7970949
Linux patch: 6.18.40
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <d020e7f27bf65eecd3805404702f716b2b6d9e73
Linux patch: 6.6.145
Linux patch: 6.12.97
Linux patch: 7.1.5
Linux e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <15a9e9b8f7f5d7f380ae54c6f5bcbc0bdcb0f3cd
Linux 5.15
Linux patch: 7.2-rc2

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

The ksmbd module is the Linux kernel's native in-kernel SMB3/CIFS server implementation, introduced in kernel 5.15 (commit e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9). It handles Windows-format security descriptors including Discretionary Access Control Lists (DACLs). The vulnerability in parse_dacl() arises from a classic CWE-191 (Integer Underflow) pattern: the DACL size is a 16-bit field controlled by the SMB client, and the subtraction of sizeof(struct smb_acl) is performed with size_t (unsigned) arithmetic. When the client supplies a DACL size smaller than the ACL header structure, the result wraps to a very large unsigned value rather than producing a negative error. This bypasses the guard that limits the ACE count, allowing init_acl_state() to be called with a count of 0xffff, which then triggers kmalloc allocations proportional to that count. The CPE identifier cpe:2.3:a:linux:linux applies to the affected Linux kernel. No CWE is formally assigned in the advisory, but the root cause is an integer underflow leading to incorrect buffer-size calculation in kernel-space parsing code.

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

Network-reachable via SMB with only low privilege required; C:H/I:H retained as plausible kernel-heap worst-case, though only A:H is directly confirmed.

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 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Red Hat 7.0 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
Aug 17, 2026 - 06:22 NVD
8.8 (HIGH)
Patch available
Aug 15, 2026 - 07:20 EUVD
CVE Published
Aug 15, 2026 - 05:56 cve.org
HIGH 8.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: reject undersized DACLs before parsing ACEs

parse_dacl() limits the attacker-controlled ACE count by comparing it with the number of minimal ACEs that fit in the DACL size. The DACL size field is 16 bits, but the expression subtracts sizeof(struct smb_acl). Because sizeof() is unsigned, a DACL size smaller than the ACL header underflows to a large size_t.

A malicious client can reach this with:

SMB2_SET_INFO (InfoType=SMB2_O_INFO_SECURITY) -> smb2_set_info_sec() -> set_info_sec() -> parse_sec_desc() -> parse_dacl() -> init_acl_state(..., 0xffff) -> init_acl_state(..., 0xffff) -> kmalloc_objs(..., 0xffff)

Thus a malformed security descriptor can make num_aces pass the guard and drive large temporary ACL state and pointer-array allocations.

Reject DACLs smaller than struct smb_acl before doing the subtraction, so the ACE count check cannot be bypassed by the underflow.

Executive ViewAI

Why It Matters

A vulnerability in Linux kernel's ksmbd SMB3 server (CVE-2026-72382, CVSS 8.8) allows authenticated network users to trigger excessive kernel memory allocations, risking denial of service to file-sharing infrastructure; no public exploit has been identified at time of analysis. The risk is most acute for organizations operating Linux-based NAS systems or hybrid file-sharing environments that accept SMB connections from internal networks. Patch availability and low current exploitation activity enable timely remediation to restore and maintain service resilience.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
in-kernel SMB server, only active when explicitly configured
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
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

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: Moderate
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 Not-Affected

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