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

Summary

CVECVE-2026-99951
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:20:32 UTC
Updated2026-11-30 14:20:32 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: fs: don't lose inodes that another LRU walker is isolating When inode_lru_isolate() finds an unused inode that still has page cache, it sets I_LRU_ISOLATING, drops i_lock and the list_lru lock, invalidates the page cache, clears the flag again and returns LRU_RETRY 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 i_state 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 drop_caches, 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 i_count 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 CONFIG_HIGHMEM 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/drop_caches" over 2000 freshly read one-page ext4 files leave roughly 400 of the inodes off the LRU per round; on x86_64, with the files' pages first evicted through memory.reclaim, 3 to 4 per round. With this patch, none in either case.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 03880af02a78bc9a98b5a581f529cf709c88a9b8 9cd62043153bb009ab94c5bb6a397ddc9baf3ad5 git Not specified
CNA Linux Linux affected cda54ec82c0f9d05393242b20b13f69b083f7e88 ee9bf356f2da02bf15b3dcb3a7cd7a2f419903cd git Not specified
CNA Linux Linux affected 437741eba63bf4e437e2beb5583f8633556a2b98 b84f67a325756cf872c4399b643aa50bf1d0f393 git Not specified
CNA Linux Linux affected b9bda5f6012dd00372f3a06a82ed8971a4c57c32 4b6a980bf6999070a46de08c0587fc631e04e5cb git Not specified
CNA Linux Linux affected 2a0629834cd82f05d424bbc193374f9a43d1f87d a08d654798b9a3504b6690bf0ba3cd20e4d1f5a4 git Not specified
CNA Linux Linux affected 2a0629834cd82f05d424bbc193374f9a43d1f87d dd6dafb38185d4563cd237c08da2649a191a3162 git Not specified
CNA Linux Linux affected 2a0629834cd82f05d424bbc193374f9a43d1f87d cd0e590ad13a0f2e2d1b7c47ca1c4ce2bb6deb60 git Not specified
CNA Linux Linux affected 2a0629834cd82f05d424bbc193374f9a43d1f87d 8dc4116041e2b377e5e1b62ba98b37636f9f3968 git Not specified
CNA Linux Linux affected 3525ad25240dfdd8c78f3470911ed10aa727aa72 git Not specified
CNA Linux Linux affected 9063ab49c11e9518a3f2352434bb276cc8134c5f git Not specified
CNA Linux Linux affected 5.10.225 5.10.275 semver Not specified
CNA Linux Linux affected 5.15.166 5.15.226 semver Not specified
CNA Linux Linux affected 6.1.107 6.1.193 semver Not specified
CNA Linux Linux affected 6.6.48 6.6.163 semver Not specified
CNA Linux Linux affected 5.4.283 5.5 semver Not specified
CNA Linux Linux affected 6.10.7 6.11 semver Not specified
CNA Linux Linux affected 6.11 Not specified
CNA Linux Linux unaffected 6.11 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.118 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.64 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/ee9bf356f2da02bf15b3dcb3a7cd7a2f419903cd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b84f67a325756cf872c4399b643aa50bf1d0f393 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/cd0e590ad13a0f2e2d1b7c47ca1c4ce2bb6deb60 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9cd62043153bb009ab94c5bb6a397ddc9baf3ad5 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/dd6dafb38185d4563cd237c08da2649a191a3162 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a08d654798b9a3504b6690bf0ba3cd20e4d1f5a4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/8dc4116041e2b377e5e1b62ba98b37636f9f3968 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4b6a980bf6999070a46de08c0587fc631e04e5cb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report