Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-99989

gpiolib: Free chip resources when allocating the label fails

Published 30/11/2026 · Updated 30/11/2026 · 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.

Affected products and versions

Linux Linux1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 – < 3f81b2472c606695780b47b04525fecdd9ebe50a · 1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 – < 0fad7fba30c8ba80968a9867a765987b3ffa6cb2 · 1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 – < 63f3307bc2901fc5a149027de718c0a78a92554f · 1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 – < 8381e1f15e27087fcb6f07046a526ac8b9b9b2b9Fixed in: 3f81b2472c606695780b47b04525fecdd9ebe50a · 0fad7fba30c8ba80968a9867a765987b3ffa6cb2 · 63f3307bc2901fc5a149027de718c0a78a92554f · 8381e1f15e27087fcb6f07046a526ac8b9b9b2b9
Linux Linux6.9Fixed in: 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.