CVE Feed
0.0 Unscored

In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix GPIO descriptor leak in gpiodgetarray() In…

CVE-2026-143246

In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix GPIO descriptor leak in gpiodgetarray() In gpiodgetarray(), descs->ndescs is used as the loop induction variable and is only incremented at the end of each iteration. When krealloc() fails on the first iteration (when index is 0), descs->desc[0] has already been acquired via gpiodgetindex(), but descs->ndescs is still 0. Consequently, gpiodputarray() frees descs without releasing descs->desc[0], leaking the descriptor. Fix this by using a dedicated loop induction variable and incrementing descs->ndescs immediately upon storing the retrieved descriptor. Additionally, since the fast-path arrayinfo setup only executes for the first element (index 0), simplify the bitmapset() calls to start at bit 0 for count bits instead of calculating offsets from the loop index.

Assessment

CVSS
0
Severity
Unscored
EPSS
0% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
3 December 2026
Last updated
3 December 2026
Affected
Linux · Linux
Assigner
Linux

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-143246