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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2024-06-21T10:18:19.558Z
- Modified: 2026-08-05T11:33:16.721Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 02de698ca8123782c0c6fb8ed99080e2f032b0d2 before 89e66809684485590ea0b32c3178e42cba36ac09; from 02de698ca8123782c0c6fb8ed99080e2f032b0d2 before 453d3fa9266e53f85377b911c19b9a4563fa88c0; from 02de698ca8123782c0c6fb8ed99080e2f032b0d2 before bea73b58ab67fe581037ad9cdb93c2557590c068; from 02de698ca8123782c0c6fb8ed99080e2f032b0d2 before 1b739388aa3f8dfb63a9fca777e6dfa6912d0464; 5.15 (not affected: before 5.15; from 6.1.93 up to 6.1.*; from 6.6.33 up to 6.6.*; from 6.9.4 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 5.15 before 6.1.93; from 6.2 before 6.6.33; from 6.7 before 6.9.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/89e66809684485590ea0b32c3178e42cba36ac09> (patch)
- <https://git.kernel.org/stable/c/453d3fa9266e53f85377b911c19b9a4563fa88c0> (patch)
- <https://git.kernel.org/stable/c/bea73b58ab67fe581037ad9cdb93c2557590c068> (patch)
- <https://git.kernel.org/stable/c/1b739388aa3f8dfb63a9fca777e6dfa6912d0464> (patch)

## Sources

- CVE List: [CVE-2024-38628](https://www.cve.org/CVERecord?id=CVE-2024-38628), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-38628](https://nvd.nist.gov/vuln/detail/CVE-2024-38628), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-38628 · Whole record: https://cve.day/CVE-2024-38628.json · Rebuilt by cve.day 2026-11-25T22:58:42.117Z
