Kernel Kit / Infix / v26.10.0latest
CVE-2026-99666
—unknownlinux6.18.60 · 6.18.54 · 6.18.8in 3 of 4 releases
Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach linux · 6 builds in 3 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
mm/khugepaged: fix PMD table lock leak in try_collapse_pte_mapped_thp()
For a private mapping with userfaultfd, try_collapse_pte_mapped_thp() takes the PMD table lock before it maps the page table for the second time. If that (pte_offset_map_rw_nolock) fails, because the page table vanished in the meantime due to concurrent page table reclaim, it leaves through the abort label, where the PMD table lock is unlocked if it differs from PTE table lock.
In case the PMD table lock and the PTE table lock match, which is the case without CONFIG_SPLIT_PTE_PTLOCKS after pte_offset_map_rw_nolock() failed, we miss to unlock the PMD table.
To fix it, forget the PTE table lock when we unmap+unlock the PTE table.
Fix generated by an LLM and sent by Josef Bacik in private.
[ david: move the ptl = NULL handling; rewrite description, drop wrong comments ]
Published 2026-11-20NVD
Build check · v26.10.0 x86_64
None of the source files the CNA lists for CVE-2026-99666 (mm/khugepaged.c) produced an object file in linux-6.18.60, so the affected code is not compiled into this kernel configuration.
Evidence 1
object file absent: not compiled
output/build/linux-6.18.60/mm/khugepaged.o
Members of Kernel Kit decide. Sign in if you are one.