CVE-2026-46258

MEDIUM

gpio: cdev: Avoid NULL dereference in linehandle_create()

Title source: cna
STIX 2.1

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

CVSS v3 5.5
EPSS 0.0010
EPSS Percentile 1.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (7)
Linux/Linux < 6.19
Linux/Linux 6.19
Linux/Linux 6.19.4 - 6.19.*
Linux/Linux 7.0
Linux/Linux da7e394bf58f94e9783379fef7c7fb4411b03208 - 6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e
Linux/Linux da7e394bf58f94e9783379fef7c7fb4411b03208 - 87b9d7a4cfbed5f42af440372026270af997c766
linux/linux_kernel 6.19 - 6.19.4
Published Jun 03, 2026
Tracked Since Jun 03, 2026