CVE-2026-99954: fs: rotate inodes whose page cache could not be dropped

Published Nov 30, 2026
·
Updated

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

fs: rotate inodes whose page cache could not be dropped

When inodelruisolate() drops the page cache of an unused inode, it has to unlock the list, so it returns LRURETRY and the walk restarts at the head of the list, where the inode still is. If invalidatemappingpages() could not empty the mapping, the restarted walk strips the same inode again, and so on until nrtowalk runs out. Every walk of that list then ends on this inode, and nothing behind it is reclaimed for as long as its cache stays.

Before commit 2a0629834cd8 ("vfs: Don't evict inode under the inode lru traversing context") the walker pinned the inode with a reference, and dropping it in iputfinal() set IREFERENCED, so the restarted walk rotated the inode to the tail. Set IREFERENCED again when the mapping is still populated after the invalidation, in the same ilock section that clears ILRUISOLATING. inodeunpinlruisolating() now expects ilock to be held, like inodepinlruisolating().

On CONFIGHIGHMEM kernels this can happen to any unused inode: a folio is left behind if it is locked, under writeback, spliced into a pipe, or still in another CPU's LRU-add batch after being read. Without HIGHMEM it happens to DAX inodes whose only entry is at index 0, which mappingshrinkable() lets onto the LRU and invalidatemappingpages() never removes.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:18 PM
Data Sourced
via MITRE·01:18 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203