Description
In the Linux kernel, the following vulnerability has been resolved:

gpib: fix double decrement of descriptor_busy in command_ioctl()

commit d1857f8296dc ("gpib: fix use-after-free in IO ioctl handlers")
introduced a descriptor_busy reference counter to pin struct
gpib_descriptor across IO ioctl operations. In command_ioctl(), the
error path inside the loop decrements descriptor_busy and breaks, but
execution then falls through to the unconditional decrement after the
loop, underflowing the counter to -1.

This re-enables the use-after-free that the original fix was meant to
prevent: a concurrent close_dev_ioctl() sees descriptor_busy == 0 on
an actively-used descriptor and frees it.

Remove the early decrement from the error path. The post-loop
decrement already handles all exit paths, matching the correct pattern
used in read_ioctl() and write_ioctl().
Published: 2026-08-15
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A double decrement of the descriptor_busy reference counter in the gpib command_ioctl() path overflows the counter to –1, re‑enabling a use‑after‑free that the original patch intended to stop. When a concurrent close_dev_ioctl() operation checks the counter and finds it zero, it frees the descriptor while it is still in use, allowing an attacker to corrupt kernel memory or execute arbitrary code.

Affected Systems

All Linux kernel builds that compiled with the GPIB module before the commit that zeroes the counter correctly. This includes every distribution kernel with the bug present, because the vendor list lists Linux as the affected product. The exact version range is not specified in the CVE data, so any kernel prior to the application of commit d1857f8296dc is vulnerable.

Risk and Exploitability

The bug carries a high potential impact – aborting the kernel or enabling privilege escalation – and is likely exploitable in a local context where an attacker can trigger the conflicting ioctl calls; the CVSS score of 7.8 indicates a high severity. The EPSS score is very low (<1%), indicating a low probability of exploitation, and the vulnerability is not currently listed in the CISA KEV catalog, but the seriousness of a use‑after‑free in the kernel warrants a cautious assessment.

Generated by OpenCVE AI on August 22, 2026 at 04:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that contains commit d1857f8296dc to eliminate the double decrement
  • Reboot the system to ensure the new kernel is active
  • Temporarily disable the GPIB kernel module until the update is applied

Generated by OpenCVE AI on August 22, 2026 at 04:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 03:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 17 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: gpib: fix double decrement of descriptor_busy in command_ioctl() commit d1857f8296dc ("gpib: fix use-after-free in IO ioctl handlers") introduced a descriptor_busy reference counter to pin struct gpib_descriptor across IO ioctl operations. In command_ioctl(), the error path inside the loop decrements descriptor_busy and breaks, but execution then falls through to the unconditional decrement after the loop, underflowing the counter to -1. This re-enables the use-after-free that the original fix was meant to prevent: a concurrent close_dev_ioctl() sees descriptor_busy == 0 on an actively-used descriptor and frees it. Remove the early decrement from the error path. The post-loop decrement already handles all exit paths, matching the correct pattern used in read_ioctl() and write_ioctl().
Title gpib: fix double decrement of descriptor_busy in command_ioctl()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:44:45.643Z

Reserved: 2026-08-09T03:40:39.935Z

Link: CVE-2026-72482

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:22.430

Modified: 2026-08-17T06:19:16.347

Link: CVE-2026-72482

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72482 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T05:00:13Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count