PT-2026-152546
CVE-2026-99666
·
Published
2026-11-20
·
Updated
2026-11-20
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
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 ]
Found an issue in the description? Have something to add? Feel free to write us 👾