In the Linux kernel, the following vulnerability has been...
High severity
Unreviewed
Published
May 1, 2026
to the GitHub Advisory Database
•
Updated May 7, 2026
Description
Published by the National Vulnerability Database
May 1, 2026
Published to the GitHub Advisory Database
May 1, 2026
Last updated
May 7, 2026
In the Linux kernel, the following vulnerability has been resolved:
reset: gpio: fix double free in reset_add_gpio_aux_device() error path
When __auxiliary_device_add() fails, reset_add_gpio_aux_device()
calls auxiliary_device_uninit(adev).
The device release callback reset_gpio_aux_device_release() frees
adev, but the current error path then calls kfree(adev) again,
causing a double free.
Keep kfree(adev) for the auxiliary_device_init() failure path, but
avoid freeing adev after auxiliary_device_uninit().
References