CVE-2025-37849 Details
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Tear down vGIC on failed vCPU creation If kvm_arch_vcpu_create() fails to share the vCPU page with the hypervisor, we propagate the error back to the ioctl but leave the vGIC vCPU data initialised. Note only does this leak the corresponding memory when the vCPU is destroyed but it can also lead to use-after-free if the redistributor device handling tries to walk into the vCPU. Add the missing cleanup to kvm_arch_vcpu_create(), ensuring that the vGIC vCPU structures are destroyed on error.
A vulnerability in the Linux kernel's KVM (Kernel-based Virtual Machine) module for arm64 architecture has been addressed. The issue arose when the function kvm_arch_vcpu_create() failed to share the vCPU page with the hypervisor. This failure was not properly managed, leaving the virtual Generic Interrupt Controller (vGIC) vCPU data initialized. As a result, the vulnerability not only caused a memory leak when the vCPU was destroyed but also created a use-after-free condition if the redistributor device handling attempted to access the vCPU. The vulnerability has been resolved by adding the necessary cleanup to the vCPU creation process, ensuring that the vGIC vCPU structures are properly destroyed in case of an error.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/07476e0d932afc53c05468076393ac35d0b4999e | kernel.org | Patch |
| https://git.kernel.org/stable/c/2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52 | kernel.org | Patch |
| https://git.kernel.org/stable/c/250f25367b58d8c65a1b060a2dda037eea09a672 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5085e02362b9948f82fceca979b8f8e12acb1cc5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c322789613407647a05ff5c451a7bf545fb34e73 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f1e9087abaeedec9bf2894a282ee4f0d8383f299 | kernel.org | Patch |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html | CVE | Mailing List |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 6.1.135 >= 6.2, < 6.6.88 >= 6.7, < 6.12.24 >= 6.13, < 6.13.12 >= 6.14, < 6.14.3 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 17, 2025 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| May 9, 2025 | New CVE Received | kernel.org |