CVE-2024-39469
nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors
Mitigation
- Upgrade Linux to 7373a51e7998b508af7136530f3a997b286ce81c or later.
Who should check
- Anyone running Linux >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 405b71f1251e5ae865f53bd27c45114e6c83bee3; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < c77ad608df6c091fe64ecb91f41ef7cb465587f1; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 11a2edb70356a2202dcb7c9c189c8356ab4752cd; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 129dcd3e7d036218db3f59c82d82004b9539ed82; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < d18b05eda7fa77f02114f15b02c009f28ee42346; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 59f14875a96ef93f05b82ad3c980605f2cb444b5; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 7373a51e7998b508af7136530f3a997b286ce81c
- Anyone running Linux 2.6.30
Vulnerability facts
- Affected
- Linux >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 405b71f1251e5ae865f53bd27c45114e6c83bee3; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < c77ad608df6c091fe64ecb91f41ef7cb465587f1; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 11a2edb70356a2202dcb7c9c189c8356ab4752cd; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 129dcd3e7d036218db3f59c82d82004b9539ed82; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < d18b05eda7fa77f02114f15b02c009f28ee42346; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 59f14875a96ef93f05b82ad3c980605f2cb444b5; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 7373a51e7998b508af7136530f3a997b286ce81c; Linux 2.6.30
- Fixed in
- Linux 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428, Linux 405b71f1251e5ae865f53bd27c45114e6c83bee3, Linux 11a2edb70356a2202dcb7c9c189c8356ab4752cd, Linux 129dcd3e7d036218db3f59c82d82004b9539ed82, Linux 59f14875a96ef93f05b82ad3c980605f2cb444b5, Linux 7373a51e7998b508af7136530f3a997b286ce81c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 19, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 405b71f1251e5ae865f53bd27c45114e6c83bee3; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < c77ad608df6c091fe64ecb91f41ef7cb465587f1; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 11a2edb70356a2202dcb7c9c189c8356ab4752cd; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 129dcd3e7d036218db3f59c82d82004b9539ed82; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < d18b05eda7fa77f02114f15b02c009f28ee42346; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 59f14875a96ef93f05b82ad3c980605f2cb444b5; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 7373a51e7998b508af7136530f3a997b286ce81c | — | cvelist |
| Linux | 2.6.30 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-39469. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-39469.md Affected: Linux >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 405b71f1251e5ae865f53bd27c45114e6c83bee3; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < c77ad608df6c091fe64ecb91f41ef7cb465587f1; >= 2ba466d74ed74f073257f86… Fixed in: Linux 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428, Linux 405b71f1251e5ae865f53bd27c45114e6c83bee3, Linux 11a2edb70356a2202dcb7c9c189c8356ab4752cd, Linux 129dcd3e7d036218db3f59c82d82004b9539ed82, Linux 59f14875a96ef93f05b82ad3c980605f2cb444b5, Linux 7373a51e7998b508af7136530f3a997b286ce81c Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/2ac8a2fe22bdde9eecce2a42cf5cab79333fb428
- https://git.kernel.org/stable/c/405b71f1251e5ae865f53bd27c45114e6c83bee3
- https://git.kernel.org/stable/c/c77ad608df6c091fe64ecb91f41ef7cb465587f1
- https://git.kernel.org/stable/c/11a2edb70356a2202dcb7c9c189c8356ab4752cd
- https://git.kernel.org/stable/c/129dcd3e7d036218db3f59c82d82004b9539ed82
- https://git.kernel.org/stable/c/d18b05eda7fa77f02114f15b02c009f28ee42346
- https://git.kernel.org/stable/c/59f14875a96ef93f05b82ad3c980605f2cb444b5
- https://git.kernel.org/stable/c/7373a51e7998b508af7136530f3a997b286ce81c
FAQ
Is CVE-2024-39469 being exploited?
There is no confirmed exploitation: CVE-2024-39469 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-39469?
High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-39469?
Linux >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 405b71f1251e5ae865f53bd27c45114e6c83bee3; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < c77ad608df6c091fe64ecb91f41ef7cb465587f1; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 11a2edb70356a2202dcb7c9c189c8356ab4752cd; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 129dcd3e7d036218db3f59c82d82004b9539ed82; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < d18b05eda7fa77f02114f15b02c009f28ee42346; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 59f14875a96ef93f05b82ad3c980605f2cb444b5; >= 2ba466d74ed74f073257f86e61519cb8f8f46184, < 7373a51e7998b508af7136530f3a997b286ce81c; Linux 2.6.30.
Is there a fix for CVE-2024-39469?
Yes. Fixed in Linux 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428, Linux 405b71f1251e5ae865f53bd27c45114e6c83bee3, Linux 11a2edb70356a2202dcb7c9c189c8356ab4752cd, Linux 129dcd3e7d036218db3f59c82d82004b9539ed82, Linux 59f14875a96ef93f05b82ad3c980605f2cb444b5, Linux 7373a51e7998b508af7136530f3a997b286ce81c. Upgrade Linux to 7373a51e7998b508af7136530f3a997b286ce81c or later.
How do I check if I'm affected by CVE-2024-39469?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.