What’s Vulnerable › Vulnerabilities
CVE-2024-42299: fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-17 · updated 2026-08-04
Description
In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed If an NTFS file system is mounted to another system with different PAGE_SIZE from the original system, log->page_size will change in log_replay(), but log->page_{mask,bits} don't change correspondingly. This will cause a panic because "u32 bytes = log->page_size - page_off" will get a negative value in the later read_log_page().
Affected products
- Linux kernel: from 5.15 before 5.15.165; from 5.16 before 6.1.103; from 6.2 before 6.6.44; from 6.7 before 6.10.3 — fixed in 5.15.165, 6.1.103, 6.10.3, 6.6.44
How to fix
Upgrade to a fixed version: Linux kernel 5.15.165, 6.1.103, 6.10.3, 6.6.44. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0484adcb5fbcadd9ba0fd4485c42630f72e97da9
- https://git.kernel.org/stable/c/0a4ae2644e2a3b3b219aad9639fb2b0691d08420
- https://git.kernel.org/stable/c/2cac0df3324b5e287d8020bc0708f7d2dec88a6f
- https://git.kernel.org/stable/c/2fef55d8f78383c8e6d6d4c014b9597375132696
- https://git.kernel.org/stable/c/b90ceffdc975502bc085ce8e79c6adeff05f9521
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Get alerted when CVE-2024-42299 or the next vulnerability affects your stack