CVE-2026-99989
publishedgpiolib: Free chip resources when allocating the label fails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 to < 3f81b2472c606695780b47b04525fecdd9ebe50a · 1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 to < 0fad7fba30c8ba80968a9867a765987b3ffa6cb2 · 1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 to < 63f3307bc2901fc5a149027de718c0a78a92554f · 1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 to < 8381e1f15e27087fcb6f07046a526ac8b9b9b2b9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 to < 3f81b2472c606695780b47b04525fecdd9ebe50a (affected · git)1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 to < 0fad7fba30c8ba80968a9867a765987b3ffa6cb2 (affected · git)1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 to < 63f3307bc2901fc5a149027de718c0a78a92554f (affected · git)1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 to < 8381e1f15e27087fcb6f07046a526ac8b9b9b2b9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.9 (affected)0 to < 6.9 (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
gpiolib: Free chip resources when allocating the label fails
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8cab7fd3f08c7b651a7b51b0f149566a1c2633a8ef9584f38e14d806d4c66e16
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record