ntfs: ->d_compare() must not block
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fb4b1f969ba01fa1d4088467a02fc1e5f0806710, Kernel 6.18.16, Kernel 142c444a395f4d26055c8a4473e228bb86283f1e and 6 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a3a956c78efaa202b1d75190136671cf6e87bfbe <fb4b1f969ba01fa1d4088467a02fc1e5f0806710, >=6.2 <6.18.16, >=a3a956c78efaa202b1d75190136671cf6e87bfbe <142c444a395f4d26055c8a4473e228bb86283f1e, >=a3a956c78efaa202b1d75190136671cf6e87bfbe <1be7ca86ce1794d966fda5d82181bc978b150fbc, >=a3a956c78efaa202b1d75190136671cf6e87bfbe <ca2a04e84af79596e5cd9cfe697d5122ec39c8ce, >=6.19 <6.19.6, =6.2, >=a3a956c78efaa202b1d75190136671cf6e87bfbe <02ecc0978c459fd90bb24b2a946dd16d43e68fe5 | fb4b1f969ba01fa1d4088467a02fc1e5f0806710, 6.18.16, 142c444a395f4d26055c8a4473e228bb86283f1e, 1be7ca86ce1794d966fda5d82181bc978b150fbc, ca2a04e84af79596e5cd9cfe697d5122ec39c8ce, 6.19.6, 02ecc0978c459fd90bb24b2a946dd16d43e68fe5 |
| linux-kernel: Kernel | >=6.13.0 <6.18.16, >=6.19.0 <6.19.6, >=6.2.0 <6.6.141, >=6.7.0 <6.12.91 | 6.18.16, 6.19.6, 6.6.141, 6.12.91 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket