CVE-2026-23218

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

State
Published
Severity
Not scored
Published
Feb 18, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc to before e71e3fa90a15134113f61343392e887cd1f4bf7cAffected
  • 03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc to before e34f77b09080c86c929153e2a72da26b4f8947ffAffected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.10 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.