Bug 2562742 (CVE-2026-99190) - CVE-2026-99190 kernel: gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths
Summary: CVE-2026-99190 kernel: gpiolib: fix memory leak in gpiod_set_array_value_comp...
Keywords:
Status: NEW
Alias: CVE-2026-99190
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-28 11:01 UTC by OSIDB Bzimport
Modified: 2026-10-29 07:58 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-28 11:01:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.