CVE-2024-38628

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

HIGH
7.8
CVSS Score
Published: June 21, 2024 at 10:18 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 6.1.935.15 ≤ v < 6.105.15 ≤ v < 6.6.335.15 ≤ v < 6.9.46.2 ≤ v < 6.6.336.7 ≤ v < 6.9.42de698ca8123782c0c6fb8ed99080e2f32b0d25.15
Vendor states this is fixed in 1b739388aa3f8dfb63a9fca777e6dfa6912d0464 (fixed)
Vendor states this is fixed in 453d3fa9266e53f85377b911c19b9a4563fa88c0 (fixed)
Vendor states this is fixed in 89e66809684485590ea0b32c3178e42cba36ac09 (fixed)
Vendor states this is fixed in bea73b58ab67fe581037ad9cdb93c2557590c068 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 6.1.93 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.33 (unaffected)
Vendor states this is fixed in 6.9.4 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1b739388aa3f8dfb63a9fca777e6dfa6912d0464
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/453d3fa9266e53f85377b911c19b9a4563fa88c0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/89e66809684485590ea0b32c3178e42cba36ac09
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bea73b58ab67fe581037ad9cdb93c2557590c068

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card