Skip to main content

Linux Kernel ksmbd CVE-2026-63909

| EUVDEUVD-2026-45682 HIGH
Out-of-bounds Read (CWE-125)
2026-07-19 Linux GHSA-77x3-ghg7-w5wj
8.1
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 share over SMB3
  2. Delivery
    Craft SMB2_CREATE with truncated DACL
  3. Exploit
    Trigger dead bounds check in smb_check_perm_dacl()
  4. Execution
    Loop reads ace->size past pntsd buffer
  5. Impact
    Leak adjacent heap bytes or crash server

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 that the target run ksmbd (the in-kernel SMB server) with it loaded and actively exporting at least one share, on a kernel that carries the regression commit d07b26f39246 but not the fix. The attacker must hold valid credentials for an SMB session (CVSS PR:L confirms authentication is required) and be able to send an SMB2_CREATE request with a maliciously crafted security descriptor whose DACL ACE region is only 0-3 bytes so the loop reads ace->size out of bounds. Limiting factors: ksmbd is an optional, non-default feature that most Linux deployments do not enable (userspace Samba is the common choice); network exposure of TCP/445; and the need for authenticated share access rather than anonymous reach. Systems not running ksmbd are entirely unaffected regardless of kernel version.

Impact

Signals are mixed and point to a real but modest, targeted risk rather than a mass-exploitation threat. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H = 8.1) implies network reach, low complexity, and only low privileges, but the C:H/A:H impact rating appears aggressive for what the description characterizes as a bounded 2-byte OOB read - such a small over-read typically yields limited information disclosure and only occasional crashes, not high-confidence data theft or reliable denial of service, so the true impact is likely lower than 'High/High'. EPSS is low (0.21%, percentile 12), there is no CISA KEV listing, and no POC is referenced, which is consistent across signals: this is not currently weaponized. No SSVC decision data was provided. The most important limiting factor is exposure: ksmbd must be compiled, loaded, and actively serving shares, and the attacker needs valid credentials to reach SMB2_CREATE - a far smaller attack surface than the 'AV:N' rating alone suggests. Net: patch on a normal cadence; it is not an emergency for most fleets, and only systems actually running ksmbd are affected.

Exploit ScenarioDerived

An attacker with valid credentials to a ksmbd-hosted share connects over SMB3 and issues an SMB2_CREATE request carrying a crafted security descriptor whose DACL is truncated to fewer than 4 bytes, so the ACE-walk loop reads the size field past the end of the pntsd heap buffer. The resulting 2-byte over-read can leak adjacent kernel heap contents in server responses/behavior or corrupt parsing state, and may crash the server. No public exploit is identified at time of analysis, and low complexity (AC:L) makes the condition reliably reachable once a session is established.

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 20, 2026

Heap out-of-bounds read in the Linux kernel's ksmbd in-kernel SMB3 server allows an authenticated remote user to read 2 bytes past the pntsd allocation during SMB2_CREATE handling, potentially leaking adjacent heap memory or crashing the kernel. The flaw is a regression: commit d07b26f39246 introduced a transposed bounds check in smb_check_perm_dacl() that always evaluates false, turning the ACE-size guard into dead code and re-opening a previously fixed OOB. No public exploit identified at time of analysis, and EPSS risk is low (0.21%, 12th percentile); it is not on CISA KEV.

RemediationAI

Vendor-released patch: update to the fixed stable release for your branch - 6.6.143, 6.12.93, 6.18.35, or 7.0.12 (or later) - which properly transposes the bounds check to require a 16-byte minimum, matching smb_inherit_dacl(). The corresponding upstream fix commits are published at git.kernel.org/stable (e.g. https://git.kernel.org/stable/c/0e60dafe97eca61721f3db456f97d97a80c6c8ae, https://git.kernel.org/stable/c/f6324b4240cf0b26a84c33f68a1222d727ff4af2, https://git.kernel.org/stable/c/5500ba1d410aed1eded3eb04a76b10cfb4409334, https://git.kernel.org/stable/c/0fe08c5776a798f46df1fd74b331be26bdd644d6). If you cannot patch immediately, the highest-impact compensating control is to disable the ksmbd service and unload the module (modprobe -r ksmbd) where the in-kernel SMB server is not required, falling back to userspace Samba if file sharing is still needed - the trade-off is loss of ksmbd's performance benefits. Alternatively, restrict SMB access by firewalling TCP/445 to trusted management networks and tightening share authentication so only trusted, authenticated users can issue SMB2_CREATE requests; the side effect is reduced accessibility for legitimate remote clients.

Affected VersionsENISA

Linux 90089584b2e25c4510b7b987387b4405f0673ece <94215d55b09445993929f4fc966061d61de74929
Linux 6.6.140 <6.6.143
Linux f20adc4ef7428bc485ee83fd1a592252fb87718b <f6324b4240cf0b26a84c33f68a1222d727ff4af2
Linux 282cbbb476b9f35793452bc461934af4c7eca169 <5500ba1d410aed1eded3eb04a76b10cfb4409334
Linux 325d4ac11f526cb8964cff14548ccf02d8c756d8 <0fe08c5776a798f46df1fd74b331be26bdd644d6
Linux 6.12.84 <6.12.93
Linux d07b26f39246a82399661936dd0c853983cfade7 <0e60dafe97eca61721f3db456f97d97a80c6c8ae
Linux 7.0.2 <7.0.12
Linux 151b1799861fde38087c08f613abc2843ef597b0 <4f7c131d2bdd7cd64b96f60d10be5ea72253f520
Linux 6.18.25 <6.18.35
Linux 95e5aa3c3261da8c95b27d7aecf8ee39b9f86a4c <d333af32e4451285e427f2d9c29de3a39f6f6d48

Affected Packages

euvd linux fix: 6.6.143, 6.12.93, 6.18.35, 7.0.12

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 vulnerability lives in ksmbd, the Linux kernel's native SMB/CIFS file server (an in-kernel alternative to userspace Samba), specifically in ACL processing within smb_check_perm_dacl(). When parsing a security descriptor's discretionary ACL (DACL), the ACE-walk loop reads each ACE's size field (at offset 2 of struct smb_ace) to advance. The intended guard offsetof(struct smb_ace, sid) + aces_size < CIFS_SID_BASE_SIZE was written transposed: since offsetof(..sid)=8 and CIFS_SID_BASE_SIZE=8, it reduces to aces_size < 0, which is never true for the unsigned/non-negative aces_size, so the loop never breaks early. The prior 4-byte minimum guard was also removed, so the loop dereferences ace->size even when only 0-3 bytes remain, reading past the pntsd (packed NT security descriptor) heap buffer. This is a classic CWE-125 Out-of-bounds Read (the input lists CWE as N/A but tags it 'Buffer Overflow'); the correct fix mirrors smb_inherit_dacl() by requiring at least 16 bytes (8-byte offset + 8-byte SID base). Affected CPE is cpe:2.3:a:linux:linux, i.e. the mainline/stable kernel.

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.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 5.4 MEDIUM

Authenticated SMB session needed (PR:L) over network (AV:N/AC:L); a bounded 2-byte OOB read gives only limited disclosure (C:L) and occasional crash (A:L), no integrity impact.

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

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
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Jul 20, 2026 - 15:22 NVD
8.1 (HIGH)
Patch available
Jul 19, 2026 - 17:19 EUVD
CVE Published
Jul 19, 2026 - 14:55 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 19, 2026 - 14:55 cve.org
HIGH 8.1

DescriptionCVE.org

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

ksmbd: OOB read regression in smb_check_perm_dacl() ACE-walk loops

Commit d07b26f39246 ("ksmbd: require minimum ACE size in smb_check_perm_dacl()") introduced a transposed bounds check:

if (offsetof(struct smb_ace, sid) + aces_size < CIFS_SID_BASE_SIZE)

Since offsetof(..sid) is 8 and CIFS_SID_BASE_SIZE is 8, this evaluates to aces_size < 0. Because aces_size is always non-negative, this check becomes dead code and never breaks the loop.

Worse, that commit removed the old 4-byte guard, meaning the loop now reads ace->size (offset 2) even when aces_size is 0-3 bytes. This re-opens a 2-byte heap out-of-bounds (OOB) read past the pntsd allocation during subsequent SMB2_CREATE operations.

Fix this by properly transposing the comparison to require at least 16 bytes (8-byte offset + 8-byte SID base), matching the correct form used in smb_inherit_dacl().

Executive ViewAI

Why It Matters

Linux systems running ksmbd face a potential memory-leak and availability risk from CVE-2026-63909, which requires valid credentials to exploit. Although current real-world risk is low (EPSS 0.2%, no public exploits), organizations should patch promptly to prevent unauthorized access to sensitive kernel data and service disruptions.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
in-kernel ksmbd rarely enabled; most Linux hosts use userspace Samba
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

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

Attack Technique

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.

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