Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected da7e394bf58f94e9783379fef7c7fb4411b03208 before 87b9d7a4cfbed5f42af440372026270af997c766; affected da7e394bf58f94e9783379fef7c7fb4411b03208 before 6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e |
| Linux / Linux | affected 6.19; unaffected 0 before 6.19; unaffected 6.19.4 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.