What’s Vulnerable › Vulnerabilities
CVE-2026-46258: gpio: cdev: Avoid NULL dereference in linehandle_create()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-03 · updated 2026-07-22
- Weakness: CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved: gpio: cdev: Avoid NULL dereference in linehandle_create() In linehandle_create(), there is a statement like this: retain_and_null_ptr(lh); Soon after, there is a debug printout that dereferences "lh", which will crash things. Avoid the crash by using handlereq.lines, which is the same value.
Affected products
- Linux kernel: from 6.19 before 6.19.4 — fixed in 6.19.4
How to fix
Upgrade to a fixed version: Linux kernel 6.19.4. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e
- https://git.kernel.org/stable/c/87b9d7a4cfbed5f42af440372026270af997c766
Get alerted when CVE-2026-46258 or the next vulnerability affects your stack