# CVE-2026-46002: ext2: reject inodes with zero i\_nlink and valid mode in ext2\_iget()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-05-27T12:55:57.898Z
- **Modified:** 2026-06-17T10:52:52.770Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1b80cf48bcf0e1937af9cd6c7beb188762bbf7c5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9e2d67fb2b73eeff8b601e26b332128eae8147bb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a69a0c5156b6f0092b9fcf44517f5831a962de2d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 32e0b925572686399243834ec99e2a9d85c62eae; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d3af04a43db86379df7438bf8bade71685b8a239; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2dde6377ab2e46bb80cf066c659ef016f3ad7a9b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 470264bbec499e276a89a6431144ae58f411ea4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 25947cc5b2374cd5bf627fe3141496444260d04f
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

ext2: reject inodes with zero i\_nlink and valid mode in ext2\_iget()

ext2\_iget() already rejects inodes with i\_nlink == 0 when i\_mode is
zero or i\_dtime is set, treating them as deleted. However, the case of
i\_nlink == 0 with a non-zero mode and zero dtime slips through. Since
ext2 has no orphan list, such a combination can only result from
filesystem corruption - a legitimate inode deletion always sets either
i\_dtime or clears i\_mode before freeing the inode.

A crafted image can exploit this gap to present such an inode to the
VFS, which then triggers WARN\_ON inside drop\_nlink() (fs/inode.c) via
ext2\_unlink(), ext2\_rename() and ext2\_rmdir():

WARNING: CPU: 3 PID: 609 at fs/inode.c:336 drop\_nlink+0xad/0xd0 fs/inode.c:336
CPU: 3 UID: 0 PID: 609 Comm: syz-executor Not tainted 6.12.77+ \#1
Call Trace:
 \<TASK\>
 inode\_dec\_link\_count include/linux/fs.h:2518 \[inline\]
 ext2\_unlink+0x26c/0x300 fs/ext2/namei.c:295
 vfs\_unlink+0x2fc/0x9b0 fs/namei.c:4477
 do\_unlinkat+0x53e/0x730 fs/namei.c:4541
 \_\_x64\_sys\_unlink+0xc6/0x110 fs/namei.c:4587
 do\_syscall\_64+0xf5/0x220 arch/x86/entry/common.c:78
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
 \</TASK\>

WARNING: CPU: 0 PID: 646 at fs/inode.c:336 drop\_nlink+0xad/0xd0 fs/inode.c:336
CPU: 0 UID: 0 PID: 646 Comm: syz.0.17 Not tainted 6.12.77+ \#1
Call Trace:
 \<TASK\>
 inode\_dec\_link\_count include/linux/fs.h:2518 \[inline\]
 ext2\_rename+0x35e/0x850 fs/ext2/namei.c:374
 vfs\_rename+0xf2f/0x2060 fs/namei.c:5021
 do\_renameat2+0xbe2/0xd50 fs/namei.c:5178
 \_\_x64\_sys\_rename+0x7e/0xa0 fs/namei.c:5223
 do\_syscall\_64+0xf5/0x220 arch/x86/entry/common.c:78
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
 \</TASK\>

WARNING: CPU: 0 PID: 634 at fs/inode.c:336 drop\_nlink+0xad/0xd0 fs/inode.c:336
CPU: 0 UID: 0 PID: 634 Comm: syz-executor Not tainted 6.12.77+ \#1
Call Trace:
 \<TASK\>
 inode\_dec\_link\_count include/linux/fs.h:2518 \[inline\]
 ext2\_rmdir+0xca/0x110 fs/ext2/namei.c:311
 vfs\_rmdir+0x204/0x690 fs/namei.c:4348
 do\_rmdir+0x372/0x3e0 fs/namei.c:4407
 \_\_x64\_sys\_unlinkat+0xf0/0x130 fs/namei.c:4577
 do\_syscall\_64+0xf5/0x220 arch/x86/entry/common.c:78
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
 \</TASK\>

