CVE-2026-99667
mm/khugepaged: always recheck the pmd in try_collapse_pte_mapped_thp()
- 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
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.14.0, <6.18.64 | 6.18.64 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| vendor | Linux | >=6375e95f381e3dc85065b6f74263a61522736203, <3f6b29ecde19cab035f59b65012bc9de9a45eccc | 3f6b29ecde19cab035f59b65012bc9de9a45eccc |
| vendor | Linux | >=6375e95f381e3dc85065b6f74263a61522736203, <9c766a46421509d5a2f46753be3964ae128bf938 | 9c766a46421509d5a2f46753be3964ae128bf938 |
| vendor | Linux | >=6375e95f381e3dc85065b6f74263a61522736203, <aa72cf34d90da7019591ab67533a8ece8b41da2d | aa72cf34d90da7019591ab67533a8ece8b41da2d |
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
- https://git.kernel.org/stable/c/3f6b29ecde19cab035f59b65012bc9de9a45eccc other
- https://git.kernel.org/stable/c/9c766a46421509d5a2f46753be3964ae128bf938 other
- https://git.kernel.org/stable/c/aa72cf34d90da7019591ab67533a8ece8b41da2d other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99667.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99667 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package