UBUNTU-CVE-2025-37849
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Systems
- ubuntu•linux
all | all | all | < 4.15.0-248.260 | < 5.4.0-228.248 | < 5.15.0-174.184 | < 6.8.0-100.100
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
all | all | all | < 4.15.0-1190.203 | < 5.4.0-1157.167 | < 5.15.0-1104.111 | < 6.8.0-1046.49
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
all | < 5.15.0-1104.111~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
all | < 5.4.0-1157.167~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
all | < 6.8.0-1046.49~22.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2128.134 | all | < 5.4.0-1157.167+fips1 | < 5.15.0-1104.111+fips1 | < 6.8.0-1046.49+fips1
- ubuntu•linux-aws-hwe
all | < 4.15.0-1190.203~16.04.1
- ubuntu•linux-azure
all | all | all | < 4.15.0-1199.214~14.04.1 | < 4.15.0-1200.215~16.04.1 | all | < 5.4.0-1161.167 | < 5.15.0-1109.118 | < 6.8.0-1046.52
- ubuntu•linux-azure-4.15
all | < 4.15.0-1199.214
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
all | < 5.15.0-1110.119~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
all | < 5.4.0-1161.167~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
all | < 6.8.0-1051.57~22.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all | all | all
- ubuntu•linux-azure-fde-5.15
all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.17
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fde-6.8
all
- ubuntu•linux-azure-fips
< 4.15.0-2109.115 | all | < 5.4.0-1161.167+fips1 | < 5.15.0-1109.118+fips1 | < 6.8.0-1046.52+fips1
- ubuntu•linux-azure-nvidia
all
- ubuntu•linux-bluefield
all | all | < 5.4.0-1116.123 | < 5.15.0-1087.89 | all
- ubuntu•linux-fips
< 4.15.0-1145.157 | all | < 5.4.0-1131.141 | < 5.15.0-174.184+fips1 | < 6.8.0-100.100+fips1
- ubuntu•linux-gcp
all | all | all | < 4.15.0-1183.200~16.04.2 | all | < 5.4.0-1160.169 | < 5.15.0-1104.113 | < 6.8.0-1047.50
- ubuntu•linux-gcp-4.15
all | < 4.15.0-1183.200
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
all | < 5.15.0-1104.113~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
all | < 5.4.0-1160.169~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.11
all
Showing first 50 affected entries in server-rendered view.
References (48)
- https://ubuntu.com/security/CVE-2025-37849
- https://www.cve.org/CVERecord?id=CVE-2025-37849
- https://git.kernel.org/linus/250f25367b58d8c65a1b060a2dda037eea09a672
- https://git.kernel.org/stable/c/07476e0d932afc53c05468076393ac35d0b4999e
- https://git.kernel.org/stable/c/2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52
- https://git.kernel.org/stable/c/250f25367b58d8c65a1b060a2dda037eea09a672
- https://git.kernel.org/stable/c/5085e02362b9948f82fceca979b8f8e12acb1cc5
- https://git.kernel.org/stable/c/c322789613407647a05ff5c451a7bf545fb34e73
- https://git.kernel.org/stable/c/f1e9087abaeedec9bf2894a282ee4f0d8383f299
- https://ubuntu.com/security/notices/USN-7594-1
- https://ubuntu.com/security/notices/USN-7594-2
- https://ubuntu.com/security/notices/USN-7594-3
- https://ubuntu.com/security/notices/USN-8028-1
- https://ubuntu.com/security/notices/USN-8028-2
- https://ubuntu.com/security/notices/USN-8031-1
- https://ubuntu.com/security/notices/USN-8028-3
- https://ubuntu.com/security/notices/USN-8028-4
- https://ubuntu.com/security/notices/USN-8028-5
- https://ubuntu.com/security/notices/USN-8031-2
- https://ubuntu.com/security/notices/USN-8028-6
- https://ubuntu.com/security/notices/USN-8031-3
- https://ubuntu.com/security/notices/USN-8052-1
- https://ubuntu.com/security/notices/USN-8028-7
- https://ubuntu.com/security/notices/USN-8028-8
- https://ubuntu.com/security/notices/USN-8052-2
- https://ubuntu.com/security/notices/USN-8074-1
- https://ubuntu.com/security/notices/USN-8074-2
- https://ubuntu.com/security/notices/USN-8126-1
- https://ubuntu.com/security/notices/USN-8145-1
- https://ubuntu.com/security/notices/USN-8145-2
- https://ubuntu.com/security/notices/USN-8145-3
- https://ubuntu.com/security/notices/USN-8159-1
- https://ubuntu.com/security/notices/USN-8159-2
- https://ubuntu.com/security/notices/USN-8159-3
- https://ubuntu.com/security/notices/USN-8162-1
- https://ubuntu.com/security/notices/USN-8163-1
- https://ubuntu.com/security/notices/USN-8164-1
- https://ubuntu.com/security/notices/USN-8145-4
- https://ubuntu.com/security/notices/USN-8163-2
- https://ubuntu.com/security/notices/USN-8145-5
- https://ubuntu.com/security/notices/USN-8188-1
- https://ubuntu.com/security/notices/USN-8200-1
- https://ubuntu.com/security/notices/USN-8200-2
- https://ubuntu.com/security/notices/USN-8201-1
- https://ubuntu.com/security/notices/USN-8224-1
- https://ubuntu.com/security/notices/USN-8243-1
- https://ubuntu.com/security/notices/USN-8200-3
- https://ubuntu.com/security/notices/USN-8267-1