CVE-2026-46258
gpio: cdev: Avoid NULL dereference in linehandle_create()
- State
- Published
- Severity
- Not scored
- Published
- Jun 3, 2026
- Updated
- Jun 3, 2026
- Reserved
- May 13, 2026
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.