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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 6.6.48 <6.6.163 | — |
| Linux | Linux | 2a0629834cd82f05d424bbc193374f9a43d1f87d <4005fb67dee0cd88b5a1e3f6ef66859bc0517c06 | — |
| Linux | Linux | patch: 6.12.118 | — |
| Linux | Linux | 6.1.107 <6.1.193 | — |
| Linux | Linux | 2a0629834cd82f05d424bbc193374f9a43d1f87d <6d72e70fe8835de95fa277f016979f297ffa6823 | — |
| Linux | Linux | b9bda5f6012dd00372f3a06a82ed8971a4c57c32 <b3144f1e814353470106a0e4a2b41381c4279d55 | — |
| Linux | Linux | patch: 5.10.275 | — |
| Linux | Linux | patch: 7.3.4 | — |
| Linux | Linux | 437741eba63bf4e437e2beb5583f8633556a2b98 <a27420a4e7df63570f1630757fba9715fba1ed75 | — |
| Linux | Linux | patch: 6.1.193 | — |
| Linux | Linux | patch: 6.18.64 | — |
| Linux | Linux | patch: 7.4-rc1 | — |
| Linux | Linux | 5.4.283 <5.5 | — |
| Linux | Linux | patch: 6.6.163 | — |
| Linux | Linux | cda54ec82c0f9d05393242b20b13f69b083f7e88 <93f2dacedffaa04682412306d6824fc238ab5fa2 | — |
| Linux | Linux | 5.10.225 <5.10.275 | — |
| Linux | Linux | 03880af02a78bc9a98b5a581f529cf709c88a9b8 <73cc9975db55ff9567f3f9840627fad73e9eb9d7 | — |
| Linux | Linux | patch: 0 | — |
| Linux | Linux | 2a0629834cd82f05d424bbc193374f9a43d1f87d <8ee09f597763acfd31c62a578ba88b792fc41b24 | — |
| Linux | Linux | 6.11 | — |
| Linux | Linux | 3525ad25240dfdd8c78f3470911ed10aa727aa72 | — |
| Linux | Linux | patch: 5.15.226 | — |
| Linux | Linux | 2a0629834cd82f05d424bbc193374f9a43d1f87d <c61b2125a21e1c5035961fb06718f0af68ffd64c | — |
| Linux | Linux | 9063ab49c11e9518a3f2352434bb276cc8134c5f | — |
| Linux | Linux | 5.15.166 <5.15.226 | — |
| Linux | Linux | 6.10.7 <6.11 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 7.3.4-1 | — |
| Debian 13 | linux | 6.12.118-1 | — |
| Debian 12 | linux | No fix yet | — |
| Debian 12 | linux-6.12 | 6.12.118-1~deb12u1 | DLA-4961-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Nvidia-BlueField 24.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu Nvidia-BlueField 22.04 LTS | linux-bluefield | No fix yet | — |
| Ubuntu 26.10 | linux +8 | No fix yet | — |
| Ubuntu 26.04 LTS | linux +14 | No fix yet | — |
| Ubuntu 24.04 LTS | linux +52 | No fix yet | — |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | linux +59 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime +3 | No fix yet | — |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime +2 | No fix yet | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 22.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro FIPS-updates 20.04 LTS | linux-fips +3 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | linux +21 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | linux-aws-5.4 +6 | No fix yet | — |
Advisories 2
- DLA-4961-1 linux-6.12 - security update Debian Security (DSA / DLA) · Dec 2, 2026
- WID-SEC-2026-4889 Linux Kernel: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Nov 30, 2026
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