f2fs: fix to shrink read extent node in batches (Linux Linux)

CVE-2024-41935
HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < e05d3eab90d6657bdcaa40ed129e9c767ed43188 ; affected 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < 295b50e95e900da31ff237e46e04525fa799b2cf ; affected 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < 924f7dd1e832e4e4530d14711db223d2803f7b61 ; affected 98e4da8ca301e062d79ae168c67e56f3c3de3ce4 < 3fc5d5a182f6a1f8bd4dc775feb54c369dd2c343
Linux · Linuxaffected 3.8 ; unaffected 0 < 3.8 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.66 ≤ 6.6.* ; unaffected 6.12.5 ≤ 6.12.* ; unaffected 6.13 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD