Double Free in Linux
CVE-2024-58055
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.
Vulnerability class: Double Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 18.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions cff834c16d23d614388aab1b86d19eb67b3f80c4, 4.6, 0
- Linux Kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (runwhen-contrib/helm-charts, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694 (Patch)
- git.kernel.org/stable/c/38229c35a6d7875697dfb293356407330cfcd23e (Patch)
- git.kernel.org/stable/c/bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a (Patch)
- git.kernel.org/stable/c/f0c33e7d387ccbb6870e73a43c558fefede06614 (Patch)
- git.kernel.org/stable/c/16907219ad6763f401700e1b57b2da4f3e07f047 (Patch)
- git.kernel.org/stable/c/929b69810eec132b284ffd19047a85d961df9e4d (Patch)
- git.kernel.org/stable/c/e6693595bd1b55af62d057a4136a89d5c2ddf0e9 (Patch)
- git.kernel.org/stable/c/c225d006a31949d673e646d585d9569bc28feeb9 (Patch)
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html