High · published June 17, 2024
In the Linux kernel, the following vulnerability has been resolved:
misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe()
When auxiliary_device_add() returns error and then calls
auxiliary_device_uninit(), callback function
gp_auxiliary_device_release() calls ida_free() and
kfree(aux_device_wrapper) to free memory. We should't
call them again in the error handling path.
Fix this by skipping the redundant cleanup functions.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 6.1, < 6.1.95 | 6.1.95 |
| linux/linux_kernel | ≥ 6.2, < 6.6.35 | 6.6.35 |
| linux/linux_kernel | ≥ 6.7, < 6.9.6 | 6.9.6 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |