Skip to content
DayZeroHub
High Not yet writtenCVSS 8.1CVE-2026-99380

CVE-2026-99380: smb: client: validate NT transaction response layout and offsets

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99380: high-severity vulnerability (CVSS 8.1) in Linux Linux.

What happened

Original description from the source: In the Linux kernel, the following vulnerability has been resolved: smb: client: validate NT transaction response layout and offsets validate_ntransact() assumes that the response uses the fixed 18-word NT transaction layout. A different WordCount makes get_bcc() locate the byte count at a different offset from pSMBr->ByteCount, allowing the subsequent bounds checks to use inconsistent response boundaries. The function also turns the 32-bit ParameterOffset and DataOffset fields into pointers before checking their bounds. On a 32-bit client, a large offset can wrap the pointer below end_of_smb and pass the one-sided pointer comparison. The caller then dereferences the parameter pointer or copies from the data pointer. Require the expected WordCount before reading the byte count. Check each offset and count against the received SMB length as integers before forming either pointer. Use subtraction after validating the offset so that the range checks cannot overflow.

Why it matters

High severity, CVSS 8.1.

Affected products and versions

Linux Linux >= 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c, < 520b48753e3c54172a078e7e4b82aec83ae2e08d; Linux Linux >= 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c, < d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052; Linux Linux >= 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c, < 83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7; Linux Linux 2.6.16; Linux Linux < 2.6.16; Linux Linux 6.18.61 (fixed in 6.18.61); Linux Linux 7.3.2 (fixed in 7.3.2); Linux Linux 7.4-rc1 (fixed in 7.4-rc1)

ProductVersionsFixed in
Linux Linux>= 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c, < 520b48753e3c54172a078e7e4b82aec83ae2e08d—
Linux Linux>= 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c, < d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052—
Linux Linux>= 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c, < 83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7—
Linux Linux2.6.16—
Linux Linux< 2.6.16—
Linux Linux6.18.616.18.61
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Action recommended by the source

Upgrade to a fixed version: 6.18.61, 7.3.2, 7.4-rc1.

Fixed in: 6.18.61, 7.3.2, 7.4-rc1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.