# CVE-2026-98924: fs: avoid repeated scans in evict\_inodes()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-23T12:03:50.230Z
- **Modified:** 2026-10-23T13:17:13.083Z

## Who should check

- Anyone running Linux \>= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, \< e4f3e476cd4066a815ef68cd6caa1828b9c167d5; \>= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, \< 3cdc6e12ff79f0f8a3ba62d7e61474ae4b5e119a; \>= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, \< 7459c021874246c196f397686e100702f059b9e7
- Anyone running Linux 4.3

## Description

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

fs: avoid repeated scans in evict\_inodes()

We observed hung tasks when users attempted to unmount a filesystem
after its disk had been removed while still in use. During device
removal, fs\_bdev\_mark\_dead() calls evict\_inodes() while holding s\_umount.

Each time evict\_inodes() drops s\_inode\_list\_lock to reschedule, it
restarts the walk from the head of s\_inodes. With many referenced inodes
at the head of the list, these restarts repeatedly scan the same inodes
without reclaiming them. This can keep s\_umount held for a long time,
blocking concurrent umount attempts and triggering hung-task reports.

Keep the current inode, already marked I\_FREEING, out of the disposal
batch until s\_inode\_list\_lock is reacquired. Resume the walk from this
inode and dispose of it in a later batch or at the end of the walk.

The zero-refcount and state checks under i\_lock allow this walker to
claim the inode by setting I\_FREEING and removing it from the LRU.
Other reclaimers skip the inode, leaving this walker responsible for
eviction. Only evict() removes it from s\_inodes, so keeping it out of
the disposal batch ensures that it remains on the list while the lock
is dropped. After reacquiring the lock, reading its current next pointer
accounts for concurrent removal of following inodes.

The existing inode lifetime rules prohibit acquiring a reference to an
inode marked I\_FREEING or I\_WILL\_FREE. \_\_iget() requires its caller to
hold i\_lock and establish that taking a reference is valid. Inode lookup
and igrab() check these flags under i\_lock when acquiring a reference
from zero. ihold() requires an existing reference, which would keep
i\_count nonzero and prevent this walker from claiming the inode. These
rules already allow iput\_final() and the inode shrinker to release
i\_lock after setting I\_FREEING and before eviction completes.

A temporary \_\_iget() reference would also keep the inode on the list,
but its release must preserve last-reference handling. Another user can
acquire a reference, update lazy timestamps and drop its reference while
the pin is held. If the pin becomes the last reference, dropping it with
atomic\_dec\_and\_test() and evicting directly bypasses iput()'s lazytime
handling and can lose those timestamp updates.

Releasing the pin with iput() preserves that handling, but does not
guarantee eviction. fs\_bdev\_mark\_dead() runs with SB\_ACTIVE set, so iput()
may retain the inode in cache, whereas evict\_inodes() must evict eligible
zero-reference inodes. The inode may also have been freed when iput()
returns, so the walker cannot then use it to force eviction. Using
I\_FREEING preserves the existing eviction behavior without introducing
an additional last-reference transition.

The xfstests auto group passed on ext4 and XFS with known unrelated
failures excluded. No new issues were observed, and the previously
reproducible hung task no longer occurs with this patch.

## Affected and fixed versions

- Linux: \>= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, \< e4f3e476cd4066a815ef68cd6caa1828b9c167d5; \>= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, \< 3cdc6e12ff79f0f8a3ba62d7e61474ae4b5e119a; \>= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, \< 7459c021874246c196f397686e100702f059b9e7 (cvelist)
- Linux: 4.3 (cvelist)

## Mitigation

- Upgrade Linux to 7459c021874246c196f397686e100702f059b9e7 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-98924. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98924.md
Affected: Linux >= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, < e4f3e476cd4066a815ef68cd6caa1828b9c167d5; >= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, < 3cdc6e12ff79f0f8a3ba62d7e61474ae4b5e119a; >= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, < 7459c021874246c196f397686e100702f059b9e7; Linux 4.3
Fixed in: Linux 3cdc6e12ff79f0f8a3ba62d7e61474ae4b5e119a, Linux 7459c021874246c196f397686e100702f059b9e7

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-98924 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, \< e4f3e476cd4066a815ef68cd6caa1828b9c167d5; \>= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, \< 3cdc6e12ff79f0f8a3ba62d7e61474ae4b5e119a; \>= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, \< 7459c021874246c196f397686e100702f059b9e7; Linux 4.3.

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

Yes. Fixed in Linux 3cdc6e12ff79f0f8a3ba62d7e61474ae4b5e119a, Linux 7459c021874246c196f397686e100702f059b9e7. Upgrade Linux to 7459c021874246c196f397686e100702f059b9e7 or later.

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

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

- other: <https://git.kernel.org/stable/c/e4f3e476cd4066a815ef68cd6caa1828b9c167d5>
- other: <https://git.kernel.org/stable/c/3cdc6e12ff79f0f8a3ba62d7e61474ae4b5e119a>
- other: <https://git.kernel.org/stable/c/7459c021874246c196f397686e100702f059b9e7>

## 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-98924>

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