{"id":"CVE-2026-99667","aliases":["CVE-2026-99667"],"related":[],"kind":"vulnerability","state":"published","title":"mm/khugepaged: always recheck the pmd in try_collapse_pte_mapped_thp()","summary":"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 ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 ]","source":"cvelist"}],"published":"2026-11-20T05:50:17.274Z","modified":"2026-11-22T11:17:05.210Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6375e95f381e3dc85065b6f74263a61522736203","fixed":"3f6b29ecde19cab035f59b65012bc9de9a45eccc","status":"affected"},{"type":"git","introduced":"6375e95f381e3dc85065b6f74263a61522736203","fixed":"9c766a46421509d5a2f46753be3964ae128bf938","status":"affected"},{"type":"git","introduced":"6375e95f381e3dc85065b6f74263a61522736203","fixed":"aa72cf34d90da7019591ab67533a8ece8b41da2d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3f6b29ecde19cab035f59b65012bc9de9a45eccc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9c766a46421509d5a2f46753be3964ae128bf938","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa72cf34d90da7019591ab67533a8ece8b41da2d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99667","url":"https://www.cve.org/CVERecord?id=CVE-2026-99667","licence":"CVE Terms of Use","modified":"2026-11-22T11:09:31.836Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99667","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99667","licence":"Public domain","modified":"2026-11-22T11:17:05.210Z"}],"updatedAt":"2026-11-25T22:59:52.300Z","epss":{"score":0.00152,"percentile":0.04601,"date":"2026-12-01T12:00:22.000Z"}}