Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139266

ntfs: fix FITRIM bitmap indexing for large pages

Published 30/11/2026 · Updated 30/11/2026 · Linux

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 and versions

Linux Linux11ccc9107dc460de28af90fac1f42404d9802735 – < 8deccf95dfd9b197eb60190e7095bb7d281b5b5a · 11ccc9107dc460de28af90fac1f42404d9802735 – < 055a8d19788f16d27f07e6ac40155460e3d227b3Fixed in: 8deccf95dfd9b197eb60190e7095bb7d281b5b5a · 055a8d19788f16d27f07e6ac40155460e3d227b3
Linux Linux7.1Fixed in: 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.