1. Home
  2. Vulnerabilities
  3. CVE-2026-139285

CVE-2026-139285

gpiolib: fix memory leak in gpiod_set_array_value_complex() EPERM error path

Published 30 Nov 2026 · modified 30 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 13/100

Summary

In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix memory leak in gpiod_set_array_value_complex() EPERM error path A drive-by review by Sashiko reports that, where the line has not been configured as an output, gpiod_set_array_value_complex() can return without freeing potentially alloced bitmaps, thus leaking memory. Cleanup the bitmaps before returning.

Affected products and versions

Linux (1 line(s))
Linux
ProductVersionsFixed inSource
Linux 6.16 — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)

How this data is obtained and calculated