{"schema_version":"1.9.0","id":"CVE-2024-42299","published":"2024-08-17T09:09:06.570Z","modified":"2026-08-12T03:51:35.208636163Z","summary":"fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/ntfs3: Update log->page_{mask,bits} if log->page_size changed\n\nIf an NTFS file system is mounted to another system with different\nPAGE_SIZE from the original system, log->page_size will change in\nlog_replay(), but log->page_{mask,bits} don't change correspondingly.\nThis will cause a panic because \"u32 bytes = log->page_size - page_off\"\nwill get a negative value in the later read_log_page().","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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.165"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.103"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.44"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.10.3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42299.json"}}],"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"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42299.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}