What is CVE-2026-139285?
CVE-2026-139285 is a vulnerability in Linux, published on 30 Nov 2026.
Official description
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.
Which versions are affected by CVE-2026-139285?
How do I fix CVE-2026-139285?
Upgrade to a fixed version.
Is CVE-2026-139285 being exploited?
There is no known exploitation of CVE-2026-139285 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2026-139285, DEBIAN-CVE-2026-139285, GHSA-w2xc-5f96-pgmq, UBUNTU-CVE-2026-139285.