{"id":"CVE-2026-99954","aliases":["CVE-2026-99954"],"related":[],"kind":"vulnerability","state":"published","title":"fs: rotate inodes whose page cache could not be dropped","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs: rotate inodes whose page cache could not be dropped\n\nWhen inode_lru_isolate() drops the page cache of an unused inode, it\nhas to unlock the list, so it returns LRU_RETRY and the walk restarts\nat the head of the list, where the inode still is. If\ninvalidate_mapping_pages() could not empty the mapping, the restarted\nwalk strips the same inode again, and so on until nr_to_walk runs out.\nEvery walk of that list then ends on this inode, and nothing behind it\nis reclaimed for as long as its cache stays.\n\nBefore commit 2a0629834cd8 (\"vfs: Don't evict inode under the inode lru\ntraversing context\") the walker pinned the inode with a reference, and\ndropping it in iput_final() set I_REFERENCED, so the restarted walk\nrotated the inode to the tail. Set I_REFERENCED again when the mapping\nis still populated after the invalidation, in the same i_lock section\nthat clears I_LRU_ISOLATING. inode_unpin_lru_isolating() now expects\ni_lock to be held, like inode_pin_lru_isolating().\n\nOn CONFIG_HIGHMEM kernels this can happen to any unused inode: a folio\nis left behind if it is locked, under writeback, spliced into a pipe,\nor still in another CPU's LRU-add batch after being read. Without\nHIGHMEM it happens to DAX inodes whose only entry is at index 0, which\nmapping_shrinkable() lets onto the LRU and invalidate_mapping_pages()\nnever removes.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs: rotate inodes whose page cache could not be dropped\n\nWhen inode_lru_isolate() drops the page cache of an unused inode, it\nhas to unlock the list, so it returns LRU_RETRY and the walk restarts\nat the head of the list, where the inode still is. If\ninvalidate_mapping_pages() could not empty the mapping, the restarted\nwalk strips the same inode again, and so on until nr_to_walk runs out.\nEvery walk of that list then ends on this inode, and nothing behind it\nis reclaimed for as long as its cache stays.\n\nBefore commit 2a0629834cd8 (\"vfs: Don't evict inode under the inode lru\ntraversing context\") the walker pinned the inode with a reference, and\ndropping it in iput_final() set I_REFERENCED, so the restarted walk\nrotated the inode to the tail. Set I_REFERENCED again when the mapping\nis still populated after the invalidation, in the same i_lock section\nthat clears I_LRU_ISOLATING. inode_unpin_lru_isolating() now expects\ni_lock to be held, like inode_pin_lru_isolating().\n\nOn CONFIG_HIGHMEM kernels this can happen to any unused inode: a folio\nis left behind if it is locked, under writeback, spliced into a pipe,\nor still in another CPU's LRU-add batch after being read. Without\nHIGHMEM it happens to DAX inodes whose only entry is at index 0, which\nmapping_shrinkable() lets onto the LRU and invalidate_mapping_pages()\nnever removes.","source":"cvelist"}],"published":"2026-11-30T13:18:36.129Z","modified":"2026-11-30T14:20:32.807Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"03880af02a78bc9a98b5a581f529cf709c88a9b8","fixed":"73cc9975db55ff9567f3f9840627fad73e9eb9d7","status":"affected"},{"type":"git","introduced":"cda54ec82c0f9d05393242b20b13f69b083f7e88","fixed":"93f2dacedffaa04682412306d6824fc238ab5fa2","status":"affected"},{"type":"git","introduced":"437741eba63bf4e437e2beb5583f8633556a2b98","fixed":"a27420a4e7df63570f1630757fba9715fba1ed75","status":"affected"},{"type":"git","introduced":"b9bda5f6012dd00372f3a06a82ed8971a4c57c32","fixed":"b3144f1e814353470106a0e4a2b41381c4279d55","status":"affected"},{"type":"git","introduced":"2a0629834cd82f05d424bbc193374f9a43d1f87d","fixed":"6d72e70fe8835de95fa277f016979f297ffa6823","status":"affected"},{"type":"git","introduced":"2a0629834cd82f05d424bbc193374f9a43d1f87d","fixed":"c61b2125a21e1c5035961fb06718f0af68ffd64c","status":"affected"},{"type":"git","introduced":"2a0629834cd82f05d424bbc193374f9a43d1f87d","fixed":"4005fb67dee0cd88b5a1e3f6ef66859bc0517c06","status":"affected"},{"type":"git","introduced":"2a0629834cd82f05d424bbc193374f9a43d1f87d","fixed":"8ee09f597763acfd31c62a578ba88b792fc41b24","status":"affected"},{"type":"git","version":"3525ad25240dfdd8c78f3470911ed10aa727aa72","status":"affected"},{"type":"git","version":"9063ab49c11e9518a3f2352434bb276cc8134c5f","status":"affected"},{"type":"semver","introduced":"5.10.225","fixed":"5.10.275","status":"affected"},{"type":"semver","introduced":"5.15.166","fixed":"5.15.226","status":"affected"},{"type":"semver","introduced":"6.1.107","fixed":"6.1.193","status":"affected"},{"type":"semver","introduced":"6.6.48","fixed":"6.6.163","status":"affected"},{"type":"semver","introduced":"5.4.283","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"6.10.7","fixed":"6.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/73cc9975db55ff9567f3f9840627fad73e9eb9d7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/93f2dacedffaa04682412306d6824fc238ab5fa2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a27420a4e7df63570f1630757fba9715fba1ed75","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b3144f1e814353470106a0e4a2b41381c4279d55","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d72e70fe8835de95fa277f016979f297ffa6823","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c61b2125a21e1c5035961fb06718f0af68ffd64c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4005fb67dee0cd88b5a1e3f6ef66859bc0517c06","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ee09f597763acfd31c62a578ba88b792fc41b24","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99954","url":"https://www.cve.org/CVERecord?id=CVE-2026-99954","licence":"CVE Terms of Use","modified":"2026-11-30T13:18:36.129Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99954","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99954","licence":"Public domain","modified":"2026-11-30T14:20:32.807Z"}],"updatedAt":"2026-11-30T14:33:35.369Z","epss":{"score":0.00325,"percentile":0.27623,"date":"2026-12-01T12:00:22.000Z"}}