CVE-2026-46258
Received Received - Intake
NULL Dereference in Linux Kernel GPIO Character Device

Publication date: 2026-06-03

Last updated on: 2026-06-03

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-03
Last Modified
2026-06-03
Generated
2026-06-04
AI Q&A
2026-06-03
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel's gpio character device (cdev) subsystem, specifically in the function linehandle_create().

Within linehandle_create(), a pointer named 'lh' is assigned using retain_and_null_ptr(lh). However, shortly after, there is a debug print statement that dereferences 'lh' directly, which can lead to a NULL pointer dereference and cause the system to crash.

The fix involves avoiding the direct dereference of 'lh' and instead using handlereq.lines, which holds the same value but prevents the crash.


How can this vulnerability impact me? :

This vulnerability can cause the Linux kernel to crash due to a NULL pointer dereference in the gpio cdev subsystem.

A kernel crash can lead to system instability, unexpected reboots, or denial of service, which may disrupt normal operations on affected systems.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart