CVE-2026-143246: Linux kernel · gpiolib: fix GPIO descriptor leak in gpiod_get_array()
Source GCVE Database
Not known to be exploited · fixed in b2a161687acdc297aa91fec7fa0966b5aecf0d16 : update Linux kernel when convenient.
Data as of 3 Dec 2026, 14:45 UTC
Rated Low by Threat Radar's AI analysis · 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– |
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel source code by correcting the loop variable handling and descriptor counting in gpiod_get_array(). Users should apply the official kernel updates or patches that include this fix once available.
Description
A vulnerability in the Linux kernel's gpiolib subsystem caused a GPIO descriptor leak in the gpiod_get_array() function. The issue occurs when krealloc() fails on the first iteration of a loop, leading to a descriptor being acquired but not properly released, resulting in a resource leak. The flaw has been fixed by adjusting the loop variable usage and descriptor counting logic.
References
- nvd.nist.gov/vuln/detail/CVE-2026-143246 (opens in a new tab)
- git.kernel.org/stable/c/233b889db63c316ec558db34ae15dcb4784dc39f (opens in a new tab)
- git.kernel.org/stable/c/5e22a760a23ee3298b525b1bc6b0647272d6bf4b (opens in a new tab)
- git.kernel.org/stable/c/b2a161687acdc297aa91fec7fa0966b5aecf0d16 (opens in a new tab)