CVE-2024-39469nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors
- 7.1HighCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 83% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors The error handling in nilfs_empty_dir() when a directory folio/page read fails is incorrect, as in the old ext2 implementation, and if the folio/page cannot be read or nilfs_check_folio() fails, it will falsely determine the directory as empty and corrupt the file system. In addition, since nilfs_empty_dir() does not immediately return on a failed folio/page read, but continues to loop, this can cause a long loop with I/O if i_size of the directory's inode is also corrupted, causing the log writer thread to wait and hang, as reported by syzbot. Fix these issues by making nilfs_empty_dir() immediately return a false value (0) if it fails to get a directory folio/page.
Timeline
ID reserved
By Linux
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 83% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected 2ba466d74ed74f073257f86e61519cb8f8f46184 – < 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428
- affected 2ba466d74ed74f073257f86e61519cb8f8f46184 – < 405b71f1251e5ae865f53bd27c45114e6c83bee3
- affected 2ba466d74ed74f073257f86e61519cb8f8f46184 – < c77ad608df6c091fe64ecb91f41ef7cb465587f1
- affected 2ba466d74ed74f073257f86e61519cb8f8f46184 – < 11a2edb70356a2202dcb7c9c189c8356ab4752cd
- affected 2ba466d74ed74f073257f86e61519cb8f8f46184 – < 129dcd3e7d036218db3f59c82d82004b9539ed82
- affected 2ba466d74ed74f073257f86e61519cb8f8f46184 – < d18b05eda7fa77f02114f15b02c009f28ee42346
- affected 2ba466d74ed74f073257f86e61519cb8f8f46184 – < 59f14875a96ef93f05b82ad3c980605f2cb444b5
- affected 2ba466d74ed74f073257f86e61519cb8f8f46184 – < 7373a51e7998b508af7136530f3a997b286ce81c
- affected 2.6.30
- unaffected < 2.6.30
- unaffected 4.19.317 – ≤ 4.19.*
- unaffected 5.4.279 – ≤ 5.4.*
- unaffected 5.10.221 – ≤ 5.10.*
- unaffected 5.15.162 – ≤ 5.15.*
- unaffected 6.1.95 – ≤ 6.1.*
- unaffected 6.6.35 – ≤ 6.6.*
- unaffected 6.9.5 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References11
- https://git.kernel.org/stable/c/2ac8a2fe22bdde9eecce2a42cf5cab79333fb428 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/405b71f1251e5ae865f53bd27c45114e6c83bee3 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/c77ad608df6c091fe64ecb91f41ef7cb465587f1 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/11a2edb70356a2202dcb7c9c189c8356ab4752cd (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/129dcd3e7d036218db3f59c82d82004b9539ed82 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/d18b05eda7fa77f02114f15b02c009f28ee42346 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/59f14875a96ef93f05b82ad3c980605f2cb444b5 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/7373a51e7998b508af7136530f3a997b286ce81c (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-37994 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-39469)Record last updated .