Skip to content
DayZeroHub
High Not yet writtenCVSS 7CVE-2026-99667

CVE-2026-99667: mm/khugepaged: always recheck the pmd in try_collapse_pte_mapped_thp()

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99667: high-severity vulnerability (CVSS 7) in Linux Linux.

What happened

Original description from the source: 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 ]

Why it matters

High severity, CVSS 7.

Affected products and versions

Linux Linux >= 6375e95f381e3dc85065b6f74263a61522736203, < 3f6b29ecde19cab035f59b65012bc9de9a45eccc; Linux Linux >= 6375e95f381e3dc85065b6f74263a61522736203, < 9c766a46421509d5a2f46753be3964ae128bf938; Linux Linux >= 6375e95f381e3dc85065b6f74263a61522736203, < aa72cf34d90da7019591ab67533a8ece8b41da2d; Linux Linux 6.14; Linux Linux < 6.14; Linux Linux 6.18.64 (fixed in 6.18.64); Linux Linux 7.3.5 (fixed in 7.3.5); Linux Linux 7.4-rc2 (fixed in 7.4-rc2)

ProductVersionsFixed in
Linux Linux>= 6375e95f381e3dc85065b6f74263a61522736203, < 3f6b29ecde19cab035f59b65012bc9de9a45eccc—
Linux Linux>= 6375e95f381e3dc85065b6f74263a61522736203, < 9c766a46421509d5a2f46753be3964ae128bf938—
Linux Linux>= 6375e95f381e3dc85065b6f74263a61522736203, < aa72cf34d90da7019591ab67533a8ece8b41da2d—
Linux Linux6.14—
Linux Linux< 6.14—
Linux Linux6.18.646.18.64
Linux Linux7.3.57.3.5
Linux Linux7.4-rc27.4-rc2

Action recommended by the source

Upgrade to a fixed version: 6.18.64, 7.3.5, 7.4-rc2.

Fixed in: 6.18.64, 7.3.5, 7.4-rc2

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.