CVE-2024-58055
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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

Product or packageVersionsReported by
Linux Linuxfrom cff834c16d23d614388aab1b86d19eb67b3f80c4 before 7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694, from cff834c16d23d614388aab1b86d19eb67b3f80c4 before 38229c35a6d7875697dfb293356407330cfcd23e, from cff834c16d23d614388aab1b86d19eb67b3f80c4 before bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a, from cff834c16d23d614388aab1b86d19eb67b3f80c4 before f0c33e7d387ccbb6870e73a43c558fefede06614, from cff834c16d23d614388aab1b86d19eb67b3f80c4 before 16907219ad6763f401700e1b57b2da4f3e07f047, from cff834c16d23d614388aab1b86d19eb67b3f80c4 before 929b69810eec132b284ffd19047a85d961df9e4d, from cff834c16d23d614388aab1b86d19eb67b3f80c4 before e6693595bd1b55af62d057a4136a89d5c2ddf0e9, from cff834c16d23d614388aab1b86d19eb67b3f80c4 before c225d006a31949d673e646d585d9569bc28feeb9 and 1 more
Not affected: before 4.6, from 5.4.291 up to 5.4.*, from 5.10.235 up to 5.10.*, from 5.15.179 up to 5.15.*, from 6.1.129 up to 6.1.*, from 6.6.76 up to 6.6.*
CVE List
linux linux_kernelfrom 4.6 before 5.4.291, from 5.5 before 5.10.235, from 5.11 before 5.15.179, from 5.16 before 6.1.129, from 6.2 before 6.6.76, from 6.7 before 6.12.13, from 6.13 before 6.13.2NVD

All scores

CISA-ADP7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-415

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-58055 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-58055 changed 2026-06-17Public domain