CVE-2026-99190

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

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.

Key facts

Published
28 Oct 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.177% likely to be exploited in the next 30 days, higher than 7.317% of CVEs (scores for 16 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • d73d2a569e6212f58d89efc6e66ffbb2386a47b1 up to but excluding 68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f (affected)
  • 9b407312755fd5db012413ca005f0f3a661db8dd up to but excluding 78189c0e35abbcdab3b8ab0b764d578c02900734 (affected)
  • 9b407312755fd5db012413ca005f0f3a661db8dd up to but excluding 890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d (affected)
  • 9b407312755fd5db012413ca005f0f3a661db8dd up to but excluding c28846ca1ac6134881114d272314623c8433e372 (affected)
  • 6.12.114 up to but excluding 6.12.115 (affected)
LinuxLinux
  • Default status: affected
  • 6.15 (affected)
  • 0 up to but excluding 6.15 (unaffected)
  • 6.12.115 up to and including 6.12.* (unaffected)
  • 6.18.59 up to and including 6.18.* (unaffected)
  • 7.2.13 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 28 Oct 2026 Published

References