CVE-2026-46258
publishedgpio: cdev: Avoid NULL dereference in linehandle_create()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxda7e394bf58f94e9783379fef7c7fb4411b03208 to < 87b9d7a4cfbed5f42af440372026270af997c766 · da7e394bf58f94e9783379fef7c7fb4411b03208 to < 6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.4 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | da7e394bf58f94e9783379fef7c7fb4411b03208 to < 87b9d7a4cfbed5f42af440372026270af997c766 (affected · git)da7e394bf58f94e9783379fef7c7fb4411b03208 to < 6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.4 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
gpio: cdev: Avoid NULL dereference in linehandle_create()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fbcc6dc80f916149a0a53f8b3031331e52ac0d2792531cf0f0ce393b08e4c7a6
- Ingested
- 23 Sep 2026, 09:16:17 UTC
- Source record
- Official CVE record