CVE-2024-36973 misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.1
해결 버전
- 6.1 미만
- 6.1.95 이상
- 6.6.35 이상
- 6.9.6 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/086c6cbcc563c81d55257f9b27e14faf1d0963d3 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/1efe551982297924d05a367aa2b6ec3d275d5742 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/34ae447b138680b5ed3660f7d935ff3faf88ba1a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/86c9713602f786f441630c4ee02891987f8618b9 (새 창)