{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "7c4f73548ed15476daf1101f66648085eda65067"
            },
            {
              "fixed": "642588ea2f2cd471661f289b004c23a81449b30d"
            },
            {
              "fixed": "c1d29c78ef52c29ab37f886ad643752734fdc932"
            },
            {
              "fixed": "942fdac99284d08d6079a0979d00a76402cff08e"
            },
            {
              "fixed": "7d7199bdf77a3a6ed74d0037133f435a7febe97c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138979.json"
  },
  "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.",
  "id": "CVE-2026-138979",
  "modified": "2026-11-30T14:45:43.656811863Z",
  "published": "2026-11-30T13:26:45.345Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "KVM: arm64: ptdump: Check the page tables aren't freed when accessing"
}