# CVE-2026-99171: ntfs3: free the sbi after a grace period

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-28T10:35:26.598Z
- **Modified:** 2026-10-30T13:21:50.760Z

## Who should check

- Anyone running Linux \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< c39150784a801dbbfaf4fbfa284cb610552a5039; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< 36e6753daf9bb64563dcb5a3bb22f7699d973fa2; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< c8b1a4840467930e01f1a9374d991d7a8a2896c1; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< 7abecef26a9be8f9de70659a3092250461a52072; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< c01b091b06412d3b1b53d8c2925f6de586c8a2fc
- Anyone running Linux 6.2

## Description

In the Linux kernel, the following vulnerability has been resolved:

ntfs3: free the sbi after a grace period

If the "nocase" mount option ntfs3 uses custom hash and dentry compare
functions. Both access ntfs3 superblock private information in rcu
pathwalk. ntfs\_put\_super() and ntfs3\_kill\_sb() drop the info without any
rcu delay. A lookup that's still inside the filesystem when the last
reference to the mount is dropped causes a UAF. With a pathwalk held up
in ntfs\_d\_hash() while the last reference to the mount goes away:

  BUG: KASAN: slab-use-after-free in ntfs\_nls\_to\_utf16+0x752/0x940
  Read of size 8 at addr ff1100010453c850 by task walker/99
  Call Trace:
   \<TASK\>
   ntfs\_nls\_to\_utf16+0x752/0x940
   ntfs\_d\_hash+0x22b/0x500
   link\_path\_walk+0x11ad/0x1d30
   path\_lookupat+0x63/0xb00
   filename\_lookup+0x1f1/0x5b0
   vfs\_statx+0xd7/0x3b0
  \[...\]
  Allocated by task 95:
   \_\_kmalloc\_cache\_noprof+0x249/0x560
   ntfs\_init\_fs\_context+0x2db/0x5a0
   alloc\_fs\_context+0x52e/0xc70
  \[...\]
  Freed by task 98:
   kfree+0x1db/0x5b0
   deactivate\_locked\_super+0x9c/0xf0
   cleanup\_mnt+0x9f/0x130
   task\_work\_run+0x131/0x250

The bug is currently masked by the grace period in namespace\_unlock()
for umount(2). Keep the necessary information until the filesystem
private info is freed and free it with an rcu delay.

ntfs3\_free\_sbi() now runs from an rcu callback and drops the upcase
table via ntfs\_put\_shared(). So switch s\_shared\_lock over to
spin\_lock\_bh(). Otherwise the callback can deadlock against a task
holding the lock on the same cpu.

## Affected and fixed versions

- Linux: \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< c39150784a801dbbfaf4fbfa284cb610552a5039; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< 36e6753daf9bb64563dcb5a3bb22f7699d973fa2; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< c8b1a4840467930e01f1a9374d991d7a8a2896c1; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< 7abecef26a9be8f9de70659a3092250461a52072; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< c01b091b06412d3b1b53d8c2925f6de586c8a2fc (cvelist)
- Linux: 6.2 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99171. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99171.md
Affected: Linux >= a3a956c78efaa202b1d75190136671cf6e87bfbe, < c39150784a801dbbfaf4fbfa284cb610552a5039; >= a3a956c78efaa202b1d75190136671cf6e87bfbe, < 36e6753daf9bb64563dcb5a3bb22f7699d973fa2; >= a3a956c78efaa202b1d75190136671cf6e87bfbe, < c8b1a4840467930e01f1a9374d991d7a8a2896c1; >= a3a956c78efaa202b1d7519…
Fixed in: Linux 36e6753daf9bb64563dcb5a3bb22f7699d973fa2, Linux 7abecef26a9be8f9de70659a3092250461a52072

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.
```

## FAQ

### Is CVE-2026-99171 being exploited?

There is no confirmed exploitation: CVE-2026-99171 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-26).

### How serious is CVE-2026-99171?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99171?

Linux \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< c39150784a801dbbfaf4fbfa284cb610552a5039; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< 36e6753daf9bb64563dcb5a3bb22f7699d973fa2; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< c8b1a4840467930e01f1a9374d991d7a8a2896c1; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< 7abecef26a9be8f9de70659a3092250461a52072; \>= a3a956c78efaa202b1d75190136671cf6e87bfbe, \< c01b091b06412d3b1b53d8c2925f6de586c8a2fc; Linux 6.2.

### Is there a fix for CVE-2026-99171?

Yes. Fixed in Linux 36e6753daf9bb64563dcb5a3bb22f7699d973fa2, Linux 7abecef26a9be8f9de70659a3092250461a52072. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-99171?

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.

## References

- other: <https://git.kernel.org/stable/c/c39150784a801dbbfaf4fbfa284cb610552a5039>
- other: <https://git.kernel.org/stable/c/36e6753daf9bb64563dcb5a3bb22f7699d973fa2>
- other: <https://git.kernel.org/stable/c/c8b1a4840467930e01f1a9374d991d7a8a2896c1>
- other: <https://git.kernel.org/stable/c/7abecef26a9be8f9de70659a3092250461a52072>
- other: <https://git.kernel.org/stable/c/c01b091b06412d3b1b53d8c2925f6de586c8a2fc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99171>

HTML: <https://flawdb.com/CVE-2026-99171> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99171>
