ntfs: validate resident index root values on lookup
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel bfb01dd319b6b4c3e79756de7b75ccf0b9a0a247 and Kernel fcf5bf0e8570798970e3ae8c95d04765ba2c5b97.
In the Linux kernel, the following vulnerability has been resolved: ntfs: validate resident index root values on lookup Resident $INDEX_ROOT values carry index header fields that callers consume after lookup. Some callers already validate parts of the layout before walking entries, but those checks are scattered and do not cover all root header invariants, such as entries_offset alignment and lower bound, index_length, and allocated_size consistency. The resident root resize paths now keep these header fields consistent while the value size changes: ntfs_ir_truncate() lowers index.allocated_size before shrinking the resident value, and ntfs_ir_reparent() grows the resident value before publishing a larger root header. Lookup-time validation can therefore cover these invariants without tripping over the driver's own resize paths. Add $INDEX_ROOT to the minimum resident value size table and validate the resident index header fields before returning the attribute from lookup. Require 8-byte aligned index header fields, a sane entries_offset, an index_length within allocated_size, allocated_size within the resident value, and enough entry space for at least an index entry header. The shared validator already rejects non-resident records for resident-only attribute types, including $INDEX_ROOT.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =7.1, >=0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 <bfb01dd319b6b4c3e79756de7b75ccf0b9a0a247, >=0a8ac0c1fa0b99a5b29002bc7f232ed7eafddef0 <fcf5bf0e8570798970e3ae8c95d04765ba2c5b97 | bfb01dd319b6b4c3e79756de7b75ccf0b9a0a247, fcf5bf0e8570798970e3ae8c95d04765ba2c5b97 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket