PT-2026-162921
CVE-2026-99954
·
Publicado
2026-11-30
·
Atualizado
2026-11-30
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