{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2024-58055",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2024-58055"
  ],
  "published": "2025-03-06T15:54:48Z",
  "summary": "usb: gadget: f_tcm: Don't free command immediately",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_tcm: Don't free command immediately\n\nDon't prematurely free the command. Wait for the status completion of\nthe sense status. It can be freed then. Otherwise we will double-free\nthe command.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.129",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-58055"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7cb72dc08ed8da60fd6d1f6adf13bf0e6ee0f694"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/38229c35a6d7875697dfb293356407330cfcd23e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/bbb7f49839b57d66ccaf7b5752d9b63d3031dd0a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f0c33e7d387ccbb6870e73a43c558fefede06614"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/16907219ad6763f401700e1b57b2da4f3e07f047"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/929b69810eec132b284ffd19047a85d961df9e4d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e6693595bd1b55af62d057a4136a89d5c2ddf0e9"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c225d006a31949d673e646d585d9569bc28feeb9"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-05-12T04:54:46Z"
  }
}
