REDHAT-BUG-2278616: Use After Free

Published May 2, 2024
·
Updated

A race condition leading to a stack use-after-free bug was found in libvirt. Due to a bad assumption in the virNetClientIOEventLoop() method, the data pointer to a stack-allocated virNetClientIOEventData structure ended up being used in virNetClientIOEventFD callback while the data pointer's stack frame was concurrently being "freed" when returning from virNetClientIOEventLoop().

Quoting libvirt maintainer Daniel P. Berrangé: The 'virtproxyd' daemon can be used to trigger requests which could potentially exercise the bug. If libvirt is configured with fine grained access control, this could in theory let a user escape their otherwise limited access. A local unprivileged user can access virtproxyd without authenticating. Remote users would need to authenticate before they could exercise it.

Affected Software

1 affected component
libvirt libvirt

Event History

May 2, 2024
Data Sourced
via Red Hat·12:29 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2278616?

The severity of REDHAT-BUG-2278616 is considered high due to the potential for stack memory corruption.

2

How do I fix REDHAT-BUG-2278616?

To fix REDHAT-BUG-2278616, update to the latest version of libvirt where the vulnerability has been addressed.

3

What systems are impacted by REDHAT-BUG-2278616?

REDHAT-BUG-2278616 affects systems running vulnerable versions of libvirt.

4

What is the nature of the vulnerability in REDHAT-BUG-2278616?

REDHAT-BUG-2278616 is caused by a race condition leading to a stack use-after-free bug in the libvirt library.

5

Is there a workaround for REDHAT-BUG-2278616?

Currently, there is no official workaround for REDHAT-BUG-2278616 other than applying the recommended security updates.

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