{"id":"CVE-2026-46258","aliases":["CVE-2026-46258"],"related":[],"kind":"vulnerability","state":"published","title":"gpio: cdev: Avoid NULL dereference in linehandle_create()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: cdev: Avoid NULL dereference in linehandle_create()\n\nIn linehandle_create(), there is a statement like this:\n  retain_and_null_ptr(lh);\n\nSoon after, there is a debug printout that dereferences \"lh\", which\nwill crash things.\n\nAvoid the crash by using handlereq.lines, which is the same value.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: cdev: Avoid NULL dereference in linehandle_create()\n\nIn linehandle_create(), there is a statement like this:\n  retain_and_null_ptr(lh);\n\nSoon after, there is a debug printout that dereferences \"lh\", which\nwill crash things.\n\nAvoid the crash by using handlereq.lines, which is the same value.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ngpio: cdev: Evitar desreferencia de NULL en linehandle_create()\n\nEn linehandle_create(), hay una declaración como esta:\n  retain_and_null_ptr(lh);\n\nPoco después, hay una impresión de depuración que desreferencia 'lh', lo que provocará un fallo.\n\nEvitar el fallo usando handlereq.lines, que es el mismo valor.","source":"nvd"}],"published":"2026-06-03T15:49:55.372Z","modified":"2026-07-22T20:10:00.127Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"da7e394bf58f94e9783379fef7c7fb4411b03208","fixed":"87b9d7a4cfbed5f42af440372026270af997c766","status":"affected"},{"type":"git","introduced":"da7e394bf58f94e9783379fef7c7fb4411b03208","fixed":"6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"6.19.4","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.19","fixed":"6.19.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/87b9d7a4cfbed5f42af440372026270af997c766","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6af6be278e3ba2ffb6af5b796c89dfb3f5d9063e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46258","url":"https://www.cve.org/CVERecord?id=CVE-2026-46258","licence":"CVE Terms of Use","modified":"2026-06-03T15:49:55.372Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46258","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46258","licence":"Public domain","modified":"2026-07-22T20:10:00.127Z"}],"updatedAt":"2026-11-25T22:59:23.658Z","epss":{"score":0.001,"percentile":0.00923,"date":"2026-12-01T12:00:22.000Z"}}