fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel’s NTFS driver can panic when an NTFS file system is mounted on a system with a different PAGE_SIZE from the system that previously mounted it. The input does not establish an attacker-controlled path to trigger this condition or specify authentication requirements.
Engineers running Linux systems that mount NTFS file systems should check their kernel versions; affected versions are not specified.