REDHAT-BUG-2365271: Use After Free

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

1 affected component
linux/kernel

Event History

May 9, 2025
Data Sourced
via Red Hat·07:02 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2365271?

The severity of REDHAT-BUG-2365271 is considered high due to the potential impact on virtualized environments.

2

How do I fix REDHAT-BUG-2365271?

To fix REDHAT-BUG-2365271, apply the latest kernel update provided by Red Hat that addresses this vulnerability.

3

What systems are affected by REDHAT-BUG-2365271?

REDHAT-BUG-2365271 affects systems running vulnerable versions of the Linux kernel that utilize KVM for virtualization.

4

What is the impact of REDHAT-BUG-2365271?

The impact of REDHAT-BUG-2365271 can lead to improper handling of vCPU data, potentially compromising the stability of virtual machines.

5

When was REDHAT-BUG-2365271 disclosed?

REDHAT-BUG-2365271 was disclosed as part of a bug report in early 2025, highlighting issues with virtual CPU management in KVM.

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