{"id":"CVE-2026-138979","aliases":["CVE-2026-138979"],"related":[],"kind":"vulnerability","state":"published","title":"KVM: arm64: ptdump: Check the page tables aren't freed when accessing","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: arm64: ptdump: Check the page tables aren't freed when accessing\n\nAn open debugfs file keeps the KVM structure alive, but does not prevent\nmmu notifier release from freeing the stage-2 page tables when the VMM’s\naddress space is torn down. Therefore page tables belonging to the mmus\ncould have been freed when a thread opens or reads the ptdump files.\nTake the mmu_lock and check mmu->pgt is still alive before accessing the\npage tables.\n\nAlso for the ipa_range file and stage2_levels file, switch from keeping\nthe pointer to the page tables to keeping the pointer to the mmu.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: arm64: ptdump: Check the page tables aren't freed when accessing\n\nAn open debugfs file keeps the KVM structure alive, but does not prevent\nmmu notifier release from freeing the stage-2 page tables when the VMM’s\naddress space is torn down. Therefore page tables belonging to the mmus\ncould have been freed when a thread opens or reads the ptdump files.\nTake the mmu_lock and check mmu->pgt is still alive before accessing the\npage tables.\n\nAlso for the ipa_range file and stage2_levels file, switch from keeping\nthe pointer to the page tables to keeping the pointer to the mmu.","source":"cvelist"}],"published":"2026-11-30T13:26:45.345Z","modified":"2026-11-30T14:18:00.093Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7c4f73548ed15476daf1101f66648085eda65067","fixed":"642588ea2f2cd471661f289b004c23a81449b30d","status":"affected"},{"type":"git","introduced":"7c4f73548ed15476daf1101f66648085eda65067","fixed":"c1d29c78ef52c29ab37f886ad643752734fdc932","status":"affected"},{"type":"git","introduced":"7c4f73548ed15476daf1101f66648085eda65067","fixed":"942fdac99284d08d6079a0979d00a76402cff08e","status":"affected"},{"type":"git","introduced":"7c4f73548ed15476daf1101f66648085eda65067","fixed":"7d7199bdf77a3a6ed74d0037133f435a7febe97c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","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/642588ea2f2cd471661f289b004c23a81449b30d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c1d29c78ef52c29ab37f886ad643752734fdc932","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/942fdac99284d08d6079a0979d00a76402cff08e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d7199bdf77a3a6ed74d0037133f435a7febe97c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138979","url":"https://www.cve.org/CVERecord?id=CVE-2026-138979","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:45.345Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138979","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138979","licence":"Public domain","modified":"2026-11-30T14:18:00.093Z"}],"updatedAt":"2026-11-30T14:32:41.340Z","epss":{"score":0.00209,"percentile":0.11658,"date":"2026-12-01T12:00:22.000Z"}}