Bug 2514444 (CVE-2026-68431) - CVE-2026-68431 kernel: ksmbd: validate minimum PDU size for transform requests
Summary: CVE-2026-68431 kernel: ksmbd: validate minimum PDU size for transform requests
Keywords:
Status: NEW
Alias: CVE-2026-68431
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-12 00:21 UTC by OSIDB Bzimport
Modified: 2026-08-13 09:13 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-12 00:21:44 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-08-12 15:35:22 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026081254-CVE-2026-68431-12d7@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.