Skip to main content

Linux ksmbd EUVDEUVD-2026-126197

| CVE-2026-99291 HIGH
2026-11-16 Linux GHSA-phxc-ww8f-9c6w
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 to ksmbd SMB2 share
  2. Exploit
    Send CREATE with AAPL create contexts
  3. Execution
    Overflow 448-byte response buffer in kernel slab
  4. Impact
    Corrupt adjacent kernel memory, enabling crash or code execution

Vulnerability Assessment

Exploitation Conditions

Requires the target to be running the Linux kernel in-kernel SMB server (ksmbd) and actively serving SMB2 - not a default configuration on most systems. The attacker needs an authenticated SMB2 session (consistent with CVSS PR:L) and must send an SMB2 CREATE request that includes AAPL (Apple) create contexts; the overflow occurs specifically in the ~456-byte AAPL response case where create_aapl_rsp_buf() is appended last and writes past the 448-byte small buffer. Limiting factors: exploitation is confined to hosts with ksmbd enabled and reachable, requires valid authentication rather than anonymous access, and depends on the kernel version range after commit 8f1b796ff113 and before the fixes in 7.3.2 / 7.4-rc1. These conditions materially narrow real-world exposure despite the network attack vector.

Impact

Signals point in two directions and should be weighed together rather than read off the raw score. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 8.8) describes a network-reachable, low-complexity kernel heap overflow with high confidentiality/integrity/availability impact and PR:L, i.e. an authenticated attacker. Against that, the exploitation-likelihood signals are modest: EPSS is 0.21% (12th percentile), there is no CISA KEV listing, and the only references are the two kernel.org stable fix commits plus the NVD entry - no public exploit identified at time of analysis. The vuln.today decision label is 'this_week', not act_now/emergency, which is consistent with a real but not actively-exploited kernel memory-corruption bug. The high CVSS is driven by the kernel-context impact and network vector, but real-world exposure is gated by preconditions the CVSS vector does not capture: the in-kernel ksmbd SMB server must be enabled and serving, the attacker needs an authenticated SMB2 session (consistent with PR:L), and the client must send a CREATE with AAPL (Apple) create contexts. Net: treat as a prioritized patch item for hosts actually running ksmbd, but not a drop-everything emergency given low EPSS, no KEV, and no verified exploit code.

Exploit ScenarioDerived

An attacker who can open an authenticated SMB2 session to a Linux host running the in-kernel ksmbd server sends an SMB2 CREATE request containing AAPL create contexts. Because ksmbd allocates only a 448-byte small buffer (444 usable) for the CREATE response, building the AAPL response (which can need ~456 bytes) causes create_aapl_rsp_buf() to write 12 bytes past the allocation and clear 128 bytes out of bounds, corrupting adjacent kernel slab memory - potentially leading to a crash or kernel-context code execution. No public exploit identified at time of analysis; the KASAN report in the advisory demonstrates the overflow but is not weaponized exploit code.

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

An out-of-bounds write in the Linux kernel's in-kernel SMB server (ksmbd) lets a remote attacker holding a valid SMB2 session corrupt kernel slab memory by sending an SMB2 CREATE request that carries AAPL (Apple) create contexts, which KASAN captures as a 128-byte write running past the 448-byte small response buffer. Exposure is confined to kernels built with ksmbd and actively serving SMB2 in the range after commit 8f1b796ff113 (which introduced the larger AAPL response) and before the fixes released in 7.3.2 and 7.4-rc1. The assessed vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H gives a score of 8.8, but EPSS is 0.21% (12th percentile), no public exploit code has been identified at time of analysis, and the issue is not listed in CISA KEV; the priority signal is to remediate this week given the authenticated-but-network-reachable primitive and heap write impact.

RemediationAI

