{"id":"CVE-2026-99667","aliases":[],"title":"mm/khugepaged: always recheck the pmd in try_collapse_pte_mapped_thp()","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/khugepaged: always recheck the pmd in try_collapse_pte_mapped_thp()\n\ntry_collapse_pte_mapped_thp() drops the PTE lock after it has cleared the\npage table, and takes the PMD lock and the PTE lock to remove it.\n\nIn between, MADV_DONTNEED with CONFIG_PT_RECLAIM can reclaim the\npage table. The pmd_same() check is supposed to handle this, but it is\nonly done with CONFIG_SPLIT_PTE_PTLOCKS.\n\nFix it by performing the check unconditionally.\n\nFix generated by an LLM and sent by Josef Bacik in private.\n\n[ david: adjust description ]","severity":{"cvss":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00152,"percentile":0.04592},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=6.14.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"vendor","name":"Linux","range":">=6375e95f381e3dc85065b6f74263a61522736203, <3f6b29ecde19cab035f59b65012bc9de9a45eccc","fixed":"3f6b29ecde19cab035f59b65012bc9de9a45eccc"},{"ecosystem":"vendor","name":"Linux","range":">=6375e95f381e3dc85065b6f74263a61522736203, <9c766a46421509d5a2f46753be3964ae128bf938","fixed":"9c766a46421509d5a2f46753be3964ae128bf938"},{"ecosystem":"vendor","name":"Linux","range":">=6375e95f381e3dc85065b6f74263a61522736203, <aa72cf34d90da7019591ab67533a8ece8b41da2d","fixed":"aa72cf34d90da7019591ab67533a8ece8b41da2d"}],"references":[{"url":"https://git.kernel.org/stable/c/3f6b29ecde19cab035f59b65012bc9de9a45eccc","type":"other"},{"url":"https://git.kernel.org/stable/c/9c766a46421509d5a2f46753be3964ae128bf938","type":"other"},{"url":"https://git.kernel.org/stable/c/aa72cf34d90da7019591ab67533a8ece8b41da2d","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99667.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99667","type":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-22T11:19:01.158Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99667","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.077Z"},{"name":"osv","at":"2026-11-22T13:31:45.982Z","url":"https://osv.dev/vulnerability/CVE-2026-99667","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T21:22:48.645Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:03.531Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99667","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:14.272Z"}],"firstSeenAt":"2026-11-20T06:28:14.272Z","publishedAt":"2026-11-20T05:50:17.274Z","modifiedAt":"2026-11-22T13:00:33.703Z"}