CVE-2026-72482: gpib: fix double decrement of descriptor_busy in command_ioctl()

Published Aug 15, 2026
·
Updated

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

gpib: fix double decrement of descriptorbusy in commandioctl()

commit d1857f8296dc ("gpib: fix use-after-free in IO ioctl handlers") introduced a descriptorbusy reference counter to pin struct gpibdescriptor across IO ioctl operations. In commandioctl(), the error path inside the loop decrements descriptorbusy 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 closedevioctl() sees descriptorbusy == 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 readioctl() and writeioctl().

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel gpib: fix double decrement of descriptor_busy in command_ioctl() to a version that resolves this vulnerability.

    Patch commit d1857f8296dc

Event History

Aug 15, 2026
CVE Published
via MITRE·05:57 AM
Data Sourced
via MITRE·05:57 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203