What’s Vulnerable › Vulnerabilities

CVE-2026-46258: gpio: cdev: Avoid NULL dereference in linehandle_create()

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

How to fix

Upgrade to a fixed version: Linux kernel 6.19.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-46258 or the next vulnerability affects your stack