# CVE-2026-99324: ksmbd: fix out-of-bounds read when padding the final compound response

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2026-11-19T14:21:32.348Z
- **Modified:** 2026-11-23T08:17:37.643Z

## Who should check

- Anyone running Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 002e425ef1ff1f6135e08ac866ee807e1f59c7d1; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b663b29e3eb76f4c0923d1408be4c8e33fb54c6c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 79b12c8b00410ca268ef0c9be65df526fcf567f1; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f4d6f211be04c9b018ce4cfb9793ea1f48c150c3; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 3092d8a596efaeccdebe0804bf263e5e6eef39d7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 52bda0cf91b62bf679d67d6a3adc20b0be8ff4f7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 714f27729121d59f103ca4dad7b0c2d1c125cd71
- Anyone running Linux 5.15

## Description

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

ksmbd: fix out-of-bounds read when padding the final compound response

Compound response handling pads the last response of a compound to an
8-byte boundary by growing the final iov and the RFC1002 length.
smb2\_allocate\_rsp\_buf() allocates exactly response\_sz. A command can
fill the response buffer to within 7 bytes of its end, for example a
QUERY\_INFO whose output is bounded only by the space left. The padding
can then run past the allocation, and ksmbd\_tcp\_writev() reads those
bytes when it sends the response.

  BUG: KASAN: slab-out-of-bounds in \_copy\_from\_iter+0x744/0x10e0
  Call Trace:
   \_copy\_from\_iter+0x744/0x10e0
   tcp\_sendmsg\_locked+0x2290/0x3f80
   ksmbd\_tcp\_writev+0x10c7/0x1ab0 \[ksmbd\]

Allocate room for the padding when the request is a compound, as
smb2\_read() and smb2\_read\_pipe() do for their payloads. response\_sz is
unchanged, so commands still fill only up to it, and kvzalloc() zeroes
the padding.

## Affected and fixed versions

- Linux: \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 002e425ef1ff1f6135e08ac866ee807e1f59c7d1; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b663b29e3eb76f4c0923d1408be4c8e33fb54c6c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 79b12c8b00410ca268ef0c9be65df526fcf567f1; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f4d6f211be04c9b018ce4cfb9793ea1f48c150c3; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 3092d8a596efaeccdebe0804bf263e5e6eef39d7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 52bda0cf91b62bf679d67d6a3adc20b0be8ff4f7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 714f27729121d59f103ca4dad7b0c2d1c125cd71 (cvelist)
- Linux: 5.15 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 714f27729121d59f103ca4dad7b0c2d1c125cd71 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-99324. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99324.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 002e425ef1ff1f6135e08ac866ee807e1f59c7d1; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < b663b29e3eb76f4c0923d1408be4c8e33fb54c6c; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 79b12c8b00410ca268ef0c9be65df526fcf567f1; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 002e425ef1ff1f6135e08ac866ee807e1f59c7d1, Linux 79b12c8b00410ca268ef0c9be65df526fcf567f1, Linux 3092d8a596efaeccdebe0804bf263e5e6eef39d7, Linux 52bda0cf91b62bf679d67d6a3adc20b0be8ff4f7, Linux 714f27729121d59f103ca4dad7b0c2d1c125cd71

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-99324 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 002e425ef1ff1f6135e08ac866ee807e1f59c7d1; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< b663b29e3eb76f4c0923d1408be4c8e33fb54c6c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 79b12c8b00410ca268ef0c9be65df526fcf567f1; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< f4d6f211be04c9b018ce4cfb9793ea1f48c150c3; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 3092d8a596efaeccdebe0804bf263e5e6eef39d7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 52bda0cf91b62bf679d67d6a3adc20b0be8ff4f7; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 714f27729121d59f103ca4dad7b0c2d1c125cd71; Linux 5.15.

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

Yes. Fixed in Linux 002e425ef1ff1f6135e08ac866ee807e1f59c7d1, Linux 79b12c8b00410ca268ef0c9be65df526fcf567f1, Linux 3092d8a596efaeccdebe0804bf263e5e6eef39d7, Linux 52bda0cf91b62bf679d67d6a3adc20b0be8ff4f7, Linux 714f27729121d59f103ca4dad7b0c2d1c125cd71. Upgrade Linux to 714f27729121d59f103ca4dad7b0c2d1c125cd71 or later.

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

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/002e425ef1ff1f6135e08ac866ee807e1f59c7d1>
- other: <https://git.kernel.org/stable/c/b663b29e3eb76f4c0923d1408be4c8e33fb54c6c>
- other: <https://git.kernel.org/stable/c/79b12c8b00410ca268ef0c9be65df526fcf567f1>
- other: <https://git.kernel.org/stable/c/f4d6f211be04c9b018ce4cfb9793ea1f48c150c3>
- other: <https://git.kernel.org/stable/c/3092d8a596efaeccdebe0804bf263e5e6eef39d7>
- other: <https://git.kernel.org/stable/c/52bda0cf91b62bf679d67d6a3adc20b0be8ff4f7>
- other: <https://git.kernel.org/stable/c/714f27729121d59f103ca4dad7b0c2d1c125cd71>

## 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-99324>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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