KVM: arm64: ptdump: Check the page tables aren't freed when accessing
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 7c4f73548ed15476daf1101f66648085eda65067 to before 642588ea2f2cd471661f289b004c23a81449b30d Affected7c4f73548ed15476daf1101f66648085eda65067 to before c1d29c78ef52c29ab37f886ad643752734fdc932 Affected7c4f73548ed15476daf1101f66648085eda65067 to before 942fdac99284d08d6079a0979d00a76402cff08e Affected7c4f73548ed15476daf1101f66648085eda65067 to before 7d7199bdf77a3a6ed74d0037133f435a7febe97c Affected |
| Linux Linux | 6.12 Affectedbefore 6.12 Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.