{
  "cveId": "CVE-2022-50568",
  "url": "https://patchblox.com/security/cve/CVE-2022-50568",
  "summary": "CVE-2022-50568 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50568, released October 22, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  usb: gadget: f_hid: fix f_hidg lifetime vs cdev...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  usb: gadget: f_hid: fix f_hidg lifetime vs cdev  The embedded struct cdev does not have its lifetime correctly tied to the enclosing struct f_hidg, so there is a use-after-free if /dev/hidgN is held open while the gadget is deleted.  This can readily be replicated with libusbgx\u0027s example programs (for conciseness - operating directly via configfs is equivalent):  \tgadget-hid \texec 3\u003C\u003E /dev/hidg0 \tgadget-vid-pid-remove \texec 3\u003C\u0026-  Pull the existing device up in to struct f_hidg and make use of the cdev_device_{add,del}() helpers.  This changes the lifetime of the device object to match struct f_hidg, but note that it is still added and deleted at the same time.",
  "published": "2025-10-22T14:15:41Z",
  "severity": "",
  "epss": 0.0022,
  "epssPercentile": 0.12572,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.4-1",
      "fix": "DEBIAN-CVE-2022-50568",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50568",
      "released": "2025-10-22T14:15:41Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.1.4-1",
      "fix": "DEBIAN-CVE-2022-50568",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50568",
      "released": "2025-10-22T14:15:41Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.1.4-1",
      "fix": "DEBIAN-CVE-2022-50568",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50568",
      "released": "2025-10-22T14:15:41Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}