# CVE-2026-99291: ksmbd: fix SMB2 CREATE response buffer overflow

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.55% (percentile 40, 2026-11-28)
- **Published:** 2026-11-16T09:59:20.120Z
- **Modified:** 2026-11-19T14:17:30.273Z

## Who should check

- Anyone running Linux \>= 8f1b796ff1135f5660e1889973359331c61b78a0, \< 824a572c0f909ca51fdb7e18e4eee33ca7896c7a; \>= 8f1b796ff1135f5660e1889973359331c61b78a0, \< 713c31a3a225b6239a37ac7fbfb394567f8b3519; bbeefd3e96645ea4951520aea66a010ce87927af; \>= 7.2.6, \< 7.3
- Anyone running Linux 7.3

## 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.

## Affected and fixed versions

- Linux: \>= 8f1b796ff1135f5660e1889973359331c61b78a0, \< 824a572c0f909ca51fdb7e18e4eee33ca7896c7a; \>= 8f1b796ff1135f5660e1889973359331c61b78a0, \< 713c31a3a225b6239a37ac7fbfb394567f8b3519; bbeefd3e96645ea4951520aea66a010ce87927af; \>= 7.2.6, \< 7.3 (cvelist)
- Linux: 7.3 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 7.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99291. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99291.md
Affected: Linux >= 8f1b796ff1135f5660e1889973359331c61b78a0, < 824a572c0f909ca51fdb7e18e4eee33ca7896c7a; >= 8f1b796ff1135f5660e1889973359331c61b78a0, < 713c31a3a225b6239a37ac7fbfb394567f8b3519; bbeefd3e96645ea4951520aea66a010ce87927af; >= 7.2.6, < 7.3; Linux 7.3
Fixed in: Linux 824a572c0f909ca51fdb7e18e4eee33ca7896c7a, Linux 713c31a3a225b6239a37ac7fbfb394567f8b3519, Linux 7.3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99291 being exploited?

There is no confirmed exploitation: CVE-2026-99291 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99291?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-99291?

Linux \>= 8f1b796ff1135f5660e1889973359331c61b78a0, \< 824a572c0f909ca51fdb7e18e4eee33ca7896c7a; \>= 8f1b796ff1135f5660e1889973359331c61b78a0, \< 713c31a3a225b6239a37ac7fbfb394567f8b3519; bbeefd3e96645ea4951520aea66a010ce87927af; \>= 7.2.6, \< 7.3; Linux 7.3.

### Is there a fix for CVE-2026-99291?

Yes. Fixed in Linux 824a572c0f909ca51fdb7e18e4eee33ca7896c7a, Linux 713c31a3a225b6239a37ac7fbfb394567f8b3519, Linux 7.3. Upgrade Linux to 7.3 or later.

### How do I check if I'm affected by CVE-2026-99291?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/824a572c0f909ca51fdb7e18e4eee33ca7896c7a>
- other: <https://git.kernel.org/stable/c/713c31a3a225b6239a37ac7fbfb394567f8b3519>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99291>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99291> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99291>
