Technical impact
The Linux kernel's gpiolib subsystem contains a logic error in the function that sets pin values for multiple GPIOs. When gpiochip_set_multiple() fails, the subsequent call to gpiod_set_array_value() returns early, bypassing the cleanup of allocated bitmaps. This oversight leads to memory leaks on error paths. While the flaw does not expose any information or allow execution of arbitrary code, the repeated leaking of memory can degrade system availability by exhausting kernel memory, potentially causing panics or crashes.
Affected Systems
The issue manifests in all Linux kernel versions that include the vulnerable gpiod_set_array_value_complex() implementation. No specific vendor or product variant is singled out; the affected component is the generic Linux kernel itself. Any system running a kernel that has not incorporated the patch will be susceptible.
Risk and Exploitability
The vulnerability is exploitability technically constrained to scenarios where an error path is triggered—specifically after a failed call to gpiochip_set_multiple(). The attack likely requires inducing such a failure, possibly through malformed driver input or a faulty device. The resulting impact is a denial of service via memory consumption rather than direct compromise of confidentiality or integrity. The EPSS score is < 1% and the CVSS score is 3.3, indicating a very low likelihood of exploitation and low severity. The vulnerability is not listed in the CISA KEV catalog. Given the specialized nature of the trigger, the overall risk is moderate, but in high‑availability environments repeated failures could be detrimental.