Vendor-released patch: Linux 7.3.2 and 7.4-rc1, delivered through the stable commits 713c31a3a225b6239a37ac7fbfb394567f8b3519 and 824a572c0f909ca51fdb7e18e4eee33ca7896c7a (https://git.kernel.org/stable/c/713c31a3a225b6239a37ac7fbfb394567f8b3519, https://git.kernel.org/stable/c/824a572c0f909ca51fdb7e18e4eee33ca7896c7a); backport those commits where a distribution kernel carries the 8f1b796ff113 AAPL response change without the size fix, and confirm the resulting kernel exposes the per-dialect required allocation size rather than the fixed 448-byte assumption. Where patching must wait, the exposure is confined to hosts actually running ksmbd and reachable over SMB2, so unloading the ksmbd module or stopping and disabling the ksmbd service on systems that do not need in-kernel SMB file sharing removes the attack surface entirely, at the cost of losing that file-sharing service. Restricting TCP 445 and NetBIOS 139 to trusted network segments and known client accounts reduces reachability but does not eliminate the flaw, since the overflow sits behind a valid authenticated SMB2 session (CVSS PR:L) and any permitted client could still deliver the AAPL create contexts. There is no public exploit code identified at time of analysis and no CISA KEV entry, but the fixed versions should still be rolled out on the priority cadence assigned to this CVE rather than deferred.

Affected VersionsENISA

Linux bbeefd3e96645ea4951520aea66a010ce87927af
Linux 7.3
Linux 8f1b796ff1135f5660e1889973359331c61b78a0 <713c31a3a225b6239a37ac7fbfb394567f8b3519
Linux patch: 7.3.2
Linux 7.2.6 <7.3
Linux patch: 0
Linux 8f1b796ff1135f5660e1889973359331c61b78a0 <824a572c0f909ca51fdb7e18e4eee33ca7896c7a
Linux patch: 7.4-rc1

Affected Packages

euvd linux fix: 7.3

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 SMB2/3 server in the Linux kernel, and its CREATE path allocates response buffers through smb2_allocate_rsp_buf(), which reuses the MAX_CIFS_SMALL_BUFFER_SIZE buffer of 448 bytes for a single SMB2_CREATE response. Because that region also carries a 4-byte length field, only 444 bytes remain for the SMB2 body, while the AAPL create-context response introduced by commit 8f1b796ff113 can require at least 456 bytes. In the 456-byte case create_aapl_rsp_buf() is appended last in the response, clears 128 bytes and writes 12 bytes past the allocation, producing the KASAN slab-out-of-bounds report (write of size 128, address located 332 bytes inside an allocated 448-byte region, reached from smb2_open via create_aapl_rsp_buf). No CWE identifier is supplied in the available data, but the observed behavior is a heap (slab) out-of-bounds write in response construction rather than a parsing flaw in the request decoder. The upstream resolution is to reserve space for any fixed CREATE response ksmbd can build and to store the required allocation size in the per-dialect values table, keeping the small buffer for other commands instead of falling back to the maximum transaction buffer for every CREATE. CPE data lists linux:linux with wildcard versions, so version mapping must come from the commit ranges and release branches rather than from CPE version strings; the trigger is confirmed for kernels in the affected commit range, and any additional deployment-specific conditions beyond running ksmbd with SMB2 CREATE and AAPL contexts are not described in the available sources.

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 ksmbd service with an authenticated SMB session (PR:L), low-complexity trigger via AAPL contexts, and a kernel-slab overflow giving high C/I/A impact.

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
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 19, 2026 - 14:22 NVD
8.8 (HIGH)
Patch available
Nov 16, 2026 - 11:19 EUVD
CVE Published
Nov 16, 2026 - 09:59 cve.org
HIGH 8.8
CVE Published
Nov 16, 2026 - 09:59 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

ksmbd: fix SMB2 CREATE response buffer overflow

smb2_allocate_rsp_buf() uses the MAX_CIFS_SMALL_BUFFER_SIZE (448-byte) buffer for a single SMB2_CREATE response. That buffer also holds a 4-byte length field, which only leaves 444 bytes for the SMB2 body.

The AAPL response made this buffer too small. After 8f1b796ff113, a request with AAPL response contexts may need at least 456 bytes. In the 456-byte case, create_aapl_rsp_buf() is appended last, clears 128 bytes, and writes 12 bytes past the allocation.

KASAN reports:

BUG: KASAN: slab-out-of-bounds in create_aapl_rsp_buf+0x31/0x6e0 Write of size 128 at addr ffff88800370954c by task kworker/0:0/9 ... create_aapl_rsp_buf+0x31/0x6e0 smb2_open+0x58f9/0xef10 ... smb2_allocate_rsp_buf+0x19d/0x370 ... The buggy address is located 332 bytes inside of allocated 448-byte region [ffff888003709400, ffff8880037095c0)

Reserve enough space for any fixed CREATE response KSMBD can build. Store the required allocation size in the per-dialect values table. This keeps the small buffer for other commands and avoids using the max transaction buffer for every CREATE.

Executive ViewAI

Why It Matters

A high-severity memory corruption vulnerability in the Linux kernel's SMB server (ksmbd) could allow an authenticated remote user to execute arbitrary code with kernel privileges. This affects organizations running ksmbd on Linux servers, posing a risk of system compromise, data breach, and service disruption; leadership should prioritize remediation this week due to the network-reachable attack vector and heap write impact.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
ksmbd in-kernel SMB server is optional and rarely enabled versus 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
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

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.

Vendor StatusVendor

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