CVE-2026-80868: ntfs3: Allocate iomap inline_data using alloc_page
In the Linux kernel, the following vulnerability has been resolved:
ntfs3: Allocate iomap inlinedata using allocpage
This fixes a BUG reported in iomapwriteendinline: iomapinlinedatavalid checks that the inlinedata fits within a page. If the inlinedata is allocated with kmemdup there's no guarantee that it's page-aligned, so the check sometimes fails. Allocate it with allocpage to ensure it's page-aligned.
Affected Software
Event History
Frequently Asked Questions
What filesystem activity is associated with the failure?
The reported BUG occurs in iomap_write_end_inline when ntfs3 handles inline data. The failure is intermittent because kmemdup does not guarantee that the inline-data allocation is page-aligned.
What change resolves the alignment issue?
Inline data used by iomap should be allocated with alloc_page rather than kmemdup. This ensures page alignment so iomap_inline_data_valid can validate that the data fits within a page.