CVE-2024-38628: usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.

Published Jun 21, 2024
·
Updated

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

usb: gadget: uaudio: Fix race condition use of controls after free during gadget unbind.

Hang on to the control IDs instead of pointers since those are correctly handled with locks.

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=5.15<6.1.93
Linux Linux kernel>=6.2<6.6.33
Linux Linux kernel>=6.7<6.9.4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-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 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1

Event History

Jun 21, 2024
CVE Published
via MITRE·10:18 AM
Data Sourced
via MITRE·10:18 AM
DescriptionSeverity
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 11, 2024
Data Sourced
via Launchpad·04:24 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·05:19 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38628?

The severity of CVE-2024-38628 is classified as medium due to the potential use-after-free condition affecting the Linux kernel.

2

How do I fix CVE-2024-38628?

To fix CVE-2024-38628, update to the patched versions of the Linux kernel, which include 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.13-1.

3

Which versions of the Linux kernel are affected by CVE-2024-38628?

CVE-2024-38628 affects various versions prior to the fixed releases, including those below 5.10.223-1 and 6.12.13-1.

4

What components of the Linux kernel does CVE-2024-38628 impact?

CVE-2024-38628 impacts the USB gadget subsystem, specifically related to audio controls functionality.

5

Is there a known exploit for CVE-2024-38628?

As of now, there are no publicly available exploits for CVE-2024-38628.

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