{"id":"CVE-2026-23218","aliases":["CVE-2026-23218"],"related":[],"kind":"vulnerability","state":"published","title":"gpio: loongson-64bit: Fix incorrect NULL check after devm_kcalloc()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: loongson-64bit: Fix incorrect NULL check after devm_kcalloc()\n\nFix incorrect NULL check in loongson_gpio_init_irqchip().\nThe function checks chip->parent instead of chip->irq.parents.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: loongson-64bit: Fix incorrect NULL check after devm_kcalloc()\n\nFix incorrect NULL check in loongson_gpio_init_irqchip().\nThe function checks chip->parent instead of chip->irq.parents.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ngpio: loongson-64bit: Corrección de verificación NULL incorrecta después de devm_kcalloc()\n\nCorrige la verificación NULL incorrecta en loongson_gpio_init_irqchip().\nLa función verifica chip-&gt;parent en lugar de chip-&gt;irq.parents.","source":"nvd"}],"published":"2026-02-18T14:21:55.906Z","modified":"2026-06-17T10:21:07.350Z","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":"03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc","fixed":"e71e3fa90a15134113f61343392e887cd1f4bf7c","status":"affected"},{"type":"git","introduced":"03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc","fixed":"e34f77b09080c86c929153e2a72da26b4f8947ff","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.10","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","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.18","fixed":"6.18.10"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"},{"status":"affected","version":"6.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e71e3fa90a15134113f61343392e887cd1f4bf7c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e34f77b09080c86c929153e2a72da26b4f8947ff","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23218","url":"https://www.cve.org/CVERecord?id=CVE-2026-23218","licence":"CVE Terms of Use","modified":"2026-05-11T22:02:36.315Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23218","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23218","licence":"Public domain","modified":"2026-06-17T10:21:07.350Z"}],"updatedAt":"2026-11-25T22:59:13.992Z","epss":{"score":0.00119,"percentile":0.0193,"date":"2026-12-01T12:00:22.000Z"}}