LiveActive security incident?Get immediate response
CVE Record

CVE-2024-58055: usb: gadget: f_tcm: Don't free command immediately

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2024-58055 is a Linux kernel double-free bug in the USB gadget f_tcm component. A local low-privileged user may be able to trigger kernel memory corruption, with high confidentiality, integrity, and availability impact. No provided source reports active exploitation.

Executive priority

Treat as high priority where affected Linux kernels support USB gadget mode, especially embedded, appliance, or physical-access environments. Prioritize patching, but do not assume internet-scale remote exposure from the supplied evidence.

Technical view

The flaw is CWE-415 in usb gadget f_tcm. The kernel freed a command before sense-status completion, then freed it again. The upstream fix delays freeing until status completion. CVSS 3.1 is 7.8: local attack, low complexity, low privileges, no user interaction, high CIA impact.

Likely exposure

Exposure is most likely on Linux systems running affected kernel versions where USB gadget f_tcm functionality is enabled or loadable. The bundle does not establish default exposure, distro breadth beyond cited Debian LTS advisories, or whether common server builds are affected.

Exploitation context

The CVE is not listed as KEV, and the supplied sources do not report exploitation in the wild. Attack vector is local with low privileges and no user interaction. Public sources provided do not include exploit details or proof of weaponization.

Researcher notes

Focus triage on kernel builds with f_tcm and target gadget support. The fix addresses command lifetime handling around sense status completion. Evidence supports local attack requirements and high potential impact, but not active exploitation or reliable exploit availability.

Mitigation direction

  • Upgrade to a vendor kernel containing the referenced stable fixes.
  • Apply Debian LTS kernel updates if running affected Debian packages.
  • Check your Linux distributor advisory for exact fixed package versions.
  • If patching is delayed, review vendor guidance for disabling unused USB gadget functionality.

Validation and detection

  • Inventory Linux kernel versions across hosts and appliances.
  • Check whether USB gadget f_tcm support is built, loaded, or operationally required.
  • Map installed kernels against vendor fixed versions or referenced stable commits.
  • Confirm updated systems boot into the patched kernel, not an older installed kernel.
Prepared
Confidence
medium
Sources
12

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-415: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-58055 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
11Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2024-58055Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxcff834c16d23d614388aab1b86d19eb67b3f80c4, cff834c16d23d614388aab1b86d19eb67b3f80c4, cff834c16d23d614388aab1b86d19eb67b3f80c4, cff834c16d23d614388aab1b86d19eb67b3f80c4, cff834c16d23d614388aab1b86d19eb67b3f80c4, cff834c16d23d614388aab1b86d19eb67b3f80c4, cff834c16d23d614388aab1b86d19eb67b3f80c4, cff834c16d23d614388aab1b86d19eb67b3f80c4unaffected
LinuxLinux4.6, 0, 5.4.291, 5.10.235, 5.15.179, 6.1.129, 6.6.76, 6.12.13, 6.13.2, 6.14affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-415 · source CWE mapping

Double Free

Double Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.