ksmbd: validate minimum PDU size for transform requests (Linux Linux)

CVE-2026-68431
CRITICAL 9.1

At a glance

Source
NVD
EPSS
EPSS 0.37 % · percentile 31 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected df3a4518aee64f21bcafa891105b468413f27431 < 22f1aa35b87e471cc31b35b74451f46630863b12 ; affected 543c12c2644e772caa6880662c2a852cfdc5a10c < 928dda88d0e13fbca381255028f65b244343a4ea ; affected 368ba06881c395f1c9a7ba22203cf8d78b4addc0 < d8e5c5672724b8f3c4c099d2cf60239c996e5424 ; affected 368ba06881c395f1c9a7ba22203cf8d78b4addc0 < 32e486b70c256d5ef4baa5a2936ade2fea50e8eb ; affected 368ba06881c395f1c9a7ba22203cf8d78b4addc0 < d9e9753dfd43bd27c956578df7804a3c90b80fdc ; affected 368ba06881c395f1c9a7ba22203cf8d78b4addc0 < b62c510f59803f82f9b4c76ead2a56833b2984c7
Linux · Linuxaffected 6.4 ; unaffected 0 < 6.4 ; unaffected 5.15.217 ≤ 5.15.* ; unaffected 6.1.184 ≤ 6.1.* ; unaffected 6.6.153 ≤ 6.6.* ; unaffected 6.12.105 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD