What’s Vulnerable › Vulnerabilities
CVE-2026-23218: gpio: loongson-64bit: Fix incorrect NULL check after devm_kcalloc()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-18 · updated 2026-06-17
- Weakness: CWE-476
Description
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 products
- Linux kernel: from 6.18 before 6.18.10; 6.19-rc1, 6.19-rc2, 6.19-rc3, 6.19-rc4, 6.19-rc5, 6.19-rc6 (+2) — fixed in 6.18.10
How to fix
Upgrade to a fixed version: Linux kernel 6.18.10. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/e34f77b09080c86c929153e2a72da26b4f8947ff
- https://git.kernel.org/stable/c/e71e3fa90a15134113f61343392e887cd1f4bf7c
Get alerted when CVE-2026-23218 or the next vulnerability affects your stack