{
  "id": "CVE-2026-72482",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-72482",
  "published_at": "2026-08-15T05:57:20.247Z",
  "title": "gpib: fix double decrement of descriptor_busy in command_ioctl()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "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\ngpib: fix double decrement of descriptor_busy in command_ioctl()\n\ncommit d1857f8296dc (\"gpib: fix use-after-free in IO ioctl handlers\")\nintroduced a descriptor_busy reference counter to pin struct\ngpib_descriptor across IO ioctl operations.  In command_ioctl(), the\nerror path inside the loop decrements descriptor_busy and breaks, but\nexecution then falls through to the unconditional decrement after the\nloop, underflowing the counter to -1.\n\nThis re-enables the use-after-free that the original fix was meant to\nprevent: a concurrent close_dev_ioctl() sees descriptor_busy == 0 on\nan actively-used descriptor and frees it.\n\nRemove the early decrement from the error path.  The post-loop\ndecrement already handles all exit paths, matching the correct pattern\nused in read_ioctl() and write_ioctl().",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= cae26eff1b56d78bed7873cf3e60a2b1bdd4da6c, \u003c fdee9f207a48ce204ec6cfceaa1459d2473600a5",
          "\u003e= d1857f8296dceb75d00ab857fc3c61bc00c7f5c6, \u003c 8b5f1d295dda8677e4545ce340053fcfa8b634c7",
          "\u003e= d1857f8296dceb75d00ab857fc3c61bc00c7f5c6, \u003c c4faab452b3c1ada003d49c477609dd80523b9bf",
          "28c75dd143ead62e0dfac564c79d251e21d5d74b",
          "\u003e= 6.18.22, \u003c 6.18.40",
          "\u003e= 6.19.12, \u003c 6.20"
        ],
        "fixed_in": [
          "fdee9f207a48ce204ec6cfceaa1459d2473600a5",
          "8b5f1d295dda8677e4545ce340053fcfa8b634c7",
          "c4faab452b3c1ada003d49c477609dd80523b9bf",
          "6.18.40",
          "6.20"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "7.0"
        ],
        "fixed_in": [
          "0",
          "6.18.40",
          "7.1.5",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to fdee9f207a48ce204ec6cfceaa1459d2473600a5 or 8b5f1d295dda8677e4545ce340053fcfa8b634c7 or c4faab452b3c1ada003d49c477609dd80523b9bf or 6.18.40 or 6.20 or later.",
      "Upgrade Linux to 0 or 6.18.40 or 7.1.5 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
