Description
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix FITRIM bitmap indexing for large pages The LCN bitmap has one bit per cluster, so a bitmap page represents PAGE_SIZE * 8 clusters. ntfs_trim_fs() still used a 15-bit shift when selecting the page. On arm64 with 16 KiB pages this selects the wrong bitmap page and can test or discard the wrong clusters. Compute bitmap indices from buf_clusters, use the page cluster base as the bit-search origin, and keep the requested range as the clipping boundary.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
11ccc9107dc460de28af90fac1f42404d9802735 to < 8deccf95dfd9b197eb60190e7095bb7d281b5b5aaffected11ccc9107dc460de28af90fac1f42404d9802735 to < 055a8d19788f16d27f07e6ac40155460e3d227b3affected
Linux Linux
Default version status: affected
7.1affected0 to < 7.1unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected