mm/khugepaged: always recheck the pmd in try_collapse_pte_mapped_thp()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3f6b29ecde19cab035f59b65012bc9de9a45eccc, Kernel 9c766a46421509d5a2f46753be3964ae128bf938, Kernel aa72cf34d90da7019591ab67533a8ece8b41da2d and 2 more.
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 ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.14, >=6375e95f381e3dc85065b6f74263a61522736203 <3f6b29ecde19cab035f59b65012bc9de9a45eccc, >=6375e95f381e3dc85065b6f74263a61522736203 <9c766a46421509d5a2f46753be3964ae128bf938, >=6375e95f381e3dc85065b6f74263a61522736203 <aa72cf34d90da7019591ab67533a8ece8b41da2d | 3f6b29ecde19cab035f59b65012bc9de9a45eccc, 9c766a46421509d5a2f46753be3964ae128bf938, aa72cf34d90da7019591ab67533a8ece8b41da2d |
| linux-kernel: Kernel | >=6.14.0 <6.18.64, >=6.19.0 <7.3.5 | 6.18.64, 7.3.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket