CVE-2024-41935
f2fs: fix to shrink read extent node in batches
Check your servers for CVE-2024-41935
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-41935 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, before e05d3eab90d6657bdcaa40ed129e9c767ed43188 affected from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, before 295b50e95e900da31ff237e46e04525fa799b2cf affected from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, before 924f7dd1e832e4e4530d14711db223d2803f7b61 affected from 98e4da8ca301e062d79ae168c67e56f3c3de3ce4, before 3fc5d5a182f6a1f8bd4dc775feb54c369dd2c343
Other versions: unaffected
|
| Linux |
affected 3.8 unaffected before 3.8 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.66 up to and including 6.6.* unaffected from 6.12.5 up to and including 6.12.* unaffected 6.13 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-41935 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-41935
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-41935
trivy image --scanners vuln IMAGE | grep CVE-2024-41935
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/e05d3eab90d6657bdcaa40ed129e9c767ed43188 git.kernel.org
- https://git.kernel.org/stable/c/295b50e95e900da31ff237e46e04525fa799b2cf git.kernel.org
- https://git.kernel.org/stable/c/924f7dd1e832e4e4530d14711db223d2803f7b61 git.kernel.org
- https://git.kernel.org/stable/c/3fc5d5a182f6a1f8bd4dc775feb54c369dd2c343 git.kernel.org
Source: the record CVE-2024-41935 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse