{"id":"CVE-2026-99668","summary":"mm/huge_memory: fix zapping migration entries for device-private THPs","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: fix zapping migration entries for device-private THPs\n\nA PMD migration entry can refer to a device-private folio.\nzap_huge_pmd_folio() checks the folio type instead of the entry type,\nso it treats such a migration entry as a device-private entry.\n\nInstalling the migration entry already removed the reverse mapping and\ndropped the mapping reference. Zapping it must not repeat those\noperations. Concurrent MADV_DONTNEED during migration back to system\nmemory can trigger this.\n\nCheck the PMD entry type using pmd_is_device_private_entry().\n\nFix generated by an LLM and sent by Chris Mason in private.\n\n[ david: simplify description ]","modified":"2026-11-20T07:01:06.600470898Z","published":"2026-11-20T05:50:18.124Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99668.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2d7e94a16d0d33ce2cce5ea06cf61079c392d351"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63a940541358d09cc9f02d40b71eb8d3917a21c0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99668.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99668"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"368076f52ebeecd33e10a9f80905d7508b6b6149"},{"fixed":"2d7e94a16d0d33ce2cce5ea06cf61079c392d351"},{"fixed":"63a940541358d09cc9f02d40b71eb8d3917a21c0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99668.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99668.json"}}],"schema_version":"1.9.2"}