CVE-2024-47700 ext4: check stripe size compatibility on remount as well
A missing check in the Linux kernel ext4 remount path can cause a divide-by-zero error, leading to a system crash.
- 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-47700?
CVE-2024-47700 is a medium-severity denial of service vulnerability in Linux kernel, published on 21 Oct 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:
ext4: check stripe size compatibility on remount as well
We disable stripe size in __ext4_fill_super if it is not a multiple of the cluster ratio however this check is missed when trying to remount. This can leave us with cases where stripe < cluster_ratio after remount:set making EXT4_B2C(sbi->s_stripe) become 0 that can cause some unforeseen bugs like divide by 0.
Fix that by adding the check in remount path as well.
Weakness: CWE-369
Which versions are affected by CVE-2024-47700?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-47700?
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-47700 being exploited?
There is no known exploitation of CVE-2024-47700 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-50985, BELL-CVE-2024-47700, DEBIAN-CVE-2024-47700, GHSA-383j-f5vg-3hcm, UBUNTU-CVE-2024-47700.