{"id":"CVE-2024-42299","summary":"fs/ntfs3: Update log-\u003epage_{mask,bits} if log-\u003epage_size changed","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Update log-\u003epage_{mask,bits} if log-\u003epage_size changed\n\nIf an NTFS file system is mounted to another system with different\nPAGE_SIZE from the original system, log-\u003epage_size will change in\nlog_replay(), but log-\u003epage_{mask,bits} don't change correspondingly.\nThis will cause a panic because \"u32 bytes = log-\u003epage_size - page_off\"\nwill get a negative value in the later read_log_page().","modified":"2026-04-02T12:17:56.129895Z","published":"2024-08-17T09:09:06.570Z","related":["MGASA-2024-0309","MGASA-2024-0310"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42299.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0484adcb5fbcadd9ba0fd4485c42630f72e97da9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0a4ae2644e2a3b3b219aad9639fb2b0691d08420"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2cac0df3324b5e287d8020bc0708f7d2dec88a6f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2fef55d8f78383c8e6d6d4c014b9597375132696"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b90ceffdc975502bc085ce8e79c6adeff05f9521"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42299.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42299"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b46acd6a6a627d876898e1c84d3f84902264b445"},{"fixed":"0484adcb5fbcadd9ba0fd4485c42630f72e97da9"},{"fixed":"b90ceffdc975502bc085ce8e79c6adeff05f9521"},{"fixed":"2cac0df3324b5e287d8020bc0708f7d2dec88a6f"},{"fixed":"0a4ae2644e2a3b3b219aad9639fb2b0691d08420"},{"fixed":"2fef55d8f78383c8e6d6d4c014b9597375132696"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42299.json"}}],"schema_version":"1.7.5"}