CVE-2026-99535
ksmbd: prevent share root removal through empty paths
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 019aae488dbc67c97a33db03652e20e2c9e3afa7, < c718c89d0a36275580fd478bc86c23f2d1e6034a; >= 6927ffe7479c72e7ebf885507227266a75f7c97d, < a87ef12487a1cc6232076d709e0470f5f309fc60; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < c73044f67fc01705eb9eb921da55a51f03f83566; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 007eaa56b06fd05c55b86afabab3354ff7c24653; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 2756a41a82d618bf1d8b41d74108311815cb695c; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 1f8945d2eb20a135b4e22e6fe2348a0191be208a; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 9fd1fcbbf84986a7bcf601a2b90540899069d263; ef6cc1c465786b3e4e735d1ab8b616b3e94402df; >= 5.15.145, < 5.15.226; >= 6.1.71, < 6.1.193; …
- Anyone running Linux 6.4
Vulnerability facts
- Affected
- Linux >= 019aae488dbc67c97a33db03652e20e2c9e3afa7, < c718c89d0a36275580fd478bc86c23f2d1e6034a; >= 6927ffe7479c72e7ebf885507227266a75f7c97d, < a87ef12487a1cc6232076d709e0470f5f309fc60; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < c73044f67fc01705eb9eb921da55a51f03f83566; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 007eaa56b06fd05c55b86afabab3354ff7c24653; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 2756a41a82d618bf1d8b41d74108311815cb695c; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 1f8945d2eb20a135b4e22e6fe2348a0191be208a; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 9fd1fcbbf84986a7bcf601a2b90540899069d263; ef6cc1c465786b3e4e735d1ab8b616b3e94402df; >= 5.15.145, < 5.15.226; >= 6.1.71, < 6.1.193; …; Linux 6.4
- Fixed in
- Linux 007eaa56b06fd05c55b86afabab3354ff7c24653, Linux 2756a41a82d618bf1d8b41d74108311815cb695c, Linux 1f8945d2eb20a135b4e22e6fe2348a0191be208a, Linux 9fd1fcbbf84986a7bcf601a2b90540899069d263, Linux 5.15.226, Linux 6.1.193
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-28)
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 019aae488dbc67c97a33db03652e20e2c9e3afa7, < c718c89d0a36275580fd478bc86c23f2d1e6034a; >= 6927ffe7479c72e7ebf885507227266a75f7c97d, < a87ef12487a1cc6232076d709e0470f5f309fc60; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < c73044f67fc01705eb9eb921da55a51f03f83566; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 007eaa56b06fd05c55b86afabab3354ff7c24653; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 2756a41a82d618bf1d8b41d74108311815cb695c; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 1f8945d2eb20a135b4e22e6fe2348a0191be208a; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 9fd1fcbbf84986a7bcf601a2b90540899069d263; ef6cc1c465786b3e4e735d1ab8b616b3e94402df; >= 5.15.145, < 5.15.226; >= 6.1.71, < 6.1.193; … | — | cvelist |
| Linux | 6.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99535. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99535.md Affected: Linux >= 019aae488dbc67c97a33db03652e20e2c9e3afa7, < c718c89d0a36275580fd478bc86c23f2d1e6034a; >= 6927ffe7479c72e7ebf885507227266a75f7c97d, < a87ef12487a1cc6232076d709e0470f5f309fc60; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < c73044f67fc01705eb9eb921da55a51f03f83566; >= 74d7970febf7e9005375aed… Fixed in: Linux 007eaa56b06fd05c55b86afabab3354ff7c24653, Linux 2756a41a82d618bf1d8b41d74108311815cb695c, Linux 1f8945d2eb20a135b4e22e6fe2348a0191be208a, Linux 9fd1fcbbf84986a7bcf601a2b90540899069d263, Linux 5.15.226, Linux 6.1.193 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/c718c89d0a36275580fd478bc86c23f2d1e6034a
- https://git.kernel.org/stable/c/a87ef12487a1cc6232076d709e0470f5f309fc60
- https://git.kernel.org/stable/c/c73044f67fc01705eb9eb921da55a51f03f83566
- https://git.kernel.org/stable/c/007eaa56b06fd05c55b86afabab3354ff7c24653
- https://git.kernel.org/stable/c/2756a41a82d618bf1d8b41d74108311815cb695c
- https://git.kernel.org/stable/c/1f8945d2eb20a135b4e22e6fe2348a0191be208a
- https://git.kernel.org/stable/c/9fd1fcbbf84986a7bcf601a2b90540899069d263
FAQ
Is CVE-2026-99535 being exploited?
There is no confirmed exploitation: CVE-2026-99535 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-99535?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99535?
Linux >= 019aae488dbc67c97a33db03652e20e2c9e3afa7, < c718c89d0a36275580fd478bc86c23f2d1e6034a; >= 6927ffe7479c72e7ebf885507227266a75f7c97d, < a87ef12487a1cc6232076d709e0470f5f309fc60; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < c73044f67fc01705eb9eb921da55a51f03f83566; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 007eaa56b06fd05c55b86afabab3354ff7c24653; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 2756a41a82d618bf1d8b41d74108311815cb695c; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 1f8945d2eb20a135b4e22e6fe2348a0191be208a; >= 74d7970febf7e9005375aeda0df821d2edffc9f7, < 9fd1fcbbf84986a7bcf601a2b90540899069d263; ef6cc1c465786b3e4e735d1ab8b616b3e94402df; >= 5.15.145, < 5.15.226; >= 6.1.71, < 6.1.193; …; Linux 6.4.
Is there a fix for CVE-2026-99535?
Yes. Fixed in Linux 007eaa56b06fd05c55b86afabab3354ff7c24653, Linux 2756a41a82d618bf1d8b41d74108311815cb695c, Linux 1f8945d2eb20a135b4e22e6fe2348a0191be208a, Linux 9fd1fcbbf84986a7bcf601a2b90540899069d263, Linux 5.15.226, Linux 6.1.193. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99535?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | EPSS 31% | |
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | EPSS 11% | |
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | EPSS 11% | |
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | EPSS 24% | |
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 | EPSS 3% |