CVE-2026-99380 (GCVE-0-2026-99380)
Vulnerability from cvelistv5 – Published: 2026-11-19 14:23 – Updated: 2026-11-22 11:07
VLAI
EPSS
VEX
Title
smb: client: validate NT transaction response layout and offsets
Summary
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.
Severity
8.1 (High)
Assigner
References
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c , < 520b48753e3c54172a078e7e4b82aec83ae2e08d
(git)
Affected: 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c , < d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052 (git) Affected: 0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c , < 83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7 (git) |
|
| Linux | Linux |
Affected:
2.6.16
Unaffected: 0 , < 2.6.16 (semver) Unaffected: 6.18.61 , ≤ 6.18.* (semver) Unaffected: 7.3.2 , ≤ 7.3.* (semver) Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/client/cifssmb.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "520b48753e3c54172a078e7e4b82aec83ae2e08d",
"status": "affected",
"version": "0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c",
"versionType": "git"
},
{
"lessThan": "d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052",
"status": "affected",
"version": "0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c",
"versionType": "git"
},
{
"lessThan": "83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7",
"status": "affected",
"version": "0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/client/cifssmb.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.16"
},
{
"lessThan": "2.6.16",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.61",
"versionStartIncluding": "2.6.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.2",
"versionStartIncluding": "2.6.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "2.6.16",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: validate NT transaction response layout and offsets\n\nvalidate_ntransact() assumes that the response uses the fixed 18-word NT\ntransaction layout. A different WordCount makes get_bcc() locate the byte\ncount at a different offset from pSMBr-\u003eByteCount, allowing the subsequent\nbounds checks to use inconsistent response boundaries.\n\nThe function also turns the 32-bit ParameterOffset and DataOffset fields\ninto pointers before checking their bounds. On a 32-bit client, a large\noffset can wrap the pointer below end_of_smb and pass the one-sided pointer\ncomparison. The caller then dereferences the parameter pointer or copies\nfrom the data pointer.\n\nRequire the expected WordCount before reading the byte count. Check each\noffset and count against the received SMB length as integers before forming\neither pointer. Use subtraction after validating the offset so that the\nrange checks cannot overflow."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 8.1,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "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().\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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)."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-22T11:07:56.743Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/520b48753e3c54172a078e7e4b82aec83ae2e08d"
},
{
"url": "https://git.kernel.org/stable/c/d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052"
},
{
"url": "https://git.kernel.org/stable/c/83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7"
}
],
"title": "smb: client: validate NT transaction response layout and offsets",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99380",
"datePublished": "2026-11-19T14:23:20.787Z",
"dateReserved": "2026-09-25T10:25:14.411Z",
"dateUpdated": "2026-11-22T11:07:56.743Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99380",
"date": "2026-11-22",
"epss": "0.00222",
"percentile": "0.12847"
},
"microsoft_vex": {
"current_release_date": "2026-11-21T01:04:56.000Z",
"cve": "CVE-2026-99380",
"id": "msrc_CVE-2026-99380",
"initial_release_date": "2026-11-21T01:04:56.000Z",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "smb: client: validate NT transaction response layout and offsets",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99380.json",
"version": "1"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/client/cifssmb.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "520b48753e3c54172a078e7e4b82aec83ae2e08d",
"status": "affected",
"version": "0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c",
"versionType": "git"
},
{
"lessThan": "d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052",
"status": "affected",
"version": "0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c",
"versionType": "git"
},
{
"lessThan": "83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7",
"status": "affected",
"version": "0a4b92c05ed02ad7abdd165823eaf4bbcb33ae5c",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/client/cifssmb.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.16"
},
{
"lessThan": "2.6.16",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: validate NT transaction response layout and offsets\n\nvalidate_ntransact() assumes that the response uses the fixed 18-word NT\ntransaction layout. A different WordCount makes get_bcc() locate the byte\ncount at a different offset from pSMBr-\u003eByteCount, allowing the subsequent\nbounds checks to use inconsistent response boundaries.\n\nThe function also turns the 32-bit ParameterOffset and DataOffset fields\ninto pointers before checking their bounds. On a 32-bit client, a large\noffset can wrap the pointer below end_of_smb and pass the one-sided pointer\ncomparison. The caller then dereferences the parameter pointer or copies\nfrom the data pointer.\n\nRequire the expected WordCount before reading the byte count. Check each\noffset and count against the received SMB length as integers before forming\neither pointer. Use subtraction after validating the offset so that the\nrange checks cannot overflow."
}
],
"id": "CVE-2026-99380",
"lastModified": "2026-11-22T11:16:49.377",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 5.2,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
}
]
},
"published": "2026-11-19T15:17:50.050",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/520b48753e3c54172a078e7e4b82aec83ae2e08d"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/83d0d5e0ca22233c75daf139ec0063b9d2ff1ac7"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/d55c0c19b0d1f5c0101f9aa3b60534b6d6e11052"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-22T11:32:39+00:00",
"cve": "CVE-2026-99380",
"id": "CVE-2026-99380",
"initial_release_date": "2026-11-19T14:23:20.787000+00:00",
"product_status:known_affected": "162",
"product_status:known_not_affected": "42",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: Denial of Service via crafted SMB NT transaction response",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99380.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-11-21T00:36:30Z",
"cve": "CVE-2026-99380",
"id": "CVE-2026-99380",
"initial_release_date": "2026-11-21T00:36:30Z",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-99380",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99380.json",
"version": "2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…