Bug 2577611 (CVE-2026-99707) - CVE-2026-99707 kernel: kernel: privilege escalation via missing TLB flush in khugepaged
Summary: CVE-2026-99707 kernel: kernel: privilege escalation via missing TLB flush in ...
Keywords:
Status: NEW
Alias: CVE-2026-99707
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-20 06:03 UTC by OSIDB Bzimport
Modified: 2026-11-20 07:05 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-20 06:03:49 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.