CVE-2026-99380
published high CVSS 3.1 · 8.1smb: client: validate NT transaction response layout and offsets
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c to < 520b48753e3c54172a078e7e4b82aec83ae2e08d · 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c to < d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052 · 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c to < 83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.16 (affected) · 0 to < 2.6.16 (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3538 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-3538 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-3538 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-3538 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:N - The attacker-controlled bytes are the SMB1 NT Transact response (SMB_COM_NT_TRANSACT / NT_TRANSACT_QUERY_SECURITY_DESC): WordCount, ParameterOffset, DataOffset, ParameterCount and DataCount. CIFSSMBGetCIFSACL() receives that PDU on the client TCP session through SendReceive2() and passes rsp_iov to validate_ntransact(). AC:L - Once a vers=1.0 session exists, the server fills those NT Transact response fields on every QUERY_SECURITY_DESC reply. The 32-bit pointer wrap in validate_ntransact() and a WordCount other than 18 are produced entirely by that reply; there is no race and no hardware state the server cannot set. PR:N - The attacker is the SMB1 server on the TCP session the client already opened. CIFSSMBGetCIFSACL() parses the NT Transact response with no capability check on the client; the server does not need an account on the victim. UI:R - smb1_operations.get_acl is installed only for an explicit vers=1.0 mount, and CIFSSMBGetCIFSACL() runs only when the client sends NT_TRANSACT_QUERY_SECURITY_DESC. That send comes from cifs_xattr_get() (system.cifs_acl / cifs_ntsd) or from cifs_acl_to_fattr() when the mount has cifsacl or modefromsid. The server cannot push this response unsolicited. S:U - validate_ntransact() and the kmemdup() in CIFSSMBGetCIFSACL() run in the client kernel that mounted the share. A bad pointer discloses or oopses that same kernel. C:H - On a 32-bit client, validate_ntransact() forms pdata as the SMB base plus the 32-bit DataOffset before the greater-than check against end_of_smb, so a large offset wraps below end_of_smb and is accepted. CIFSSMBGetCIFSACL() then kmemdup()s that range, up to bcc-4 bytes (about 16KB at the default CIFSMaxBufSize), and cifs_xattr_get() copies it to the getxattr caller. I:N - CIFSSMBGetCIFSACL() only reads through the parsed pointers: le32_to_cpu(*parm) and kmemdup(pdata, *pbuflen) into a freshly allocated buffer. No store uses ParameterOffset or DataOffset as a destination. A:H - If the wrapped parm or data pointer is unmapped, the *parm load or the kmemdup() in CIFSSMBGetCIFSACL() faults and oopses the process that issued the ACL query (getxattr or cifs_acl_to_fattr).
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c to < 520b48753e3c54172a078e7e4b82aec83ae2e08d (affected · git)0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c to < d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052 (affected · git)0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c to < 83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.16 (affected)0 to < 2.6.16 (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
smb: client: validate NT transaction response layout and offsets
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1af1881a8052dc2c78a67dbd924064b63b5d607311a380aa306ebe902ddd2f23
- Ingested
- 23 Nov 2026, 14:35:29 UTC
- Source record
- Official CVE record