{
  "id": "CVE-2026-64242",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64242",
  "published_at": "2026-07-24T15:27:44.73Z",
  "title": "usb: gadget: net2280: Fix double free in probe error path",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: net2280: Fix double free in probe error path\n\nusb_initialize_gadget() installs gadget_release() as the release\ncallback for the embedded gadget device.  The struct net2280 instance is\ntherefore released through gadget_release() when the gadget device's last\nreference is dropped.\n\nThe probe error path calls net2280_remove(), which tears down the\npartially initialized device and drops the gadget reference with\nusb_put_gadget().  Calling kfree(dev) afterwards can free the same object\nagain.\n\nDrop the explicit kfree() and let the gadget device release callback\nhandle the final free.  This issue was found by a static analysis tool\nI am developing.",
  "cwe": "CWE-415",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f770fbec4165b1acfabdeadb01ad6008d2c537b5, \u003c 71b3391dc81655ff058492f8e9d013b2c6e5747b",
          "\u003e= f770fbec4165b1acfabdeadb01ad6008d2c537b5, \u003c 550fa4d071a8c8e53072900869d37ae6abf4999d",
          "\u003e= f770fbec4165b1acfabdeadb01ad6008d2c537b5, \u003c c5b9fdb1e8ddf50bc6272927edb118679f170350",
          "\u003e= f770fbec4165b1acfabdeadb01ad6008d2c537b5, \u003c 085652fda7f38040d1a2c42d72614f418feb843f",
          "\u003e= f770fbec4165b1acfabdeadb01ad6008d2c537b5, \u003c 48f89ead20e48d447ad29fa937b43b9fa981cf28",
          "\u003e= f770fbec4165b1acfabdeadb01ad6008d2c537b5, \u003c e6f8be12f0307145b9a6010f044925952b37de8b",
          "\u003e= f770fbec4165b1acfabdeadb01ad6008d2c537b5, \u003c db2b72e83a0208ae2b3b270bf91662b1c6849a9b",
          "\u003e= f770fbec4165b1acfabdeadb01ad6008d2c537b5, \u003c c8547c74988e0b5f4cbb1b895e2a57aae084f070"
        ],
        "fixed_in": [
          "71b3391dc81655ff058492f8e9d013b2c6e5747b",
          "550fa4d071a8c8e53072900869d37ae6abf4999d",
          "c5b9fdb1e8ddf50bc6272927edb118679f170350",
          "085652fda7f38040d1a2c42d72614f418feb843f",
          "48f89ead20e48d447ad29fa937b43b9fa981cf28",
          "e6f8be12f0307145b9a6010f044925952b37de8b",
          "db2b72e83a0208ae2b3b270bf91662b1c6849a9b",
          "c8547c74988e0b5f4cbb1b895e2a57aae084f070"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.10"
        ],
        "fixed_in": [
          "0",
          "5.10.259",
          "5.15.210",
          "6.1.176",
          "6.6.143",
          "6.12.93",
          "6.18.35",
          "7.0.12",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 71b3391dc81655ff058492f8e9d013b2c6e5747b or 550fa4d071a8c8e53072900869d37ae6abf4999d or c5b9fdb1e8ddf50bc6272927edb118679f170350 or 085652fda7f38040d1a2c42d72614f418feb843f or 48f89ead20e48d447ad29fa937b43b9fa981cf28 or e6f8be12f0307145b9a6010f044925952b37de8b or db2b72e83a0208ae2b3b270bf91662b1c6849a9b or c8547c74988e0b5f4cbb1b895e2a57aae084f070 or later.",
      "Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.93 or 6.18.35 or 7.0.12 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
