CVE-2026-138979
Not scored
KVM: arm64: ptdump: Check the page tables aren't freed when accessing
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7c4f73548ed15476daf1101f66648085eda65067 before 642588ea2f2cd471661f289b004c23a81449b30d, from 7c4f73548ed15476daf1101f66648085eda65067 before c1d29c78ef52c29ab37f886ad643752734fdc932, from 7c4f73548ed15476daf1101f66648085eda65067 before 942fdac99284d08d6079a0979d00a76402cff08e, from 7c4f73548ed15476daf1101f66648085eda65067 before 7d7199bdf77a3a6ed74d0037133f435a7febe97c, 6.12 Not affected: before 6.12, from 6.12.118 up to 6.12.*, from 6.18.64 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138979 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138979 changed 2026-11-30 | Public domain |