PT-2026-162921
CVE-2026-99954
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
fs: rotate inodes whose page cache could not be dropped
When inode lru isolate() drops the page cache of an unused inode, it
has to unlock the list, so it returns LRU RETRY and the walk restarts
at the head of the list, where the inode still is. If
invalidate mapping pages() could not empty the mapping, the restarted
walk strips the same inode again, and so on until nr to walk 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 iput final() set I REFERENCED, so the restarted walk
rotated the inode to the tail. Set I REFERENCED again when the mapping
is still populated after the invalidation, in the same i lock section
that clears I LRU ISOLATING. inode unpin lru isolating() now expects
i lock to be held, like inode pin lru isolating().
On CONFIG HIGHMEM 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
mapping shrinkable() lets onto the LRU and invalidate mapping pages()
never removes.
Found an issue in the description? Have something to add? Feel free to write us 👾