CVE-2026-46258

gpio: cdev: Avoid NULL dereference in linehandle_create()

published June 3, 2026

CVSS
—
EPSS
0%
Percentile
3.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00143 · 3.3th percentile
Published
2026-06-03T15:49Z
EPSS history
Timeline
  • 03 JUN 15:49Z
    gpio: cdev: Avoid NULL dereference in linehandle_create()
    cvelistv5