CVE-2026-46258

Source
https://cve.org/CVERecord?id=CVE-2026-46258
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46258.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-46258
Downstream
Published
2026-06-03T15:49:55.372Z
Modified
2026-06-18T03:54:38.415971207Z
Summary
gpio: cdev: Avoid NULL dereference in linehandle_create()
Details

In the Linux kernel, the following vulnerability has been resolved:

gpio: cdev: Avoid NULL dereference in linehandle_create()

In linehandlecreate(), there is a statement like this: retainandnullptr(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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46258.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
da7e394bf58f94e9783379fef7c7fb4411b03208
Fixed
87b9d7a4cfbed5f42af440372026270af997c766
Fixed
6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46258.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-46258.json"