CVE-2026-99989

Source
https://cve.org/CVERecord?id=CVE-2026-99989
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99989.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99989
Downstream
Published
2026-11-30T13:18:55Z
Modified
2026-11-30T15:02:33Z
Summary
gpiolib: Free chip resources when allocating the label fails
Details

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

gpiolib: Free chip resources when allocating the label fails

If desc_set_label() fails after the chip's request callback succeeds, gpiod_request_commit() clears GPIOD_FLAG_REQUESTED without calling the free callback. The caller receives an error and has no GPIO to release, leaving resources acquired by the request callback held.

Call the chip's free callback, if present, before clearing the requested bit on label allocation failure. Leave request callback errors on the existing path to avoid freeing a failed request.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99989.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6
Fixed
3f81b2472c606695780b47b04525fecdd9ebe50a
Fixed
0fad7fba30c8ba80968a9867a765987b3ffa6cb2
Fixed
63f3307bc2901fc5a149027de718c0a78a92554f
Fixed
8381e1f15e27087fcb6f07046a526ac8b9b9b2b9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99989.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.9.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99989.json"