Skip to main content
← All vulnerabilities
CVE-2026-99190EUVD-2026-111942

gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.13
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • Linux Linux

    From 6.12.114 · fixed in 6.13

  • Linux Linux

    6.15

References 3

git.kernel.org