CVE-2026-98924
Last modified
CVE-2026-98924 is a vulnerability of currently unknown severity. 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.
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, < e4f3e476cd4066a815ef68cd6caa1828b9c167d5; >= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, < 3cdc6e12ff79f0f8a3ba62d7e61474ae4b5e119a; >= ac05fbb40062411ea1b722aa2cede7feaa94f1b4, < 7459c021874246c196f397686e100702f059b9e7 |
| Linux | Linux | 4.3 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98924?
How severe is CVE-2026-98924?
How do I fix CVE-2026-98924?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98919In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9892Inappropriate implementation in Skia in Google Chrome on And…8.3
- CVE-2026-98920In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98921In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98922In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98923In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98925In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98926In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98927In the Linux kernel, the following vulnerability has been re…7
- CVE-2026-98928In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98929In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9893Use after free in Skia in Google Chrome prior to 148.0.7778.…8.3
Are you affected by CVE-2026-98924?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
