CVE Catalog

CVE-2026-92482

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the pinctrl: mediatek driver registered the gpio_chip with the non-managed gpiochip_add_data() even though the memory was allocated with device-managed memory. Once the drivers can be built as modules and unbound/rmmod'd, devm frees the gpio_chip's memory while it is still registered, causing a use-after-free.

Risk Assessment

May lead to a kernel crash or potential code execution when unloading the MediaTek pinctrl driver module.

Recommendation

Update the Linux kernel to a version containing the fix that registers the gpio_chip with devm_gpiochip_add_data().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: pinctrl: mediatek: use devm_gpiochip_add_data() for GPIO chip The gpio_chip is allocated with device-managed memory but registered with the non-managed gpiochip_add_data(). This was harmless while the drivers were built-in, but once they can be built as modules and unbound/rmmod'd, devm frees the gpio_chip's memory while it is still registered, causing a use-after-free. Register it with devm_gpiochip_add_data() so it shares the same device-managed lifecycle, which also lets the manual gpiochip_remove() error paths go away.

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