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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-11-30T13:18:36.129Z
- Modified: 2026-11-30T14:20:32.807Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 03880af02a78bc9a98b5a581f529cf709c88a9b8 before 73cc9975db55ff9567f3f9840627fad73e9eb9d7; from cda54ec82c0f9d05393242b20b13f69b083f7e88 before 93f2dacedffaa04682412306d6824fc238ab5fa2; from 437741eba63bf4e437e2beb5583f8633556a2b98 before a27420a4e7df63570f1630757fba9715fba1ed75; from b9bda5f6012dd00372f3a06a82ed8971a4c57c32 before b3144f1e814353470106a0e4a2b41381c4279d55; from 2a0629834cd82f05d424bbc193374f9a43d1f87d before 6d72e70fe8835de95fa277f016979f297ffa6823; from 2a0629834cd82f05d424bbc193374f9a43d1f87d before c61b2125a21e1c5035961fb06718f0af68ffd64c; from 2a0629834cd82f05d424bbc193374f9a43d1f87d before 4005fb67dee0cd88b5a1e3f6ef66859bc0517c06; from 2a0629834cd82f05d424bbc193374f9a43d1f87d before 8ee09f597763acfd31c62a578ba88b792fc41b24; 3525ad25240dfdd8c78f3470911ed10aa727aa72; 9063ab49c11e9518a3f2352434bb276cc8134c5f; from 5.10.225 before 5.10.275; from 5.15.166 before 5.15.226; and 5 more (not affected: before 6.11; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/73cc9975db55ff9567f3f9840627fad73e9eb9d7>
- <https://git.kernel.org/stable/c/93f2dacedffaa04682412306d6824fc238ab5fa2>
- <https://git.kernel.org/stable/c/a27420a4e7df63570f1630757fba9715fba1ed75>
- <https://git.kernel.org/stable/c/b3144f1e814353470106a0e4a2b41381c4279d55>
- <https://git.kernel.org/stable/c/6d72e70fe8835de95fa277f016979f297ffa6823>
- <https://git.kernel.org/stable/c/c61b2125a21e1c5035961fb06718f0af68ffd64c>
- <https://git.kernel.org/stable/c/4005fb67dee0cd88b5a1e3f6ef66859bc0517c06>
- <https://git.kernel.org/stable/c/8ee09f597763acfd31c62a578ba88b792fc41b24>

## Sources

- CVE List: [CVE-2026-99954](https://www.cve.org/CVERecord?id=CVE-2026-99954), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99954](https://nvd.nist.gov/vuln/detail/CVE-2026-99954), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99954 · Whole record: https://cve.day/CVE-2026-99954.json · Rebuilt by cve.day 2026-11-30T14:33:35.369Z
