# CVE-2026-68431: ksmbd: validate minimum PDU size for transform requests

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 36% of CVEs (2026-11-30)
- Published: 2026-08-12T00:07:17.216Z
- Modified: 2026-08-23T13:16:36.823Z
- Assigned by: Linux

## Description

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

ksmbd: validate minimum PDU size for transform requests

The receive path applies the minimum SMB2 PDU size check only when
ProtocolId is SMB2_PROTO_NUMBER. A packet carrying
SMB2_TRANSFORM_PROTO_NUM bypasses the check even when the negotiated
dialect does not provide transform handling.

On an SMB 2.1 connection, a short transform packet therefore reaches
init_smb2_rsp_hdr(), which interprets the request as a full SMB2 header
and reads beyond the request allocation. The copied fields can then be
returned to the unauthenticated client.

Compression transforms are converted to ordinary SMB2 messages before
protocol validation. After that conversion, validate ordinary SMB2
requests against SMB2_MIN_SUPPORTED_PDU_SIZE and require encryption
transform requests to contain both a transform header and an SMB2
header. This rejects truncated requests before work allocation.

(As written by CVE List.)

## Affected

- Linux Linux: from df3a4518aee64f21bcafa891105b468413f27431 before 22f1aa35b87e471cc31b35b74451f46630863b12; from 543c12c2644e772caa6880662c2a852cfdc5a10c before 928dda88d0e13fbca381255028f65b244343a4ea; from 368ba06881c395f1c9a7ba22203cf8d78b4addc0 before d8e5c5672724b8f3c4c099d2cf60239c996e5424; from 368ba06881c395f1c9a7ba22203cf8d78b4addc0 before 32e486b70c256d5ef4baa5a2936ade2fea50e8eb; from 368ba06881c395f1c9a7ba22203cf8d78b4addc0 before d9e9753dfd43bd27c956578df7804a3c90b80fdc; from 368ba06881c395f1c9a7ba22203cf8d78b4addc0 before b62c510f59803f82f9b4c76ead2a56833b2984c7; from 368ba06881c395f1c9a7ba22203cf8d78b4addc0 before cfc0b8e5080aec87700774e8568765eaa4b7b92b; e9cb7be2fcbaee9e808b729e92948d38d52e5add; from 5.15.145 before 5.15.217; from 6.1.34 before 6.1.184; from 6.3.8 before 6.4; 6.4 (not affected: before 6.4; from 5.15.217 up to 5.15.*; from 6.1.184 up to 6.1.*; from 6.6.153 up to 6.6.*; from 6.12.105 up to 6.12.*; from 6.18.46 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/22f1aa35b87e471cc31b35b74451f46630863b12>
- <https://git.kernel.org/stable/c/928dda88d0e13fbca381255028f65b244343a4ea>
- <https://git.kernel.org/stable/c/d8e5c5672724b8f3c4c099d2cf60239c996e5424>
- <https://git.kernel.org/stable/c/32e486b70c256d5ef4baa5a2936ade2fea50e8eb>
- <https://git.kernel.org/stable/c/d9e9753dfd43bd27c956578df7804a3c90b80fdc>
- <https://git.kernel.org/stable/c/b62c510f59803f82f9b4c76ead2a56833b2984c7>
- <https://git.kernel.org/stable/c/cfc0b8e5080aec87700774e8568765eaa4b7b92b>

## Sources

- CVE List: [CVE-2026-68431](https://www.cve.org/CVERecord?id=CVE-2026-68431), CVE Terms of Use, modified 2026-08-23
- NVD: [CVE-2026-68431](https://nvd.nist.gov/vuln/detail/CVE-2026-68431), Public domain, modified 2026-08-23

---

Page: https://cve.day/CVE-2026-68431 · Whole record: https://cve.day/CVE-2026-68431.json · Rebuilt by cve.day 2026-11-25T22:59:32.528Z
