ntfs: don't allow compression on volumes with clusters larger than 4K
- CVE-2026-99724
- GHSA-jhmc-v9q9-j2gv
- EUVD-2026-130840
Description
In the Linux kernel, the following vulnerability has been resolved: ntfs: don't allow compression on volumes with clusters larger than 4K On a volume made with "mkntfs -c 8192", a user can set FILE_ATTR_COMPRESSED on an empty file through system.ntfs_attrib. Writing to the file and reading it back after dropping the page cache then crashes: BUG: KASAN: slab-out-of-bounds in ntfs_read_compressed_block+0xa2c/0x2040 Read of size 8192 at addr ffff88804355a000 by task dd/106 The read path only handles clusters up to 4K. It copies each cluster out of a single page, and a compression block of 16 8K clusters does not fit in the 64K ntfs_compression_buffer. Loading an inode already rejects compressed data on such volumes. Reject the flag change the same way.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 7.1 none stated before 7.1: not affected none stated from 7.3.5 up to 7.3.*: not affected none stated from 7.4-rc2 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.