Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99291

published high CVSS 3.1 · 8.8

ksmbd: fix SMB2 CREATE response buffer overflow

Published
16 Nov 2026, 09:59:20 UTC
Updated
19 Nov 2026, 13:52:10 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8f1b796ff1135f5660e1889973359331c61b78a0 to < 824a572c0f909ca51fdb7e18e4eee33ca7896c7a · 8f1b796ff1135f5660e1889973359331c61b78a0 to < 713c31a3a225b6239a37ac7fbfb394567f8b3519 · bbeefd3e96645ea4951520aea66a010ce87927af · 7.2.6 to < 7.3 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.3 (affected) · 0 to < 7.3 (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 12 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - A remote SMB client sends SMB2 CREATE over TCP/445. ksmbd_conn_handler_loop() reads that PDU, __handle_ksmbd_work() calls smb2_allocate_rsp_buf() which used a 448-byte buffer for a non-compound SMB2_CREATE_HE, then smb2_open(). The CREATE's AAPL, MxAc, QFid, POSIX, and lease contexts are the attacker-supplied bytes that make create_aapl_rsp_buf() write past that buffer. AC:L - smb2_open() sets aapl_ctxt only if the share has KSMBD_SHARE_FLAG_TIME_MACHINE and the CREATE AAPL cmd is SMB2_CRTCTX_AAPL_SERVER_QUERY; create_aapl_rsp_buf() then always memset()s 128 bytes. One unchained SMB 3.1.1 CREATE carrying a v2 lease (KSMBD_GLOBAL_FLAG_SMB2_LEASES and oplocks default on), MxAc, QFid, and a client-negotiated POSIX context places that memset past the 448-byte buffer. The client builds this request; there is no race. PR:L - create_aapl_rsp_buf() runs only from smb2_open(), and __handle_ksmbd_work() reaches that proc only after smb2_check_user_session() accepts a SMB2_SESSION_VALID SessionId and smb2_get_ksmbd_tcon() resolves a tree connect. CREATE is not on the negotiate/session-setup exemption, so this is an authenticated share user; guest ok and map to guest default off. UI:N - The attacker connects, authenticates, tree-connects, and sends the SMB2 CREATE that smb2_open() turns into the AAPL response. create_aapl_rsp_buf() runs in that request's kworker with no victim mount or other action. S:U - The overflow corrupts kernel heap beside the response buffer from smb2_allocate_rsp_buf(), which is the same host-kernel security authority as ksmbd. C:H - On SMB 3.1.1, a granted v2 lease (create_lease_size 80) plus MxAc, QFid, and the POSIX context puts create_aapl_rsp_buf()'s 128-byte memset at offset 412 of the 448-byte buffer, so 28 bytes land in the next kmalloc-512 object (60 bytes if KSMBD_GLOBAL_FLAG_DURABLE_HANDLE is also set). Zeroing that neighbor, including a freelist pointer, is a heap primitive that can disclose kernel memory. I:H - create_aapl_rsp_buf() memset()s AAPL_RSP_MAX_SIZE (128) bytes at rsp->Buffer plus the earlier CREATE contexts. On SMB 3.1.1 with a v2 lease, MxAc, QFid, and POSIX, that region starts at offset 412 of the 448-byte buffer and zeros 28 bytes of the next kmalloc-512 object, an out-of-bounds write into allocator or object state. A:H - KASAN reports a 128-byte slab-out-of-bounds write in create_aapl_rsp_buf() at offset 332 of the 448-byte CREATE buffer, 12 bytes past the object in that trace. The SMB 3.1.1 layout extends the same memset into the following kmalloc object, which oopses the kworker and can panic the kernel.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8f1b796ff1135f5660e1889973359331c61b78a0 to < 824a572c0f909ca51fdb7e18e4eee33ca7896c7a (affected · git)8f1b796ff1135f5660e1889973359331c61b78a0 to < 713c31a3a225b6239a37ac7fbfb394567f8b3519 (affected · git)bbeefd3e96645ea4951520aea66a010ce87927af (affected · git)7.2.6 to < 7.3 (affected · semver)Default: unaffected Linux · cna
Linux Linux 7.3 (affected)0 to < 7.3 (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

ksmbd: fix SMB2 CREATE response buffer overflow

Provenance

Schema
5.2
Searchable
yes
Content hash
03f3ba779287c160563ef52d1abcfcda16c1b5e5374cb789b87d404483fd2f79
Ingested
19 Nov 2026, 13:56:17 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected