FKIE_CVE-2026-99535
Vulnerability from fkie_nvd - Published: 2026-11-19 15:18 - Updated: 2026-11-23 08:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: prevent share root removal through empty paths
A FileLinkInformation request can supply "/" as the new link name.
smb2_get_name() strips the trailing slash and passes an empty string to
ksmbd_vfs_kern_path_start_removing().
ksmbd_vfs_path_lookup() resolves an empty pathname as the configured share
path, without LOOKUP_BENEATH. With ReplaceIfExists set, smb2_create_link()
can therefore remove the share root from its parent before link creation
fails. An authenticated client with a writable share and DELETE access to
a file can trigger this if the share root is empty and the mapped user
has write and search permission on its parent directory.
Return -EINVAL for empty pathnames when for_remove is set, before
resolving the share path or acquiring removal resources. Ordinary lookups
continue to accept empty pathnames for opening the share root.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/smb/server/vfs.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "c718c89d0a36275580fd478bc86c23f2d1e6034a",
"status": "affected",
"version": "019aae488dbc67c97a33db03652e20e2c9e3afa7",
"versionType": "git"
},
{
"lessThan": "a87ef12487a1cc6232076d709e0470f5f309fc60",
"status": "affected",
"version": "6927ffe7479c72e7ebf885507227266a75f7c97d",
"versionType": "git"
},
{
"lessThan": "c73044f67fc01705eb9eb921da55a51f03f83566",
"status": "affected",
"version": "74d7970febf7e9005375aeda0df821d2edffc9f7",
"versionType": "git"
},
{
"lessThan": "007eaa56b06fd05c55b86afabab3354ff7c24653",
"status": "affected",
"version": "74d7970febf7e9005375aeda0df821d2edffc9f7",
"versionType": "git"
},
{
"lessThan": "2756a41a82d618bf1d8b41d74108311815cb695c",
"status": "affected",
"version": "74d7970febf7e9005375aeda0df821d2edffc9f7",
"versionType": "git"
},
{
"lessThan": "1f8945d2eb20a135b4e22e6fe2348a0191be208a",
"status": "affected",
"version": "74d7970febf7e9005375aeda0df821d2edffc9f7",
"versionType": "git"
},
{
"lessThan": "9fd1fcbbf84986a7bcf601a2b90540899069d263",
"status": "affected",
"version": "74d7970febf7e9005375aeda0df821d2edffc9f7",
"versionType": "git"
},
{
"status": "affected",
"version": "ef6cc1c465786b3e4e735d1ab8b616b3e94402df",
"versionType": "git"
},
{
"lessThan": "5.15.226",
"status": "affected",
"version": "5.15.145",
"versionType": "semver"
},
{
"lessThan": "6.1.193",
"status": "affected",
"version": "6.1.71",
"versionType": "semver"
},
{
"lessThan": "6.4",
"status": "affected",
"version": "6.3.10",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/smb/server/vfs.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.4"
},
{
"lessThan": "6.4",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"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\nksmbd: prevent share root removal through empty paths\n\nA FileLinkInformation request can supply \"/\" as the new link name.\nsmb2_get_name() strips the trailing slash and passes an empty string to\nksmbd_vfs_kern_path_start_removing().\n\nksmbd_vfs_path_lookup() resolves an empty pathname as the configured share\npath, without LOOKUP_BENEATH. With ReplaceIfExists set, smb2_create_link()\ncan therefore remove the share root from its parent before link creation\nfails. An authenticated client with a writable share and DELETE access to\na file can trigger this if the share root is empty and the mapped user\nhas write and search permission on its parent directory.\n\nReturn -EINVAL for empty pathnames when for_remove is set, before\nresolving the share path or acquiring removal resources. Ordinary lookups\ncontinue to accept empty pathnames for opening the share root."
}
],
"id": "CVE-2026-99535",
"lastModified": "2026-11-23T08:17:55.510",
"metrics": {},
"published": "2026-11-19T15:18:09.437",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/007eaa56b06fd05c55b86afabab3354ff7c24653"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/1f8945d2eb20a135b4e22e6fe2348a0191be208a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/2756a41a82d618bf1d8b41d74108311815cb695c"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/9fd1fcbbf84986a7bcf601a2b90540899069d263"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/a87ef12487a1cc6232076d709e0470f5f309fc60"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/c718c89d0a36275580fd478bc86c23f2d1e6034a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/c73044f67fc01705eb9eb921da55a51f03f83566"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
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…