gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths
cve-program · CVE-2026-99190 · Published
No access to your tenant or devices. Every item links to its source. What this means
Historical advisory recorded 28 Oct 2026 11:27:43 UTC. Read the latest advisory.
In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths A drive-by review by Sashiko reports that, after a failed call to gpiochip_set_multiple(), gpiod_set_array_value() returns abruptly, bypassing the freeing of possibly alloced bitmaps, potentially leaking memory. It is an unlikely error path, but is possible. Defer the return code check until after the bitmap_free() block.
Read the publisher's advisorySee how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
cve-program · CVE-2026-99190 · Published
This historical link shows only this version and versions saved before it. Browse all advisory history.