# CVE-2024-53690: nilfs2: prevent use of deleted inode

> 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.34% (percentile 20, 2026-11-26)
- **Published:** 2025-01-11T12:35:40.934Z
- **Modified:** 2026-06-17T08:09:06.390Z

## Who should check

- Anyone running Linux \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 55e4baa0d32f0530ddc64c26620e1f2f8fa2724c; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 5d4ed71327b0b5f3b179a19dc3c06be9509ab3db; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 912188316a8c9e41b8c1603c2276a05043b14f96; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< ef942d233643777f7b2a5deef620e82942983143; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 284760b320a0bac411b18108316939707dccb12b; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< ff561987ff12b6a3233431ff659b5d332e22f153; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 901ce9705fbb9f330ff1f19600e5daf9770b0175
- Anyone running Linux 2.6.30

## Description

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

nilfs2: prevent use of deleted inode

syzbot reported a WARNING in nilfs\_rmdir. \[1\]

Because the inode bitmap is corrupted, an inode with an inode number that
should exist as a ".nilfs" file was reassigned by nilfs\_mkdir for "file0",
causing an inode duplication during execution.  And this causes an
underflow of i\_nlink in rmdir operations.

The inode is used twice by the same task to unmount and remove directories
".nilfs" and "file0", it trigger warning in nilfs\_rmdir.

Avoid to this issue, check i\_nlink in nilfs\_iget(), if it is 0, it means
that this inode has been deleted, and iput is executed to reclaim it.

\[1\]
WARNING: CPU: 1 PID: 5824 at fs/inode.c:407 drop\_nlink+0xc4/0x110 fs/inode.c:407
...
Call Trace:
 \<TASK\>
 nilfs\_rmdir+0x1b0/0x250 fs/nilfs2/namei.c:342
 vfs\_rmdir+0x3a3/0x510 fs/namei.c:4394
 do\_rmdir+0x3b5/0x580 fs/namei.c:4453
 \_\_do\_sys\_rmdir fs/namei.c:4472 \[inline\]
 \_\_se\_sys\_rmdir fs/namei.c:4470 \[inline\]
 \_\_x64\_sys\_rmdir+0x47/0x50 fs/namei.c:4470
 do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
 do\_syscall\_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

## Affected and fixed versions

- Linux: \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 55e4baa0d32f0530ddc64c26620e1f2f8fa2724c; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 5d4ed71327b0b5f3b179a19dc3c06be9509ab3db; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 912188316a8c9e41b8c1603c2276a05043b14f96; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< ef942d233643777f7b2a5deef620e82942983143; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 284760b320a0bac411b18108316939707dccb12b; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< ff561987ff12b6a3233431ff659b5d332e22f153; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 901ce9705fbb9f330ff1f19600e5daf9770b0175 (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- Upgrade Linux to 901ce9705fbb9f330ff1f19600e5daf9770b0175 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-53690.md
Affected: Linux >= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, < 55e4baa0d32f0530ddc64c26620e1f2f8fa2724c; >= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, < 5d4ed71327b0b5f3b179a19dc3c06be9509ab3db; >= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, < 912188316a8c9e41b8c1603c2276a05043b14f96; >= d25006523d0b9e49fd097b2…
Fixed in: Linux 55e4baa0d32f0530ddc64c26620e1f2f8fa2724c, Linux 5d4ed71327b0b5f3b179a19dc3c06be9509ab3db, Linux 912188316a8c9e41b8c1603c2276a05043b14f96, Linux 284760b320a0bac411b18108316939707dccb12b, Linux 901ce9705fbb9f330ff1f19600e5daf9770b0175

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-2024-53690 being exploited?

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

### How serious is CVE-2024-53690?

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

### Which versions are affected by CVE-2024-53690?

Linux \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 55e4baa0d32f0530ddc64c26620e1f2f8fa2724c; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 5d4ed71327b0b5f3b179a19dc3c06be9509ab3db; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 912188316a8c9e41b8c1603c2276a05043b14f96; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< ef942d233643777f7b2a5deef620e82942983143; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 284760b320a0bac411b18108316939707dccb12b; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< ff561987ff12b6a3233431ff659b5d332e22f153; \>= d25006523d0b9e49fd097b2e974e7c8c05bd7f54, \< 901ce9705fbb9f330ff1f19600e5daf9770b0175; Linux 2.6.30.

### Is there a fix for CVE-2024-53690?

Yes. Fixed in Linux 55e4baa0d32f0530ddc64c26620e1f2f8fa2724c, Linux 5d4ed71327b0b5f3b179a19dc3c06be9509ab3db, Linux 912188316a8c9e41b8c1603c2276a05043b14f96, Linux 284760b320a0bac411b18108316939707dccb12b, Linux 901ce9705fbb9f330ff1f19600e5daf9770b0175. Upgrade Linux to 901ce9705fbb9f330ff1f19600e5daf9770b0175 or later.

### How do I check if I'm affected by CVE-2024-53690?

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/55e4baa0d32f0530ddc64c26620e1f2f8fa2724c>
- patch: <https://git.kernel.org/stable/c/5d4ed71327b0b5f3b179a19dc3c06be9509ab3db>
- patch: <https://git.kernel.org/stable/c/912188316a8c9e41b8c1603c2276a05043b14f96>
- patch: <https://git.kernel.org/stable/c/ef942d233643777f7b2a5deef620e82942983143>
- patch: <https://git.kernel.org/stable/c/284760b320a0bac411b18108316939707dccb12b>
- patch: <https://git.kernel.org/stable/c/ff561987ff12b6a3233431ff659b5d332e22f153>
- patch: <https://git.kernel.org/stable/c/901ce9705fbb9f330ff1f19600e5daf9770b0175>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## 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-2024-53690>

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