7.8

CVE-2026-99707

mm/khugepaged: flush deferred unmaps before dropping a failed folio

In the Linux kernel, the following vulnerability has been resolved:

mm/khugepaged: flush deferred unmaps before dropping a failed folio

collapse_file() can fail its reference-count or dirty-folio check after
unmapping with TTU_BATCH_FLUSH.  Both paths put back the isolated folio,
then unlock it and drop the lookup reference before reaching the common
try_to_unmap_flush().

The page-cache reference does not keep the folio stable once the lock is
released.  Another collapse can replace and free it.  With its PTEs
already gone, that collapse cannot flush the first task's per-task TLB
batch, and retract_page_tables() skips short or unaligned VMAs.  A CPU can
therefore retain a user translation to the freed folio.  This has been
reproduced with unprivileged MADV_COLLAPSE on a memfd.

Flush at out_unlock while the lookup reference and folio lock are still
held.  The common flush continues to cover the accumulated pagelist on
both success and rollback, preserving batching on successful collapses.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde
Version < 61e8b187e011489adcb35aca629431c9b6c7f79a
Status affected
Version 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde
Version < d21e723479d96deeb0f28bca75050e0ce13c5b7b
Status affected
Version 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde
Version < d9d621ad49a969587d32c98aee1d83e679b9d361
Status affected
Version 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde
Version < cf1902ab0203f8767a3582143049d1bea5422096
Status affected
Version 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde
Version < 8c4adb787f77318df3b478f928f271e26d557208
Status affected
Version 6d9df8a5889c569ab9e3bcb38b12e5b81b6b9bde
Version < 854e5ff8b3ce2a776586cabebaeae645c992345b
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 5.18
Status affected
Version 0
Version < 5.18
Status unaffected
Version <= 6.1.*
Version 6.1.193
Status unaffected
Version <= 6.6.*
Version 6.6.163
Status unaffected
Version <= 6.12.*
Version 6.12.118
Status unaffected
Version <= 6.18.*
Version 6.18.64
Status unaffected
Version <= 7.3.*
Version 7.3.5
Status unaffected
Version <= *
Version 7.4-rc2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.063
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/d9d621ad49a969587d32c98aee1d83e679b9d361
https://git.kernel.org/stable/c/cf1902ab0203f8767a3582143049d1bea5422096
https://git.kernel.org/stable/c/8c4adb787f77318df3b478f928f271e26d557208
https://git.kernel.org/stable/c/854e5ff8b3ce2a776586cabebaeae645c992345b
https://git.kernel.org/stable/c/61e8b187e011489adcb35aca629431c9b6c7f79a
https://git.kernel.org/stable/c/d21e723479d96deeb0f28bca75050e0ce13c5b7b