# CVE-2026-43245: ntfs: ->d_compare() must not block

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-05-06T11:28:37.602Z
- Modified: 2026-11-11T20:10:00.273Z
- Assigned by: Linux

## Description

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

ntfs: ->d_compare() must not block

... so don't use __getname() there.  Switch it (and ntfs_d_hash(), while
we are at it) to kmalloc(PATH_MAX, GFP_NOWAIT).  Yes, ntfs_d_hash()
almost certainly can do with smaller allocations, but let ntfs folks
deal with that - keep the allocation size as-is for now.

Stop abusing names_cachep in ntfs, period - various uses of that thing
in there have nothing to do with pathnames; just use k[mz]alloc() and
be done with that.  For now let's keep sizes as-in, but AFAICS none of
the users actually want PATH_MAX.

(As written by CVE List.)

## Affected

- Linux Linux: from a3a956c78efaa202b1d75190136671cf6e87bfbe before 02ecc0978c459fd90bb24b2a946dd16d43e68fe5; from a3a956c78efaa202b1d75190136671cf6e87bfbe before 1be7ca86ce1794d966fda5d82181bc978b150fbc; from a3a956c78efaa202b1d75190136671cf6e87bfbe before 142c444a395f4d26055c8a4473e228bb86283f1e; from a3a956c78efaa202b1d75190136671cf6e87bfbe before fb4b1f969ba01fa1d4088467a02fc1e5f0806710; from a3a956c78efaa202b1d75190136671cf6e87bfbe before ca2a04e84af79596e5cd9cfe697d5122ec39c8ce; 6.2 (not affected: before 6.2; from 6.6.141 up to 6.6.*; from 6.12.91 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.2 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/02ecc0978c459fd90bb24b2a946dd16d43e68fe5>
- <https://git.kernel.org/stable/c/1be7ca86ce1794d966fda5d82181bc978b150fbc>
- <https://git.kernel.org/stable/c/142c444a395f4d26055c8a4473e228bb86283f1e> (patch)
- <https://git.kernel.org/stable/c/fb4b1f969ba01fa1d4088467a02fc1e5f0806710> (patch)
- <https://git.kernel.org/stable/c/ca2a04e84af79596e5cd9cfe697d5122ec39c8ce> (patch)

## Sources

- CVE List: [CVE-2026-43245](https://www.cve.org/CVERecord?id=CVE-2026-43245), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-43245](https://nvd.nist.gov/vuln/detail/CVE-2026-43245), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43245 · Whole record: https://cve.day/CVE-2026-43245.json · Rebuilt by cve.day 2026-11-25T22:59:20.748Z
