CVE-2024-39469: nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.25% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 11a2edb70356a2202dcb7c9c189c8356ab4752cd, 129dcd3e7d036218db3f59c82d82004b9539ed82, 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 11a2edb70356a2202dcb7c9c189c8356ab4752cd, 129dcd3e7d036218db3f59c82d82004b9539ed82, 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jun 25, 2024
- Updated
- Oct 15, 2026
- EPSS
- 0.2% · 16th percentile
- CWE
- —
Report tools
Action score
28
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.1
- CNA · Linux
- 7.1
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 2.6.30affected
- 2ba466d74ed74f073257f86e61519cb8f8f46184 and later · before 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428affected · git
- 2ba466d74ed74f073257f86e61519cb8f8f46184 and later · before 405b71f1251e5ae865f53bd27c45114e6c83bee3affected · git
- 2ba466d74ed74f073257f86e61519cb8f8f46184 and later · before c77ad608df6c091fe64ecb91f41ef7cb465587f1affected · git
- 2ba466d74ed74f073257f86e61519cb8f8f46184 and later · before 11a2edb70356a2202dcb7c9c189c8356ab4752cdaffected · git
- 2ba466d74ed74f073257f86e61519cb8f8f46184 and later · before 129dcd3e7d036218db3f59c82d82004b9539ed82affected · git
- 2ba466d74ed74f073257f86e61519cb8f8f46184 and later · before d18b05eda7fa77f02114f15b02c009f28ee42346affected · git
- 2ba466d74ed74f073257f86e61519cb8f8f46184 and later · before 59f14875a96ef93f05b82ad3c980605f2cb444b5affected · git
- 2ba466d74ed74f073257f86e61519cb8f8f46184 and later · before 7373a51e7998b508af7136530f3a997b286ce81caffected · git
- before 2.6.30not affected · semver
Affected versions · NVD (8)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel2.6.30 and later · before 4.19.317
- linux linux kernel4.20 and later · before 5.4.279
- linux linux kernel5.5 and later · before 5.10.221
- linux linux kernel5.11 and later · before 5.15.162
- linux linux kernel5.16 and later · before 6.1.95
- linux linux kernel6.2 and later · before 6.6.35
- linux linux kernel6.7 and later · before 6.9.5
- linux linux kernel6.10
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.99-1 | 6.1.99-1 |
| Debian:13 | linux | before 6.9.7-1 | 6.9.7-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-39471Jun 25, 2024 · drm/amdgpu: add error handle to avoid out-of-bounds28Monitor
- ← EarlierCVE-2024-39468Jun 25, 2024 · smb: client: fix deadlock in smb2_find_smb_tcon()22Monitor
- Later →CVE-2023-52340Jul 4, 2024 · The IPv6 implementation in the Linux kernel before 6.3 has a net/ipv6/route.c max_size threshold that can be consumed easily, e.g., leading…30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 11a2edb70356a2202dcb7c9c189c8356ab4752cd | Vendor (CNA) |
| Linux Linux | 129dcd3e7d036218db3f59c82d82004b9539ed82 | Vendor (CNA) |
| Linux Linux | 2ac8a2fe22bdde9eecce2a42cf5cab79333fb428 | Vendor (CNA) |
| Linux Linux | 405b71f1251e5ae865f53bd27c45114e6c83bee3 | Vendor (CNA) |
| Linux Linux | 59f14875a96ef93f05b82ad3c980605f2cb444b5 | Vendor (CNA) |
| Linux Linux | 7373a51e7998b508af7136530f3a997b286ce81c | Vendor (CNA) |
| Linux Linux | c77ad608df6c091fe64ecb91f41ef7cb465587f1 | Vendor (CNA) |
| Linux Linux | d18b05eda7fa77f02114f15b02c009f28ee42346 | Vendor (CNA) |
| debian:linux | 6.1.99-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0790 · Jun 26, 2024(Linux Kernel Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- git.kernel.org/stable/c/129dcd3e7d036218db3f59c82d82004b9539ed82
- git.kernel.org/stable/c/2ac8a2fe22bdde9eecce2a42cf5cab79333fb428
- git.kernel.org/stable/c/405b71f1251e5ae865f53bd27c45114e6c83bee3
- git.kernel.org/stable/c/59f14875a96ef93f05b82ad3c980605f2cb444b5
- git.kernel.org/stable/c/7373a51e7998b508af7136530f3a997b286ce81c
- git.kernel.org/stable/c/c77ad608df6c091fe64ecb91f41ef7cb465587f1
- git.kernel.org/stable/c/d18b05eda7fa77f02114f15b02c009f28ee42346
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- cert-portal.siemens.com/productcert/html/ssa-355557.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.