- Home
- Vulnerabilities
- CVE-2026-139285
CVE-2026-139285
gpiolib: fix memory leak in gpiod_set_array_value_complex() EPERM error path
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))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| 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
- — CVE published (cve)
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)