# CVE-2024-42299: fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-08-17T09:09:06.570Z
- Modified: 2026-08-05T11:36:28.790Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from b46acd6a6a627d876898e1c84d3f84902264b445 before 0484adcb5fbcadd9ba0fd4485c42630f72e97da9; from b46acd6a6a627d876898e1c84d3f84902264b445 before b90ceffdc975502bc085ce8e79c6adeff05f9521; from b46acd6a6a627d876898e1c84d3f84902264b445 before 2cac0df3324b5e287d8020bc0708f7d2dec88a6f; from b46acd6a6a627d876898e1c84d3f84902264b445 before 0a4ae2644e2a3b3b219aad9639fb2b0691d08420; from b46acd6a6a627d876898e1c84d3f84902264b445 before 2fef55d8f78383c8e6d6d4c014b9597375132696; 5.15 (not affected: before 5.15; from 5.15.165 up to 5.15.*; from 6.1.103 up to 6.1.*; from 6.6.44 up to 6.6.*; from 6.10.3 up to 6.10.*; from 6.11 up to *)
- linux 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

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/0484adcb5fbcadd9ba0fd4485c42630f72e97da9> (patch)
- <https://git.kernel.org/stable/c/b90ceffdc975502bc085ce8e79c6adeff05f9521> (patch)
- <https://git.kernel.org/stable/c/2cac0df3324b5e287d8020bc0708f7d2dec88a6f> (patch)
- <https://git.kernel.org/stable/c/0a4ae2644e2a3b3b219aad9639fb2b0691d08420> (patch)
- <https://git.kernel.org/stable/c/2fef55d8f78383c8e6d6d4c014b9597375132696> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-42299](https://www.cve.org/CVERecord?id=CVE-2024-42299), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-42299](https://nvd.nist.gov/vuln/detail/CVE-2024-42299), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-42299 · Whole record: https://cve.day/CVE-2024-42299.json · Rebuilt by cve.day 2026-11-25T22:58:44.474Z
