CVE-2026-68431 PUBLISHED

ksmbd: validate minimum PDU size for transform requests

Assigner: Linux
Reserved: 30.07.2026 Published: 12.08.2026 Updated: 12.08.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 368ba06881c395f1c9a7ba22203cf8d78b4addc0 to b62c510f59803f82f9b4c76ead2a56833b2984c7 (excl.)
  • affected from 368ba06881c395f1c9a7ba22203cf8d78b4addc0 to cfc0b8e5080aec87700774e8568765eaa4b7b92b (excl.)
  • Version df3a4518aee64f21bcafa891105b468413f27431 is affected
  • Version 543c12c2644e772caa6880662c2a852cfdc5a10c is affected
  • Version e9cb7be2fcbaee9e808b729e92948d38d52e5add is affected
  • affected from 5.15.145 to 5.16 (excl.)
  • affected from 6.1.34 to 6.2 (excl.)
  • affected from 6.3.8 to 6.4 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.4 is affected
  • unaffected from 0 to 6.4 (excl.)
  • unaffected from 7.1.6 to 7.1.* (incl.)
  • unaffected from 7.2-rc5 to * (incl.)

References