CVE-2024-58055

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

HIGH
7.8
CVSS Score
Published: March 6, 2025 at 03:53 PM UTC
Updated: June 17, 2026 at 08:14 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.6 ≤ v < 5.10.2354.6 ≤ v < 5.15.1794.6 ≤ v < 5.4.2914.6 ≤ v < 6.1.1294.6 ≤ v < 6.12.134.6 ≤ v < 6.13.24.6 ≤ v < 6.144.6 ≤ v < 6.6.765.11 ≤ v < 5.15.1795.16 ≤ v < 6.1.1295.5 ≤ v < 5.10.2356.13 ≤ v < 6.13.26.2 ≤ v < 6.6.766.7 ≤ v < 6.12.134.6cff834c16d23d614388aab1b86d19eb67b3f80c4
Vendor states this is fixed in 16907219ad6763f401700e1b57b2da4f3e07f047 (fixed)
Vendor states this is fixed in 38229c35a6d7875697dfb293356407330cfcd23e (fixed)
Vendor states this is fixed in 7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694 (fixed)
Vendor states this is fixed in 929b69810eec132b284ffd19047a85d961df9e4d (fixed)
Vendor states this is fixed in bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a (fixed)
Vendor states this is fixed in c225d006a31949d673e646d585d9569bc28feeb9 (fixed)
Vendor states this is fixed in e6693595bd1b55af62d057a4136a89d5c2ddf0e9 (fixed)
Vendor states this is fixed in f0c33e7d387ccbb6870e73a43c558fefede06614 (fixed)
Vendor states this is fixed in 4.6 (unaffected)
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.129 (unaffected)
Vendor states this is fixed in 6.12.13 (unaffected)
Vendor states this is fixed in 6.13.2 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.76 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/16907219ad6763f401700e1b57b2da4f3e07f047
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/38229c35a6d7875697dfb293356407330cfcd23e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/929b69810eec132b284ffd19047a85d961df9e4d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c225d006a31949d673e646d585d9569bc28feeb9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e6693595bd1b55af62d057a4136a89d5c2ddf0e9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f0c33e7d387ccbb6870e73a43c558fefede06614

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card