CVE-2026-23218 PUBLISHED

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

Assigner: Linux
Reserved: 13.01.2026 Published: 18.02.2026 Updated: 18.02.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc to e71e3fa90a15134113f61343392e887cd1f4bf7c (excl.)
  • affected from 03c146cb6cd14fdab2d2c7ab1b4e8035b54df8cc to e34f77b09080c86c929153e2a72da26b4f8947ff (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.18 is affected
  • unaffected from 0 to 6.18 (excl.)
  • unaffected from 6.18.10 to 6.18.* (incl.)
  • unaffected from 6.19 to * (incl.)

References