Bug 2337108 (CVE-2024-41935) - CVE-2024-41935 kernel: f2fs: fix to shrink read extent node in batches
Summary: CVE-2024-41935 kernel: f2fs: fix to shrink read extent node in batches
Keywords:
Status: NEW
Alias: CVE-2024-41935
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-01-11 13:02 UTC by OSIDB Bzimport
Modified: 2025-01-13 07:47 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-01-11 13:02:11 UTC
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.

Comment 1 Avinash Hanwate 2025-01-13 07:43:26 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025011118-CVE-2024-41935-e11d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.