← VULNERABILITIES

CVE-2026-99667

mm/khugepaged: always recheck the pmd in try_collapse_pte_mapped_thp()

High · 7.0Fix available
CVSS
7
EPSS
0.15% (p5)
Published
2026-11-20
Age
14d old
Modified
2026-11-22
Product
Linux Linux

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

In the Linux kernel, the following vulnerability has been resolved: mm/khugepaged: always recheck the pmd in try_collapse_pte_mapped_thp() try_collapse_pte_mapped_thp() drops the PTE lock after it has cleared the page table, and takes the PMD lock and the PTE lock to remove it. In between, MADV_DONTNEED with CONFIG_PT_RECLAIM can reclaim the page table. The pmd_same() check is supposed to handle this, but it is only done with CONFIG_SPLIT_PTE_PTLOCKS. Fix it by performing the check unconditionally. Fix generated by an LLM and sent by Josef Bacik in private. [ david: adjust description ]

Fixed in

3f6b29ecde19cab035f59b65012bc9de9a45eccc · 6.18.64 · 7.3.5 · 9c766a46421509d5a2f46753be3964ae128bf938 · aa72cf34d90da7019591ab67533a8ece8b41da2d

Affected packages

EcosystemPackageRangeFixed
LinuxKernel>=6.14.0, <6.18.646.18.64
LinuxKernel>=6.19.0, <7.3.57.3.5
vendorLinux>=6375e95f381e3dc85065b6f74263a61522736203, <3f6b29ecde19cab035f59b65012bc9de9a45eccc3f6b29ecde19cab035f59b65012bc9de9a45eccc
vendorLinux>=6375e95f381e3dc85065b6f74263a61522736203, <9c766a46421509d5a2f46753be3964ae128bf9389c766a46421509d5a2f46753be3964ae128bf938
vendorLinux>=6375e95f381e3dc85065b6f74263a61522736203, <aa72cf34d90da7019591ab67533a8ece8b41da2daa72cf34d90da7019591ab67533a8ece8b41da2d

Sources

  • NVD · first seen 14d ago · NVD terms of use
  • OSV · first seen 13d ago · CC-BY 4.0
  • CVE List · first seen 14d ago · CVE Terms of Use

References

JSON