CVE-2026-99385
News and reports on Orbitaley
In the Linux kernel, the following vulnerability has been resolved:
smb: client: fix buffer overflow in SMB2_tcon()
In SMB2_tcon(), unc_path is allocated with a fixed buffer size of MAX_SHARENAME_LENGTH * 2 bytes (672 bytes). However, the user-controlled UNC path (tree) length is passed to cifs_strtoUTF16(), which assumes the destination buffer is large enough and writes strlen(tree) + 1 UTF-16 code units.
Commit 62a1a439e0fd ("cifs: clean up handling of unc= option") removed the length check on UNC mount options, allowing mount paths to exceed MAX_SHARENAME_LENGTH while retaining the fixed-size buffer allocation in SMB2_tcon().
Read full descriptionShow less
Consequently, an oversized UNC string causes cifs_strtoUTF16() to write past the end of the heap object, resulting in a slab-out-of-bounds write. Furthermore, if a tree exceeds MAX_TREE_SIZE characters, strscpy() truncates it in cifs_tcon::tree_name, causing subsequent reconnects or failovers to fail.
Fix this by first verifying that the length of tree does not exceed MAX_TREE_SIZE, returning -EINVAL if it does. Then, dynamically allocate unc_path based on the length of tree so that it safely accommodates all UTF-16 code units for paths within MAX_TREE_SIZE.
[pc: remove unused MAX_SHARENAME_LENGTH]
Timeline
Built from our own data: NVD, CISA KEV and other exploitation catalogues, FIRST EPSS, public exploits, specialised media and Orbitaley coverage.
- CVE record published in NVD
- Alert: Linux kernel fixes 22 serious vulnerabilities, 12 of them critical, mostly in NFS and SMB
- Record last modified in NVD
ATT&CK techniques
How this vulnerability is exploited and what the attacker gains, in MITRE ATT&CK terms.
- Exploitation
T1190Exploit Public-Facing Applicationinitial access85 %
Vector AV:N/PR:N/UI:N; desbordamiento de heap en SMB2_tcon al escribir UNC sin límite, con fallos de reconexión y failover descritos.
Inferred by our analysis agent from the official description, CVSS vector and CWE, and checked by a supervisor. May contain errors.
ATT&CK mitigations that cover these techniques
Affected technologies (1)
⚠ AI-inferred from the description — NVD hasn't analyzed this CVE yet, these aren't verified CPEs.
NVD record
- NVD status
- Received
- Published
- Nov 19, 2026
- Last modified
- Nov 23, 2026
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- Patchgit.kernel.org/stable/c/0149377b312eeb136119223a7c05d55c4b24c76d
- Patchgit.kernel.org/stable/c/73cc469b0ff7551f8537ea919709973e6dc4f514
- Patchgit.kernel.org/stable/c/75fd4c72aa3dcfabb318144636f416be6796d423
- Patchgit.kernel.org/stable/c/85692a261042bab56fdfd51e10630f09ef5a5082
- Patchgit.kernel.org/stable/c/a4e022f375a04cadca3f799f6157877961be5829
- Patchgit.kernel.org/stable/c/acf25a7be39dccdbf60fdf3d437dd7832fa4b6d3
Show 2 more referencesShow fewer
Raw JSON (NVD)
Show
{
"id": "CVE-2026-99385",
"cveTags": [],
"metrics": {
"cvssMetricV31": [
{
"type": "Secondary",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 9.8,
"attackVector": "NETWORK",
"baseSeverity": "CRITICAL",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 3.9
}
]
},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "62a1a439e0fdd4ec8a80dc00fcbb9f26b5c34de1",
"lessThan": "a4e022f375a04cadca3f799f6157877961be5829",
"versionType": "git"
},
{
"status": "affected",
"version": "62a1a439e0fdd4ec8a80dc00fcbb9f26b5c34de1",
"lessThan": "e17fe5c8bf3fca4852e497b7061e316d314d7c52",
"versionType": "git"
},
{
"status": "affected",
"version": "62a1a439e0fdd4ec8a80dc00fcbb9f26b5c34de1",
"lessThan": "85692a261042bab56fdfd51e10630f09ef5a5082",
"versionType": "git"
},
{
"status": "affected",
"version": "62a1a439e0fdd4ec8a80dc00fcbb9f26b5c34de1",
"lessThan": "0149377b312eeb136119223a7c05d55c4b24c76d",
"versionType": "git"
},
{
"status": "affected",
"version": "62a1a439e0fdd4ec8a80dc00fcbb9f26b5c34de1",
"lessThan": "75fd4c72aa3dcfabb318144636f416be6796d423",
"versionType": "git"
},
{
"status": "affected",
"version": "62a1a439e0fdd4ec8a80dc00fcbb9f26b5c34de1",
"lessThan": "acf25a7be39dccdbf60fdf3d437dd7832fa4b6d3",
"versionType": "git"
},
{
"status": "affected",
"version": "62a1a439e0fdd4ec8a80dc00fcbb9f26b5c34de1",
"lessThan": "d26f7fbca42532c6c79efdceb4bd5198e1849314",
"versionType": "git"
},
{
"status": "affected",
"version": "62a1a439e0fdd4ec8a80dc00fcbb9f26b5c34de1",
"lessThan": "73cc469b0ff7551f8537ea919709973e6dc4f514",
"versionType": "git"
}
],
"programFiles": [
"fs/smb/client/smb2pdu.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.8"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.8",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver",
"lessThanOrEqual": "7.3.*"
},
{
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/smb/client/smb2pdu.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2026-11-19T15:17:50.713",
"references": [
{
"url": "https://git.kernel.org/stable/c/0149377b312eeb136119223a7c05d55c4b24c76d",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/73cc469b0ff7551f8537ea919709973e6dc4f514",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/75fd4c72aa3dcfabb318144636f416be6796d423",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/85692a261042bab56fdfd51e10630f09ef5a5082",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/a4e022f375a04cadca3f799f6157877961be5829",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/acf25a7be39dccdbf60fdf3d437dd7832fa4b6d3",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/d26f7fbca42532c6c79efdceb4bd5198e1849314",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e17fe5c8bf3fca4852e497b7061e316d314d7c52",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Received",
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix buffer overflow in SMB2_tcon()\n\nIn SMB2_tcon(), unc_path is allocated with a fixed buffer size of\nMAX_SHARENAME_LENGTH * 2 bytes (672 bytes). However, the user-controlled\nUNC path (tree) length is passed to cifs_strtoUTF16(), which assumes the\ndestination buffer is large enough and writes strlen(tree) + 1 UTF-16 code\nunits.\n\nCommit 62a1a439e0fd (\"cifs: clean up handling of unc= option\") removed the\nlength check on UNC mount options, allowing mount paths to exceed\nMAX_SHARENAME_LENGTH while retaining the fixed-size buffer allocation in\nSMB2_tcon(). Consequently, an oversized UNC string causes cifs_strtoUTF16()\nto write past the end of the heap object, resulting in a slab-out-of-bounds\nwrite. Furthermore, if a tree exceeds MAX_TREE_SIZE characters, strscpy()\ntruncates it in cifs_tcon::tree_name, causing subsequent reconnects or\nfailovers to fail.\n\nFix this by first verifying that the length of tree does not exceed\nMAX_TREE_SIZE, returning -EINVAL if it does. Then, dynamically allocate\nunc_path based on the length of tree so that it safely accommodates all\nUTF-16 code units for paths within MAX_TREE_SIZE.\n\n[pc: remove unused MAX_SHARENAME_LENGTH]"
}
],
"lastModified": "2026-11-23T08:17:43.107",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}