CVE Database›Document archive›CVE-2026-23218

CVE-2026-23218

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

Loading…

Severity

Moderate

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · February 18, 2026

Updated · June 28, 2026

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.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified