CVE-2024-42299

high

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

References

https://git.kernel.org/stable/c/b90ceffdc975502bc085ce8e79c6adeff05f9521

https://git.kernel.org/stable/c/2fef55d8f78383c8e6d6d4c014b9597375132696

https://git.kernel.org/stable/c/2cac0df3324b5e287d8020bc0708f7d2dec88a6f

https://git.kernel.org/stable/c/0a4ae2644e2a3b3b219aad9639fb2b0691d08420

https://git.kernel.org/stable/c/0484adcb5fbcadd9ba0fd4485c42630f72e97da9

Details

Source: Mitre, NVD

Published: 2024-08-17

Updated: 2024-08-19

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High