What’s Vulnerable › Vulnerabilities
CVE-2024-41935: f2fs: fix to shrink read extent node in batches
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-01-11 · updated 2026-10-30
- Weakness: CWE-125
Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to shrink read extent node in batches We use rwlock to protect core structure data of extent tree during its shrink, however, if there is a huge number of extent nodes in extent tree, during shrink of extent tree, it may hold rwlock for a very long time, which may trigger kernel hang issue. This patch fixes to shrink read extent node in batches, so that, critical region of the rwlock can be shrunk to avoid its extreme long time hold.
Affected products
- Linux kernel: from 3.8 before 6.6.66; from 6.7 before 6.12.5 — fixed in 6.6.66, 6.12.5
- Linux: 3.8 — fixed in 6.13
How to fix
Upgrade to a fixed version: Linux kernel 6.6.66, 6.12.5; Linux 6.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/295b50e95e900da31ff237e46e04525fa799b2cf
- https://git.kernel.org/stable/c/3fc5d5a182f6a1f8bd4dc775feb54c369dd2c343
- https://git.kernel.org/stable/c/924f7dd1e832e4e4530d14711db223d2803f7b61
- https://git.kernel.org/stable/c/e05d3eab90d6657bdcaa40ed129e9c767ed43188
Get alerted when CVE-2024-41935 or the next vulnerability affects your stack