← CVE Intelligence

CVE-2026-23218

gpio: loongson-64bit: Fix incorrect NULL check after devm_kcalloc() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: gpio: loongson-64bit: Fix incorrect NULL check after devm_kcalloc() Fix incorrect NULL check in loongson_gpio_init_irqchip(). The function checks chip->parent instead of chip->irq.parents.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc before e71e3fa90a15134113f61343392e887cd1f4bf7c; affected 03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc before e34f77b09080c86c929153e2a72da26b4f8947ff
Linux / Linuxaffected 6.18; unaffected 0 before 6.18; unaffected 6.18.10 through 6.18.*; unaffected 6.19 through *

CWE

No CWE identifiers supplied.

References