CVE-2026-143246: Linux kernel · gpiolib: fix GPIO descriptor leak in gpiod_get_array()
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in b2a161687acdc297aa91fec7fa0966b5aecf0d16 : update Linux kernel when convenient.
Data as of 3 Dec 2026, 09:45 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in b2a161687acdc297aa91fec7fa0966b5aecf0d16, 233b889db63c316ec558db34ae15dcb4784dc39f, 5e22a760a23ee3298b525b1bc6b0647272d6bf4b
Exploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade Linux kernel to b2a161687acdc297aa91fec7fa0966b5aecf0d16, 233b889db63c316ec558db34ae15dcb4784dc39f or 5e22a760a23ee3298b525b1bc6b0647272d6bf4b.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
Description
In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix GPIO descriptor leak in gpiod_get_array() In gpiod_get_array(), 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 gpiod_get_index(), but descs->ndescs is still 0. Consequently, gpiod_put_array() 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 array_info setup only executes for the first element (index 0), simplify the bitmap_set() calls to start at bit 0 for count bits instead of calculating offsets from the loop index.