{"id":"CVE-2026-138979","summary":"KVM: arm64: ptdump: Check the page tables aren't freed when accessing","details":"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-\u003epgt 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.","modified":"2026-11-30T15:01:41.782828147Z","published":"2026-11-30T13:26:45.345Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138979.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/642588ea2f2cd471661f289b004c23a81449b30d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d7199bdf77a3a6ed74d0037133f435a7febe97c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/942fdac99284d08d6079a0979d00a76402cff08e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c1d29c78ef52c29ab37f886ad643752734fdc932"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138979.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138979"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7c4f73548ed15476daf1101f66648085eda65067"},{"fixed":"642588ea2f2cd471661f289b004c23a81449b30d"},{"fixed":"c1d29c78ef52c29ab37f886ad643752734fdc932"},{"fixed":"942fdac99284d08d6079a0979d00a76402cff08e"},{"fixed":"7d7199bdf77a3a6ed74d0037133f435a7febe97c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138979.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.12.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138979.json"}}],"schema_version":"1.9.2"}