Read the docs

Out-of-bounds write in Linux kernel ksmbd SMB2 CREATE responses

Priority LOW 22Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA.

Summary

The Linux kernel ksmbd server, from 7.2.6 before 7.3 and from 7.3, allocates a response buffer that is too small for some SMB2 CREATE responses. A request with AAPL response contexts makes the kernel write 12 bytes past the end of a slab allocation, which is an out-of-bounds write.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

EPSS 0.00214 11th percentileScored 2026-11-16
Fix Fixed Linux (Linux): 7.3, 7.3.2, 7.4-rc1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux7.2.6 to before 7.37.3Patch availableCNA
LinuxLinux7.3 and later7.3.2, 7.4-rc1Patch availableCNA
  • Linux VendorLinux Affected 7.2.6 to before 7.3 Fixed in 7.3 Patch available CNA
  • Linux VendorLinux Affected 7.3 and later Fixed in 7.3.2, 7.4-rc1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Update the Linux kernel to 7.3 or later for the 7.2.6 to 7.3 range, and to 7.3.2 or 7.4-rc1 for the 7.3 range.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA Linux (Linux) Fixed in 7.3
  • Fix · CNA Linux (Linux) Fixed in 7.3.2, 7.4-rc1

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-99291
  2. 2026-11-16 Alias added: GHSA-phxc-ww8f-9c6w

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 21768 →

Sources