{"id":"CVE-2024-58055","summary":"usb: gadget: f_tcm: Don't free command immediately","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_tcm: Don't free command immediately\n\nDon't prematurely free the command. Wait for the status completion of\nthe sense status. It can be freed then. Otherwise we will double-free\nthe command.","modified":"2026-04-02T12:25:29.277330Z","published":"2025-03-06T15:53:58.951Z","related":["SUSE-SU-2025:01919-1","SUSE-SU-2025:1177-1","SUSE-SU-2025:1178-1","SUSE-SU-2025:1180-1","SUSE-SU-2025:20190-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20260-1","SUSE-SU-2025:20270-1","USN-7521-2"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58055.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/16907219ad6763f401700e1b57b2da4f3e07f047"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38229c35a6d7875697dfb293356407330cfcd23e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694"},{"type":"WEB","url":"https://git.kernel.org/stable/c/929b69810eec132b284ffd19047a85d961df9e4d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c225d006a31949d673e646d585d9569bc28feeb9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6693595bd1b55af62d057a4136a89d5c2ddf0e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0c33e7d387ccbb6870e73a43c558fefede06614"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58055.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58055"},{"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":"cff834c16d23d614388aab1b86d19eb67b3f80c4"},{"fixed":"7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694"},{"fixed":"38229c35a6d7875697dfb293356407330cfcd23e"},{"fixed":"bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a"},{"fixed":"f0c33e7d387ccbb6870e73a43c558fefede06614"},{"fixed":"16907219ad6763f401700e1b57b2da4f3e07f047"},{"fixed":"929b69810eec132b284ffd19047a85d961df9e4d"},{"fixed":"e6693595bd1b55af62d057a4136a89d5c2ddf0e9"},{"fixed":"c225d006a31949d673e646d585d9569bc28feeb9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58055.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:H/I:H/A:H"}]}