CVE-2024-41935
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < 295b50e95e900da31ff237e46e04525fa799b2cf | affected |
| Linux | Linux | 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < 924f7dd1e832e4e4530d14711db223d2803f7b61 | affected |
| Linux | Linux | 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < 3fc5d5a182f6a1f8bd4dc775feb54c369dd2c343 | affected |
| Linux | Linux | 3.8 | affected |
| Linux | Linux | 0 < 3.8 | unaffected |
| Linux | Linux | 6.6.66 <= 6.6.* | unaffected |
| Linux | Linux | 6.12.5 <= 6.12.* | unaffected |
| Linux | Linux | 6.13 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/295b50e95e900da31ff237e46e04525fa799b2cf
- https://git.kernel.org/stable/c/924f7dd1e832e4e4530d14711db223d2803f7b61
- https://git.kernel.org/stable/c/3fc5d5a182f6a1f8bd4dc775feb54c369dd2c343
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.