{"id":"CVE-2024-36973","summary":"misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe()\n\nWhen auxiliary_device_add() returns error and then calls\nauxiliary_device_uninit(), callback function\ngp_auxiliary_device_release() calls ida_free() and\nkfree(aux_device_wrapper) to free memory. We should't\ncall them again in the error handling path.\n\nFix this by skipping the redundant cleanup functions.","modified":"2026-03-20T12:36:54.576148Z","published":"2024-06-17T17:51:52.112Z","related":["SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36973.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/086c6cbcc563c81d55257f9b27e14faf1d0963d3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1efe551982297924d05a367aa2b6ec3d275d5742"},{"type":"WEB","url":"https://git.kernel.org/stable/c/34ae447b138680b5ed3660f7d935ff3faf88ba1a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/86c9713602f786f441630c4ee02891987f8618b9"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36973.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36973"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"393fc2f5948fd340d016a9557eea6e1ac2f6c60c"},{"fixed":"34ae447b138680b5ed3660f7d935ff3faf88ba1a"},{"fixed":"86c9713602f786f441630c4ee02891987f8618b9"},{"fixed":"1efe551982297924d05a367aa2b6ec3d275d5742"},{"fixed":"086c6cbcc563c81d55257f9b27e14faf1d0963d3"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-36973.json"}}],"schema_version":"1.7.5"}