CVE-2026-46258

published 3 Jun 2026 · updated 3 Jun 2026

gpio: cdev: Avoid NULL dereference in linehandle_create()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e and Kernel 87b9d7a4cfbed5f42af440372026270af997c766.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.19, >=da7e394bf58f94e9783379fef7c7fb4411b03208 <6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e, >=da7e394bf58f94e9783379fef7c7fb4411b03208 <87b9d7a4cfbed5f42af440372026270af997c7666af6be278e3ba2ffb6af5b796c89dfb3f5d9063e, 87b9d7a4cfbed5f42af440372026270af997c766

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-46258 severity on Zeptric[![CVE-2026-46258](https://zeptric.io/badge/cve/CVE-2026-46258.svg)](https://zeptric.io/cve/CVE-2026-46258)