7.8
HIGH
CVE-2024-58055
Linux Kernel USB Gadget Freetype Double-Free Vulnerability
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.

INFO

Published Date :

March 6, 2025, 4:15 p.m.

Last Modified :

March 25, 2025, 2:34 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2024-58055 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-58055 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-58055 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 25, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-415
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.13.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.76 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.13 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.179 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.129 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.235 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.6 up to (excluding) 5.4.291
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/16907219ad6763f401700e1b57b2da4f3e07f047 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/38229c35a6d7875697dfb293356407330cfcd23e Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/929b69810eec132b284ffd19047a85d961df9e4d Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/c225d006a31949d673e646d585d9569bc28feeb9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/e6693595bd1b55af62d057a4136a89d5c2ddf0e9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f0c33e7d387ccbb6870e73a43c558fefede06614 Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Mar. 13, 2025

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/38229c35a6d7875697dfb293356407330cfcd23e
    Added Reference https://git.kernel.org/stable/c/7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694
    Added Reference https://git.kernel.org/stable/c/bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Mar. 06, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/16907219ad6763f401700e1b57b2da4f3e07f047
    Added Reference https://git.kernel.org/stable/c/929b69810eec132b284ffd19047a85d961df9e4d
    Added Reference https://git.kernel.org/stable/c/c225d006a31949d673e646d585d9569bc28feeb9
    Added Reference https://git.kernel.org/stable/c/e6693595bd1b55af62d057a4136a89d5c2ddf0e9
    Added Reference https://git.kernel.org/stable/c/f0c33e7d387ccbb6870e73a43c558fefede06614
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-58055 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-58055 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability