CVE-2024-56750 erofs: fix blksize < PAGE_SIZE for file-backed mounts
A flaw in the Linux kernel EROFS filesystem causes a system panic when mounting file-backed images with block sizes smaller than the page size.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-56750?
CVE-2024-56750 is a medium-severity denial of service vulnerability in Linux kernel, published on 29 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
erofs: fix blksize < PAGE_SIZE for file-backed mounts
Adjust sb->s_blocksize{,_bits} directly for file-backed mounts when the fs block size is smaller than PAGE_SIZE.
Previously, EROFS used sb_set_blocksize(), which caused a panic if bdev-backed mounts is not used.
Which versions are affected by CVE-2024-56750?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-56750?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-56750 being exploited?
There is no known exploitation of CVE-2024-56750 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-56750, GHSA-mgx9-r76h-gvxf, UBUNTU-CVE-2024-56750.