Vulnerability · Published May 9, 2025 · Assigned by Linux
CVE-2025-37849KVM: arm64: Tear down vGIC on failed vCPU creation
High 8.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.135-1 | DEBIAN-CVE-2025-37849 |
| Debian:13 | linux | 6.12.25-1 | DEBIAN-CVE-2025-37849 |
| Debian:14 | linux | 6.12.25-1 | DEBIAN-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux | 5.15.0-174.184 | USN-8159-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-174.184 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux | 6.8.0-100.100 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1104.111 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1104.111 | USN-8159-1 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1046.49 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1046.49~22.04.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1109.118 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1109.118 | USN-8163-2 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1046.52 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1051.57~22.04.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1109.118.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-azure-fde | 6.8.0-1046.53 | UBUNTU-CVE-2025-37849 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1046.53~22.04.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1104.113 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1104.113 | USN-8159-1 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1047.50 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1047.50~22.04.2 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1100.106 | USN-8159-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1100.106 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1043.48 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1087.95 | USN-8159-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1087.95 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1030.33 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-100.100~22.04.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1098.101 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1098.101 | USN-8159-1 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1044.44 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1044.44~22.04.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1099.105 | USN-8159-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1099.105 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1096.101 | USN-8159-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1096.101 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-174.184 | USN-8159-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-174.184 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-100.100.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-100.100.1~22.04.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1099.100 | USN-8159-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1099.100 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1046.49 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1046.49~22.04.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1046.49.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1056.56 | USN-8159-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1056.56 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1020.20 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1045.45 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1045.45 | USN-8159-1 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1101.107 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1101.107 | USN-8159-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1043.44 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1043.44~22.04.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1098.101 | USN-8159-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1098.101 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1047.51 | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-100.100~22.04.1 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-37849 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1023.24 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1068.72 | UBUNTU-CVE-2025-37849 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1068.72 | USN-8159-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 6211753fdfd05af9e08f54c8d0ba3ee516034878 – before 07476e0d932afc53c05468076393ac35d0b4999e6211753fdfd05af9e08f54c8d0ba3ee516034878 – before 5085e02362b9948f82fceca979b8f8e12acb1cc56211753fdfd05af9e08f54c8d0ba3ee516034878 – before c322789613407647a05ff5c451a7bf545fb34e736211753fdfd05af9e08f54c8d0ba3ee516034878 – before 2480326eba8ae9ccc5e4c3c2dc8d407db68e3c526211753fdfd05af9e08f54c8d0ba3ee516034878 – before f1e9087abaeedec9bf2894a282ee4f0d8383f2996211753fdfd05af9e08f54c8d0ba3ee516034878 – before 250f25367b58d8c65a1b060a2dda037eea09a672 |
| Linux | Linux | 3.11 |
References
- https://git.kernel.org/stable/c/07476e0d932afc53c05468076393ac35d0b4999e
- https://git.kernel.org/stable/c/5085e02362b9948f82fceca979b8f8e12acb1cc5
- https://git.kernel.org/stable/c/c322789613407647a05ff5c451a7bf545fb34e73
- https://git.kernel.org/stable/c/2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52
- https://git.kernel.org/stable/c/f1e9087abaeedec9bf2894a282ee4f0d8383f299
- https://git.kernel.org/stable/c/250f25367b58d8c65a1b060a2dda037eea09a672
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html