What’s Vulnerable › Vulnerabilities

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

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

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

Get alerted when CVE-2024-42299 or the next vulnerability affects your stack