CVE Catalog

CVE-2026-93274

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the bcm2835 pinctrl driver's bcm2835_pinctrl_probe() calls gpiochip_remove() before the GPIO chip is registered by gpiochip_add_data() when devm_pinctrl_register() fails. This leaves gpio_chip.gpiodev as NULL, resulting in a null pointer dereference inside gpiochip_remove().

Risk Assessment

Can lead to a kernel panic upon registration failure, causing a denial of service.

Recommendation

Update the Linux kernel to a version containing the fix that removes the unnecessary gpiochip_remove() call in the error path.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: pinctrl: bcm2835: Don't remove an unregistered GPIO chip If the devm_pinctrl_register() function fails, bcm2835_pinctrl_probe() calls gpiochip_remove() before gpiochip_add_data() has registered the GPIO chip. This means that upon failure the gpio_chip.gpiodev is NULL resulting in a null pointer dereference inside the gpiochip_remove() function. Remove the unnecessary function call to gpiochip_remove(). No GPIO cleanup is required because the GPIO chip has not yet been registered. Without this change there is potential for a kernel panic upon registration failure

Vulnerability data from NVD (NIST) · CISA KEV · EPSS