{"id":"CVE-2024-38628","summary":"usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.\n\nHang on to the control IDs instead of pointers since those are correctly\nhandled with locks.","modified":"2026-04-16T00:01:04.835159539Z","published":"2024-06-21T10:18:19.558Z","related":["SUSE-SU-2024:2571-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38628.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1b739388aa3f8dfb63a9fca777e6dfa6912d0464"},{"type":"WEB","url":"https://git.kernel.org/stable/c/453d3fa9266e53f85377b911c19b9a4563fa88c0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/89e66809684485590ea0b32c3178e42cba36ac09"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bea73b58ab67fe581037ad9cdb93c2557590c068"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38628.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38628"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"02de698ca8123782c0c6fb8ed99080e2f032b0d2"},{"fixed":"89e66809684485590ea0b32c3178e42cba36ac09"},{"fixed":"453d3fa9266e53f85377b911c19b9a4563fa88c0"},{"fixed":"bea73b58ab67fe581037ad9cdb93c2557590c068"},{"fixed":"1b739388aa3f8dfb63a9fca777e6dfa6912d0464"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38628.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}