Skip to content
Threat Brief

← All advisories

CVE-2026-99666

Severity unknownNo known exploitationFix available

mm/khugepaged: fix PMD table lock leak in try_collapse_pte_mapped_thp()

Record last updated

CVSS score

None

No score published yet

EPSS, chance of exploitation in 30 days

0.2%

Higher than 6% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

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 ]

Patching and mitigation

Patch status
Fix available (source: CVE record (Linux))
Fix documented (source date)
Mitigation
None documented
Vendor guidance
No vendor link on record

Affected products

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom 6375e95f381e3dc85065b6f74263a61522736203 before ad5e5800ce560759c8d3c10aac15b48a06cd21c1ad5e5800ce560759c8d3c10aac15b48a06cd21c1CVE Program
LinuxLinuxfrom 6375e95f381e3dc85065b6f74263a61522736203 before db38b902307e687219ec765ef51a6ef459746c87db38b902307e687219ec765ef51a6ef459746c87CVE Program
LinuxLinuxfrom 6375e95f381e3dc85065b6f74263a61522736203 before 7c1170ce1b74a8cd83da2174a3eb9e0755bb1b167c1170ce1b74a8cd83da2174a3eb9e0755bb1b16CVE Program
LinuxLinux6.14Not documentedCVE Program
LinuxLinux (unaffected)from 6.18.64 up to and including 6.18.*Not documentedCVE Program
LinuxLinux (unaffected)from 7.3.5 up to and including 7.3.*Not documentedCVE Program
LinuxLinux (unaffected)7.4-rc2Not documentedCVE Program
LinuxLinux (unaffected)all versions before 6.14Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by CVE record (Linux)

    Source: CVE record (Linux) (opens in a new tab)

Vendor guidance and references