CVE-2024-58055

published 6 Mar 2025 · updated 11 May 2026

usb: gadget: f_tcm: Don't free command immediately

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 16907219ad6763f401700e1b57b2da4f3e07f047, Kernel 38229c35a6d7875697dfb293356407330cfcd23e, Kernel 7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694 and 5 more.

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_tcm: Don't free command immediately Don't prematurely free the command. Wait for the status completion of the sense status. It can be freed then. Otherwise we will double-free the command.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.6, >=cff834c16d23d614388aab1b86d19eb67b3f80c4 <16907219ad6763f401700e1b57b2da4f3e07f047, >=cff834c16d23d614388aab1b86d19eb67b3f80c4 <38229c35a6d7875697dfb293356407330cfcd23e, >=cff834c16d23d614388aab1b86d19eb67b3f80c4 <7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694, >=cff834c16d23d614388aab1b86d19eb67b3f80c4 <929b69810eec132b284ffd19047a85d961df9e4d, >=cff834c16d23d614388aab1b86d19eb67b3f80c4 <bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a, >=cff834c16d23d614388aab1b86d19eb67b3f80c4 <c225d006a31949d673e646d585d9569bc28feeb9, >=cff834c16d23d614388aab1b86d19eb67b3f80c4 <e6693595bd1b55af62d057a4136a89d5c2ddf0e9, >=cff834c16d23d614388aab1b86d19eb67b3f80c4 <f0c33e7d387ccbb6870e73a43c558fefede0661416907219ad6763f401700e1b57b2da4f3e07f047, 38229c35a6d7875697dfb293356407330cfcd23e, 7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694, 929b69810eec132b284ffd19047a85d961df9e4d, bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a, c225d006a31949d673e646d585d9569bc28feeb9, e6693595bd1b55af62d057a4136a89d5c2ddf0e9, f0c33e7d387ccbb6870e73a43c558fefede06614

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58055 severity on Zeptric[![CVE-2024-58055](https://zeptric.io/badge/cve/CVE-2024-58055.svg)](https://zeptric.io/cve/CVE-2024-58055)