{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-93141",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-93141"
  ],
  "published": "2026-09-17T16:10:40Z",
  "summary": "usb: gadget: r8a66597: avoid double free of ep0_req in probe error path",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: r8a66597: avoid double free of ep0_req in probe error path\n\nIf usb_add_gadget_udc() fails, r8a66597_probe() jumps to err_add_udc\nand frees ep0_req, then falls through to clean_up2 where ep0_req is\nfreed again when it is non-NULL.\n\nRemove the redundant free from err_add_udc and keep the cleanup in\nclean_up2 so the request is released exactly once.\n\nIssue found using a prototype static analysis tool\nand confirmed by code review.",
  "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.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-93141"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c9e93290ffe7db22a8131a5f5fd026335090fbbe"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7721cf32efa428bd9649f4a9b89fc85601df87de"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f9c43246128a2dd0f2bbad71decf153910ce3606"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/150d3f3c461345b6c9ae784912cf1e49c8e5ff6b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b2e68583c7c51eea2aafb8f1793e0d285c56ac82"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6648c470918371766f6d368113dd2a4faebac93f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6be64cca6527f7fc99b05abf54f22db91bbc116f"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/41d541e3718db01668a4cd29815ee4b3b55f76d2"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-17T16:10:40Z"
  }
}
