{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138979",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.907Z",
        "datePublished": "2026-11-30T13:26:45.345Z",
        "dateUpdated": "2026-11-30T13:26:45.345Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:26:45.345Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/arm64/kvm/ptdump.c"
                    ],
                    "versions": [
                        {
                            "version": "7c4f73548ed15476daf1101f66648085eda65067",
                            "lessThan": "642588ea2f2cd471661f289b004c23a81449b30d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7c4f73548ed15476daf1101f66648085eda65067",
                            "lessThan": "c1d29c78ef52c29ab37f886ad643752734fdc932",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7c4f73548ed15476daf1101f66648085eda65067",
                            "lessThan": "942fdac99284d08d6079a0979d00a76402cff08e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "7c4f73548ed15476daf1101f66648085eda65067",
                            "lessThan": "7d7199bdf77a3a6ed74d0037133f435a7febe97c",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/arm64/kvm/ptdump.c"
                    ],
                    "versions": [
                        {
                            "version": "6.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.12",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/642588ea2f2cd471661f289b004c23a81449b30d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c1d29c78ef52c29ab37f886ad643752734fdc932"
                },
                {
                    "url": "https://git.kernel.org/stable/c/942fdac99284d08d6079a0979d00a76402cff08e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7d7199bdf77a3a6ed74d0037133f435a7febe97c"
                }
            ],
            "title": "KVM: arm64: ptdump: Check the page tables aren't freed when accessing",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}