Extend the existing i\_nlink == 0 check to also catch this case,
reporting the corruption via ext2\_error() and returning -EFSCORRUPTED.
This rejects the inode at load time and prevents it from reaching any
of the namei.c paths.

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1b80cf48bcf0e1937af9cd6c7beb188762bbf7c5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9e2d67fb2b73eeff8b601e26b332128eae8147bb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a69a0c5156b6f0092b9fcf44517f5831a962de2d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 32e0b925572686399243834ec99e2a9d85c62eae; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d3af04a43db86379df7438bf8bade71685b8a239; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2dde6377ab2e46bb80cf066c659ef016f3ad7a9b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 470264bbec499e276a89a6431144ae58f411ea4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 25947cc5b2374cd5bf627fe3141496444260d04f (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 25947cc5b2374cd5bf627fe3141496444260d04f or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-46002. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-46002.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 1b80cf48bcf0e1937af9cd6c7beb188762bbf7c5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9e2d67fb2b73eeff8b601e26b332128eae8147bb; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a69a0c5156b6f0092b9fcf44517f5831a962de2d; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 1b80cf48bcf0e1937af9cd6c7beb188762bbf7c5, Linux 9e2d67fb2b73eeff8b601e26b332128eae8147bb, Linux 32e0b925572686399243834ec99e2a9d85c62eae, Linux 2dde6377ab2e46bb80cf066c659ef016f3ad7a9b, Linux 470264bbec499e276a89a6431144ae58f411ea4d, Linux 25947cc5b2374cd5bf627fe3141496444260d04f

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.
```

## FAQ

### Is CVE-2026-46002 being exploited?

There is no confirmed exploitation: CVE-2026-46002 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-46002?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-46002?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1b80cf48bcf0e1937af9cd6c7beb188762bbf7c5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 9e2d67fb2b73eeff8b601e26b332128eae8147bb; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a69a0c5156b6f0092b9fcf44517f5831a962de2d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 32e0b925572686399243834ec99e2a9d85c62eae; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d3af04a43db86379df7438bf8bade71685b8a239; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 2dde6377ab2e46bb80cf066c659ef016f3ad7a9b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 470264bbec499e276a89a6431144ae58f411ea4d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 25947cc5b2374cd5bf627fe3141496444260d04f; Linux 2.6.12.

### Is there a fix for CVE-2026-46002?

Yes. Fixed in Linux 1b80cf48bcf0e1937af9cd6c7beb188762bbf7c5, Linux 9e2d67fb2b73eeff8b601e26b332128eae8147bb, Linux 32e0b925572686399243834ec99e2a9d85c62eae, Linux 2dde6377ab2e46bb80cf066c659ef016f3ad7a9b, Linux 470264bbec499e276a89a6431144ae58f411ea4d, Linux 25947cc5b2374cd5bf627fe3141496444260d04f. Upgrade Linux to 25947cc5b2374cd5bf627fe3141496444260d04f or later.

### How do I check if I'm affected by CVE-2026-46002?

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.

## References

- patch: <https://git.kernel.org/stable/c/1b80cf48bcf0e1937af9cd6c7beb188762bbf7c5>
- patch: <https://git.kernel.org/stable/c/9e2d67fb2b73eeff8b601e26b332128eae8147bb>
- patch: <https://git.kernel.org/stable/c/a69a0c5156b6f0092b9fcf44517f5831a962de2d>
- patch: <https://git.kernel.org/stable/c/32e0b925572686399243834ec99e2a9d85c62eae>
- patch: <https://git.kernel.org/stable/c/d3af04a43db86379df7438bf8bade71685b8a239>
- patch: <https://git.kernel.org/stable/c/2dde6377ab2e46bb80cf066c659ef016f3ad7a9b>
- patch: <https://git.kernel.org/stable/c/470264bbec499e276a89a6431144ae58f411ea4d>
- patch: <https://git.kernel.org/stable/c/25947cc5b2374cd5bf627fe3141496444260d04f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-46002>

HTML: <https://flawdb.com/CVE-2026-46002> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-46002>
