CVE-2024-38628 usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.
A race condition in the Linux kernel USB audio gadget driver can cause a use-after-free during unbind, leading to a system hang or crash.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-38628?
CVE-2024-38628 is a high-severity vulnerability in Linux kernel, published on 21 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: u_audio: 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.
Weakness: CWE-362
Which versions are affected by CVE-2024-38628?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-38628?
Apply the vendor's patch.
Is CVE-2024-38628 being exploited?
There is no known exploitation of CVE-2024-38628 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-58983, BELL-CVE-2024-38628, DEBIAN-CVE-2024-38628, GHSA-ppv3-rxm7-w9p5, ROOT-OS-UBUNTU-2204-CVE-2024-38628, UBUNTU-CVE-2024-38628.