CVE-2024-41935

f2fs: fix to shrink read extent node in batches

State
Published
Severity
Not scored
Published
Jan 11, 2025
Updated
Oct 30, 2026
Reserved
Jan 9, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before e05d3eab90d6657bdcaa40ed129e9c767ed43188Affected
  • 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 295b50e95e900da31ff237e46e04525fa799b2cfAffected
  • 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 924f7dd1e832e4e4530d14711db223d2803f7b61Affected
  • 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 to before 3fc5d5a182f6a1f8bd4dc775feb54c369dd2c343Affected
LinuxLinux
  • 3.8Affected
  • before 3.8Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.66 through 6.6.*Not affected
  • 6.12.5 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.