CVE-2024-42304 — ext4: make sure the first directory block is not a hole
In the Linux kernel, the following vulnerability has been resolved: ext4: make sure the first directory block is not a hole The syzbot constructs a directory that has no dirblock but is non-inline, i.e. the first directory block is a hole. And no errors are reported when creating files in this directory in the following flow. ext4_mknod ... ext4_add_entry // Read block 0 ext4_read_dirblock(dir, block, DIRENT) bh = ext4_bread(NULL, inode, block, 0) if (!bh && (type == INDEX || type == DIRENT_HTREE)) // The first directory block is a hole // But type == DIRENT, so no error is reported. After that, we get a directory block without '.' and '..' but with a valid dentry. This may cause some code that relies on dot or dotdot (such as make_indexed_dir()) to crash. Therefore when ext4_read_dirblock() finds that the first directory block is a hole report that the filesystem is corrupted and return an error to avoid loading corrupted data from disk causing something bad.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 0.2% (30-day exploitation probability)+2
- Technical severity (medium)+3
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented patch — git.kernel.org (NIST National Vulnerability Database)
- Documented patch — git.kernel.org (NIST National Vulnerability Database)
- Documented patch — git.kernel.org (NIST National Vulnerability Database)
- Documented patch — git.kernel.org (NIST National Vulnerability Database)
- Documented patch — git.kernel.org (NIST National Vulnerability Database)
- Documented patch — git.kernel.org (NIST National Vulnerability Database)
- Documented patch — git.kernel.org (NIST National Vulnerability Database)
- Documented patch — git.kernel.org (NIST National Vulnerability Database)
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (Linux Linux, Linux Linux Kernel).
- Apply the fixed version or the patch documented under Remediation.
- Search available logs for exploit probes, errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| Linux | Linux |
≥ 4e19d6b65fb4fc42e352ce9883649e049da14743 and < b609753cbbd38f8c0affd4956c0af178348523acversion 5.3≥ 5.2.4 and < 5.3≥ 5.1.21 and < 5.2≥ 4.14.135 and < 4.15≥ 4.9.187 and < 4.10≥ 4.19.62 and < 4.19.320version 5021b7a5bdd6bb859eb648c3da71cdd6aae1d133 and 10 moreversion 7f1f86276515f6816a98f6ca3ef99c827d54642fversion 514631c2225c1fd556c799cc1893fb27b0f48f00version 3f0307b0d2d8b333a6964fc4c820dc86896fd1cf≥ 4e19d6b65fb4fc42e352ce9883649e049da14743 and < f9ca51596bbfd0f9c386dd1c613c394c78d9e5e6≥ 4e19d6b65fb4fc42e352ce9883649e049da14743 and < 299bc6ffa57e04e74c6cce866d6c0741fb4897a1≥ 4e19d6b65fb4fc42e352ce9883649e049da14743 and < c3893d9de8ee153baac56d127d844103488133b5≥ 4e19d6b65fb4fc42e352ce9883649e049da14743 and < 9771e3d8365ae1dd5e8846a204cb9af14e3e656a≥ 4e19d6b65fb4fc42e352ce9883649e049da14743 and < de2a011a13a46468a6e8259db58b1b62071fe136≥ 4e19d6b65fb4fc42e352ce9883649e049da14743 and < e02f9941e8c011aa3eafa799def6a134ce06bcfa≥ 3a17ca864baffc0c6f6e8aad525aa4365775a193 and < d81d7e347d1f1f48a5634607d39eb90c161c8afe |
Vulnerable | CVE Program (cve.org) e CISA ADP |
| Linux | Linux Kernel |
≥ 4.9.187 and < 4.10≥ 6.7 and < 6.10.3≥ 6.2 and < 6.6.44≥ 5.16 and < 6.1.103≥ 5.11 and < 5.15.165≥ 5.5 and < 5.10.224≥ 5.2.4 and < 5.4.282≥ 5.1.21 and < 5.2 and 2 more≥ 4.19.62 and < 4.19.320≥ 4.14.135 and < 4.15 |
Vulnerable | NIST National Vulnerability Database |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 7.8 | CVSS 3.1 | High | 1.8 | 5.9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 via NIST National Vulnerability Database |
| 7.8 | CVSS 3.1 | High | — | — | Linux via CVE Program (cve.org) e CISA ADP |
| 5.5 | CVSS 3.1 | Medium | 1.8 | 3.6 | nvd@nist.gov via NIST National Vulnerability Database |
| 5.5 | CVSS 3.1 | Medium | — | — | GitHub, Inc. via GitHub Security Advisories |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (score shown at the top: nvd@nist.gov) Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Local/physical vector: focus on endpoint telemetry (EDR) from affected hosts.
Timeline
What happened to this CVE, newest first.
- 2026
- Affected products added · linux/linux
- SSVC assessment updated
- Record published
- Fix documented
- Affected products added · linux/linux kernel
- CVSS changed · 5.5
- Source status changed · → Modified
- Record created in this database
- 2024
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 2× References added · Oct 14, 2026 – Oct 14, 2026
- 1× Official description updated · Oct 14, 2026 – Oct 14, 2026
References
13 on the record
- git.kernel.org/stable/c/d81d7e347d1f1f48a5634607d39eb90c161c8afe
- git.kernel.org/stable/c/de2a011a13a46468a6e8259db58b1b62071fe136
- git.kernel.org/stable/c/299bc6ffa57e04e74c6cce866d6c0741fb4897a1
- git.kernel.org/stable/c/f9ca51596bbfd0f9c386dd1c613c394c78d9e5e6
- git.kernel.org/stable/c/9771e3d8365ae1dd5e8846a204cb9af14e3e656a
- git.kernel.org/stable/c/e02f9941e8c011aa3eafa799def6a134ce06bcfa
- git.kernel.org/stable/c/b609753cbbd38f8c0affd4956c0af178348523ac
- git.kernel.org/stable/c/c3893d9de8ee153baac56d127d844103488133b5
- github.com/advisories/GHSA-v546-2fcj-rwvx
- cert-portal.siemens.com/productcert/html/ssa-265688.html
- lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- nvd.nist.gov/vuln/detail/CVE-2024-42304
Elsewhere on this site
Related CVEs (same products)
- Critical CVE-2026-99999 ipv4: validate checksum_start before completing checksum 13h
- Unknown CVE-2026-98432 ipv4: free inet_opt and ireq_opt after an RCU grace period 13h
- Unknown CVE-2026-98431 RDMA/uverbs: Fix mmap_lock/disassociation_lock circular dependency 1d
- Unknown CVE-2026-98430 RDMA/efa: Keep admin queues alive while IRQ is registered 1d
- Unknown CVE-2026-98429 RDMA/efa: Keep EQ resources alive while IRQ is registered 1d
- Unknown CVE-2026-98428 ALSA: usb: 6fire: Avoid embedded URBs 1d
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No CWE classification.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2024-42304 is "ext4: make sure the first directory block is not a hole", rated Medium. It affects Linux (Linux); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. CVSS 5.5 describes technical severity. EPSS 0.23% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.