Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

gpib: fix double decrement of descriptor_busy in command_ioctl()

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2026-72482

Published

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().

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-72482

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpib/common/gpib_os.c"
                    ],
                    "versions": [
                        {
                            "version": "cae26eff1b56d78bed7873cf3e60a2b1bdd4da6c",
                            "lessThan": "fdee9f207a48ce204ec6cfceaa1459d2473600a5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d1857f8296dceb75d00ab857fc3c61bc00c7f5c6",
                            "lessThan": "8b5f1d295dda8677e4545ce340053fcfa8b634c7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "d1857f8296dceb75d00ab857fc3c61bc00c7f5c6",
                            "lessThan": "c4faab452b3c1ada003d49c477609dd80523b9bf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "28c75dd143ead62e0dfac564c79d251e21d5d74b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.18.22",
                            "lessThan": "6.18.40",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.12",
                            "lessThan": "6.20",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpib/common/gpib_os.c"
                    ],
                    "versions": [
                        {
                            "version": "7.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "7.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.40",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 21 Nov 22:34 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current