# CVE-2026-138979: KVM: arm64: ptdump: Check the page tables aren't freed when accessing

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:45.345Z
- Modified: 2026-11-30T14:18:00.093Z
- 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.

(As written by CVE List.)

## Affected

- 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 *)

## References

- <https://git.kernel.org/stable/c/642588ea2f2cd471661f289b004c23a81449b30d>
- <https://git.kernel.org/stable/c/c1d29c78ef52c29ab37f886ad643752734fdc932>
- <https://git.kernel.org/stable/c/942fdac99284d08d6079a0979d00a76402cff08e>
- <https://git.kernel.org/stable/c/7d7199bdf77a3a6ed74d0037133f435a7febe97c>

## Sources

- CVE List: [CVE-2026-138979](https://www.cve.org/CVERecord?id=CVE-2026-138979), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138979](https://nvd.nist.gov/vuln/detail/CVE-2026-138979), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138979 · Whole record: https://cve.day/CVE-2026-138979.json · Rebuilt by cve.day 2026-11-30T14:32:41.340Z
