CVE-2026-138979

Source
https://cve.org/CVERecord?id=CVE-2026-138979
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138979.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138979
Downstream
Published
2026-11-30T13:26:45Z
Modified
2026-11-30T15:01:41Z
Summary
KVM: arm64: ptdump: Check the page tables aren't freed when accessing
Details

In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: ptdump: Check the page tables aren't freed when accessing

An open debugfs file keeps the KVM structure alive, but does not prevent mmu notifier release from freeing the stage-2 page tables when the VMM’s address space is torn down. Therefore page tables belonging to the mmus could have been freed when a thread opens or reads the ptdump files. Take the mmu_lock and check mmu->pgt is still alive before accessing the page tables.

Also for the ipa_range file and stage2_levels file, switch from keeping the pointer to the page tables to keeping the pointer to the mmu.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138979.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"