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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-28T10:35:47.107Z
- **Modified:** 2026-10-30T13:21:52.150Z

## Who should check

- Anyone running Linux \>= d73d2a569e6212f58d89efc6e66ffbb2386a47b1, \< 68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f; \>= 9b407312755fd5db012413ca005f0f3a661db8dd, \< 78189c0e35abbcdab3b8ab0b764d578c02900734; \>= 9b407312755fd5db012413ca005f0f3a661db8dd, \< 890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d; \>= 9b407312755fd5db012413ca005f0f3a661db8dd, \< c28846ca1ac6134881114d272314623c8433e372; \>= 6.12.114, \< 6.12.115
- Anyone running Linux 6.15

## 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.

## Affected and fixed versions

- Linux: \>= d73d2a569e6212f58d89efc6e66ffbb2386a47b1, \< 68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f; \>= 9b407312755fd5db012413ca005f0f3a661db8dd, \< 78189c0e35abbcdab3b8ab0b764d578c02900734; \>= 9b407312755fd5db012413ca005f0f3a661db8dd, \< 890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d; \>= 9b407312755fd5db012413ca005f0f3a661db8dd, \< c28846ca1ac6134881114d272314623c8433e372; \>= 6.12.114, \< 6.12.115 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 6.12.115 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99190. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99190.md
Affected: Linux >= d73d2a569e6212f58d89efc6e66ffbb2386a47b1, < 68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f; >= 9b407312755fd5db012413ca005f0f3a661db8dd, < 78189c0e35abbcdab3b8ab0b764d578c02900734; >= 9b407312755fd5db012413ca005f0f3a661db8dd, < 890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d; >= 9b407312755fd5db012413c…
Fixed in: Linux 68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f, Linux 78189c0e35abbcdab3b8ab0b764d578c02900734, Linux 890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d, Linux 6.12.115

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99190 being exploited?

There is no confirmed exploitation: CVE-2026-99190 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-99190?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99190?

Linux \>= d73d2a569e6212f58d89efc6e66ffbb2386a47b1, \< 68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f; \>= 9b407312755fd5db012413ca005f0f3a661db8dd, \< 78189c0e35abbcdab3b8ab0b764d578c02900734; \>= 9b407312755fd5db012413ca005f0f3a661db8dd, \< 890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d; \>= 9b407312755fd5db012413ca005f0f3a661db8dd, \< c28846ca1ac6134881114d272314623c8433e372; \>= 6.12.114, \< 6.12.115; Linux 6.15.

### Is there a fix for CVE-2026-99190?

Yes. Fixed in Linux 68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f, Linux 78189c0e35abbcdab3b8ab0b764d578c02900734, Linux 890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d, Linux 6.12.115. Upgrade Linux to 6.12.115 or later.

### How do I check if I'm affected by CVE-2026-99190?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99190>

HTML: <https://flawdb.com/CVE-2026-99190> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99190>
