{"id":"CVE-2024-58055","aliases":["CVE-2024-58055"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: f_tcm: Don't free command immediately","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: gadget: f_tcm: No libere el comando inmediatamente No libere el comando de forma prematura. Espere a que se complete el estado de detección. En ese momento, se puede liberar. De lo contrario, liberaremos el comando dos veces.","source":"nvd"}],"published":"2025-03-06T15:53:58.951Z","modified":"2026-06-17T08:14:31.463Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"cff834c16d23d614388aab1b86d19eb67b3f80c4","fixed":"7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694","status":"affected"},{"type":"git","introduced":"cff834c16d23d614388aab1b86d19eb67b3f80c4","fixed":"38229c35a6d7875697dfb293356407330cfcd23e","status":"affected"},{"type":"git","introduced":"cff834c16d23d614388aab1b86d19eb67b3f80c4","fixed":"bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a","status":"affected"},{"type":"git","introduced":"cff834c16d23d614388aab1b86d19eb67b3f80c4","fixed":"f0c33e7d387ccbb6870e73a43c558fefede06614","status":"affected"},{"type":"git","introduced":"cff834c16d23d614388aab1b86d19eb67b3f80c4","fixed":"16907219ad6763f401700e1b57b2da4f3e07f047","status":"affected"},{"type":"git","introduced":"cff834c16d23d614388aab1b86d19eb67b3f80c4","fixed":"929b69810eec132b284ffd19047a85d961df9e4d","status":"affected"},{"type":"git","introduced":"cff834c16d23d614388aab1b86d19eb67b3f80c4","fixed":"e6693595bd1b55af62d057a4136a89d5c2ddf0e9","status":"affected"},{"type":"git","introduced":"cff834c16d23d614388aab1b86d19eb67b3f80c4","fixed":"c225d006a31949d673e646d585d9569bc28feeb9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.6","status":"unaffected"},{"type":"semver","introduced":"5.4.291","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.129","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.76","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.13","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.2","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.6","fixed":"5.4.291"},{"status":"affected","introduced":"5.5","fixed":"5.10.235"},{"status":"affected","introduced":"5.11","fixed":"5.15.179"},{"status":"affected","introduced":"5.16","fixed":"6.1.129"},{"status":"affected","introduced":"6.2","fixed":"6.6.76"},{"status":"affected","introduced":"6.7","fixed":"6.12.13"},{"status":"affected","introduced":"6.13","fixed":"6.13.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38229c35a6d7875697dfb293356407330cfcd23e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0c33e7d387ccbb6870e73a43c558fefede06614","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/16907219ad6763f401700e1b57b2da4f3e07f047","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/929b69810eec132b284ffd19047a85d961df9e4d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e6693595bd1b55af62d057a4136a89d5c2ddf0e9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c225d006a31949d673e646d585d9569bc28feeb9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-01T19:28:24.217Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58055","url":"https://www.cve.org/CVERecord?id=CVE-2024-58055","licence":"CVE Terms of Use","modified":"2026-05-11T21:02:25.187Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58055","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58055","licence":"Public domain","modified":"2026-06-17T08:14:31.463Z"}],"updatedAt":"2026-11-25T22:58:52.210Z","epss":{"score":0.00263,"percentile":0.19426,"date":"2026-12-01T12:00:22.000Z"}}