ntfs: fix FITRIM bitmap indexing for large pages
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 11ccc9107dc460de28af90fac1f42404d9802735 to before 8deccf95dfd9b197eb60190e7095bb7d281b5b5a Affected11ccc9107dc460de28af90fac1f42404d9802735 to before 055a8d19788f16d27f07e6ac40155460e3d227b3 Affected |
| Linux Linux | 7.1 Affectedbefore 7.1 Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.