{"api_version":"1","generated_at":"2026-08-27T14:11:14+00:00","cve":"CVE-2026-72482","urls":{"html":"https://cve.report/CVE-2026-72482","api":"https://cve.report/api/cve/CVE-2026-72482.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-72482","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-72482"},"summary":{"title":"gpib: fix double decrement of descriptor_busy in command_ioctl()","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().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:22","updated_at":"2026-08-17 06:19:16"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/c4faab452b3c1ada003d49c477609dd80523b9bf","name":"https://git.kernel.org/stable/c/c4faab452b3c1ada003d49c477609dd80523b9bf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8b5f1d295dda8677e4545ce340053fcfa8b634c7","name":"https://git.kernel.org/stable/c/8b5f1d295dda8677e4545ce340053fcfa8b634c7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fdee9f207a48ce204ec6cfceaa1459d2473600a5","name":"https://git.kernel.org/stable/c/fdee9f207a48ce204ec6cfceaa1459d2473600a5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-72482","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72482","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected cae26eff1b56d78bed7873cf3e60a2b1bdd4da6c fdee9f207a48ce204ec6cfceaa1459d2473600a5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d1857f8296dceb75d00ab857fc3c61bc00c7f5c6 8b5f1d295dda8677e4545ce340053fcfa8b634c7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d1857f8296dceb75d00ab857fc3c61bc00c7f5c6 c4faab452b3c1ada003d49c477609dd80523b9bf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 28c75dd143ead62e0dfac564c79d251e21d5d74b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.22 6.18.40 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.19.12 6.20 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"72482","cve":"CVE-2026-72482","epss":"0.001400000","percentile":"0.038070000","score_date":"2026-08-17","updated_at":"2026-08-18 00:11:47"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpib/common/gpib_os.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"fdee9f207a48ce204ec6cfceaa1459d2473600a5","status":"affected","version":"cae26eff1b56d78bed7873cf3e60a2b1bdd4da6c","versionType":"git"},{"lessThan":"8b5f1d295dda8677e4545ce340053fcfa8b634c7","status":"affected","version":"d1857f8296dceb75d00ab857fc3c61bc00c7f5c6","versionType":"git"},{"lessThan":"c4faab452b3c1ada003d49c477609dd80523b9bf","status":"affected","version":"d1857f8296dceb75d00ab857fc3c61bc00c7f5c6","versionType":"git"},{"status":"affected","version":"28c75dd143ead62e0dfac564c79d251e21d5d74b","versionType":"git"},{"lessThan":"6.18.40","status":"affected","version":"6.18.22","versionType":"semver"},{"lessThan":"6.20","status":"affected","version":"6.19.12","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpib/common/gpib_os.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.0"},{"lessThan":"7.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"6.18.22","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"7.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"7.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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()."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The bug is reached only through local ioctl on /dev/gpibN character devices; exploitation requires concurrent IBCMD (command_ioctl) and IBCLOSEDEV calls, not remote network traffic or physical GPIB bus manipulation.\nAC:L - Once a GPIB board is online and accessible, an attacker controls both race participants by running a failing IBCMD ioctl in one thread and IBCLOSEDEV on the same handle in another; ibcmd errors (e.g., timeout or missing CIC) are reliably triggerable.\nPR:L - The vulnerable IBCMD and IBCLOSEDEV ioctls perform no capability checks; any local user with access to an already-configured, online GPIB device node can open handles and race command/close operations typical of lab and factory test automation accounts.\nUI:N - No victim interaction is required beyond the attacker already having local access to the GPIB device; exploitation is performed entirely through attacker-controlled ioctl sequences without needing another user to mount, open, or approve actions.\nS:U - This is a kernel heap use-after-free within the GPIB driver reachable from local process ioctls and affects the same kernel security authority; it does not cross virtualization, IOMMU, or separate security-scope boundaries.\nC:H - The erroneous early descriptor_busy decrement lets close_dev_ioctl kfree() the struct while command_ioctl still holds and dereferences it; freed kmalloc slab reuse can expose or help derive kernel memory contents per UAF scoring guidance.\nI:H - Post-free atomic writes to io_in_progress and descriptor_busy on the stale pointer can corrupt attacker-influenced reused heap objects, providing a plausible path to kernel data corruption, write primitives, or privilege escalation.\nA:H - Dereferencing the freed gpib_descriptor during IBCMD completion (atomic_set, atomic_dec, wake_up) can cause kernel oops, BUG, or panic; use-after-free bugs are scored as high availability impact even before full exploitation."}]}],"providerMetadata":{"dateUpdated":"2026-08-17T05:44:45.643Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/fdee9f207a48ce204ec6cfceaa1459d2473600a5"},{"url":"https://git.kernel.org/stable/c/8b5f1d295dda8677e4545ce340053fcfa8b634c7"},{"url":"https://git.kernel.org/stable/c/c4faab452b3c1ada003d49c477609dd80523b9bf"}],"title":"gpib: fix double decrement of descriptor_busy in command_ioctl()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-72482","datePublished":"2026-08-15T05:57:20.247Z","dateReserved":"2026-08-09T03:40:39.935Z","dateUpdated":"2026-08-17T05:44:45.643Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:22","lastModifiedDate":"2026-08-17 06:19:16","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"72482","Ordinal":"1","Title":"gpib: fix double decrement of descriptor_busy in command_ioctl()","CVE":"CVE-2026-72482","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"72482","Ordinal":"1","NoteData":"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().","Type":"Description","Title":"gpib: fix double decrement of descriptor_busy in command_ioctl()"}]}}}