CVE-2024-27032 f2fs: fix to avoid potential panic during recovery
A flaw in the Linux kernel f2fs filesystem can cause a system panic or deadloop during recovery when specific fault injection settings are enabled.
- 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-27032?
CVE-2024-27032 is a medium-severity denial of service vulnerability in Linux kernel, published on 1 May 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:
f2fs: fix to avoid potential panic during recovery
During recovery, if FAULT_BLOCK is on, it is possible that f2fs_reserve_new_block() will return -ENOSPC during recovery, then it may trigger panic.
Also, if fault injection rate is 1 and only FAULT_BLOCK fault type is on, it may encounter deadloop in loop of block reservation.
Let's change as below to fix these issues: - remove bug_on() to avoid panic. - limit the loop count of block reservation to avoid potential deadloop.
Weakness: CWE-835
Which versions are affected by CVE-2024-27032?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-27032?
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-27032 being exploited?
There is no known exploitation of CVE-2024-27032 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-27032, DEBIAN-CVE-2024-27032, GHSA-fx68-rvxh-32hf, ROOT-OS-DEBIAN-11-CVE-2024-27032, ROOT-OS-UBUNTU-2204-CVE-2024-27032, UBUNTU-CVE-2024-27032.