CVE-2026-99380

Source
https://cve.org/CVERecord?id=CVE-2026-99380
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99380.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99380
Downstream
Published
2026-11-19T14:23:20Z
Modified
2026-11-19T17:00:42Z
Summary
smb: client: validate NT transaction response layout and offsets
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99380.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c
Fixed
520b48753e3c54172a078e7e4b82aec83ae2e08d
Fixed
d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052
Fixed
83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99380.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.16
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99380.json"