CVE-2025-37849: KVM: arm64: Tear down vGIC on failed vCPU creation

Published May 9, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Tear down vGIC on failed vCPU creation

If kvmarchvcpucreate() 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 kvmarchvcpucreate(), ensuring that the vGIC vCPU structures are destroyed on error.

Affected Software

12 affected componentsFixes available
Linux Linux kernel
Microsoft cbl2 kernel 5.15.186.1-1
debian/linux<=5.10.223-1, <=5.10.251-4
6.1.159-16.1.170-36.12.73-16.12.86-17.0.4-1
debian/linux-6.1
6.1.170-3~deb11u1
Linux Linux kernel<6.1.135
Linux Linux kernel>=6.2<6.6.88
Linux Linux kernel>=6.7<6.12.24
Linux Linux kernel>=6.13<6.13.12
Linux Linux kernel>=6.14<6.14.3
Debian Debian Linux=11.0
Microsoft azl3 kernel 6.6.85.1-4<6.6.92.2-1
6.6.92.2-1
Microsoft azl3 kernel 6.6.92.2-1<6.6.92.2-1
6.6.92.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.159-1Fixed in 6.1.170-3Fixed in 6.12.73-1Fixed in 6.12.86-1Fixed in 7.0.4-1
  2. Upgrade

    Upgrade debian/linux-6.1 to a version that resolves this vulnerability.

    Fixed in 6.1.170-3~deb11u1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.92.2-1

Event History

May 9, 2025
CVE Published
via MITRE·06:41 AM
Data Sourced
via MITRE·06:41 AM
DescriptionSeverity
Data Sourced
via Red Hat·07:02 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 11, 2025
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
SeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
WeaknessAffected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverityWeakness
May 13, 2026
Data Sourced
via Debian·04:06 AM
DescriptionAffected Software
May 14, 2026
Data Sourced
via Ubuntu·04:06 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-37849?

The severity of CVE-2025-37849 is rated as medium due to its impact on the virtual GIC in the Linux kernel.

2

How do I fix CVE-2025-37849?

To fix CVE-2025-37849, ensure that you apply the latest patches for the Linux kernel provided by your distribution.

3

What systems are affected by CVE-2025-37849?

CVE-2025-37849 affects various versions of the Linux kernel that utilize KVM on arm64 systems.

4

What is the impact of CVE-2025-37849?

The impact of CVE-2025-37849 can lead to unintended behavior during vCPU creation due to initialized vGIC data.

5

Is CVE-2025-37849 exploitable remotely?

CVE-2025-37849 is not directly exploitable remotely as it involves local interactions with the hypervisor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203