CVE-2026-99951: fs: don't lose inodes that another LRU walker is isolating

Published Nov 30, 2026
·
Updated

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

fs: don't lose inodes that another LRU walker is isolating

When inodelruisolate() finds an unused inode that still has page cache, it sets ILRUISOLATING, drops ilock and the listlru lock, invalidates the page cache, clears the flag again and returns LRURETRY so that the restarted walk can free the inode.

Another walker of the same list can reach the inode in that window. It sees a non-zero istate and takes the inode off the LRU, as it would an inode that is in use. Page cache deletion requeues the inode once the mapping is shrinkable, so this is harmless if it happens before the last deletion. If it happens after, nothing puts the inode back: it stays in memory, unused, clean and without page cache, out of reach of the shrinker and of dropcaches, until it is looked up again or the filesystem is unmounted.

Before commit 2a0629834cd8 ("vfs: Don't evict inode under the inode lru traversing context") the pin was an icount reference, and the final iput() put the inode back on the LRU.

Skip inodes that are being isolated and leave them to the walker that pinned them, which restarts its walk once it has unpinned them.

The window is reached by any unused inode with page cache on CONFIGHIGHMEM kernels, and otherwise by inodes whose page cache is a single shadow entry at index 0. On an i386 HIGHMEM guest, eight concurrent "echo 2 > /proc/sys/vm/dropcaches" over 2000 freshly read one-page ext4 files leave roughly 400 of the inodes off the LRU per round; on x8664, with the files' pages first evicted through memory.reclaim, 3 to 4 per round. With this patch, none in either case.

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