{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "cae26eff1b56d78bed7873cf3e60a2b1bdd4da6c"
            },
            {
              "fixed": "fdee9f207a48ce204ec6cfceaa1459d2473600a5"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "d1857f8296dceb75d00ab857fc3c61bc00c7f5c6"
            },
            {
              "fixed": "8b5f1d295dda8677e4545ce340053fcfa8b634c7"
            },
            {
              "fixed": "c4faab452b3c1ada003d49c477609dd80523b9bf"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "28c75dd143ead62e0dfac564c79d251e21d5d74b"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.18.22"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.19.12"
            },
            {
              "fixed": "6.20"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72482.json"
  },
  "details": "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().",
  "id": "CVE-2026-72482",
  "modified": "2026-08-18T03:31:21.837349639Z",
  "published": "2026-08-15T05:57:20.247Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8b5f1d295dda8677e4545ce340053fcfa8b634c7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c4faab452b3c1ada003d49c477609dd80523b9bf"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fdee9f207a48ce204ec6cfceaa1459d2473600a5"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72482.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72482"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "gpib: fix double decrement of descriptor_busy in command_ioctl()"
}