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

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-11-19T14:23:20.787Z
- Modified: 2026-11-22T11:16:49.377Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c before 520b48753e3c54172a078e7e4b82aec83ae2e08d; from 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c before d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052; from 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c before 83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7; 2.6.16 (not affected: before 2.6.16; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/520b48753e3c54172a078e7e4b82aec83ae2e08d>
- <https://git.kernel.org/stable/c/d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052>
- <https://git.kernel.org/stable/c/83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7>

## Sources

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

---

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