CVE-2026-23218Published Feb 18, 2026 · Feb 18Updated Oct 28
gpio: loongson-64bit: Fix incorrect NULL check after devm_kcalloc()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The loongson-64bit GPIO driver checks the wrong pointer after devm_kcalloc() in loongson_gpio_init_irqchip(). This may cause a NULL pointer dereference; the input does not specify how an attacker could trigger it or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the loongson-64bit GPIO driver should check their versions; affected versions are not specified.