# CVE-2024-36973: misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe()

- Severity: High 8.4 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-06-17T17:51:52.112Z
- Modified: 2026-08-05T11:32:24.325Z
- Weaknesses: CWE-415
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 393fc2f5948fd340d016a9557eea6e1ac2f6c60c before 34ae447b138680b5ed3660f7d935ff3faf88ba1a; from 393fc2f5948fd340d016a9557eea6e1ac2f6c60c before 86c9713602f786f441630c4ee02891987f8618b9; from 393fc2f5948fd340d016a9557eea6e1ac2f6c60c before 1efe551982297924d05a367aa2b6ec3d275d5742; from 393fc2f5948fd340d016a9557eea6e1ac2f6c60c before 086c6cbcc563c81d55257f9b27e14faf1d0963d3; 6.1 (not affected: before 6.1; from 6.1.95 up to 6.1.*; from 6.6.35 up to 6.6.*; from 6.9.6 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.1 before 6.1.95; from 6.2 before 6.6.35; from 6.7 before 6.9.6; 6.10

## Every score

- Linux: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/34ae447b138680b5ed3660f7d935ff3faf88ba1a> (patch)
- <https://git.kernel.org/stable/c/86c9713602f786f441630c4ee02891987f8618b9> (patch)
- <https://git.kernel.org/stable/c/1efe551982297924d05a367aa2b6ec3d275d5742> (patch)
- <https://git.kernel.org/stable/c/086c6cbcc563c81d55257f9b27e14faf1d0963d3> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-36973](https://www.cve.org/CVERecord?id=CVE-2024-36973), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-36973](https://nvd.nist.gov/vuln/detail/CVE-2024-36973), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-36973 · Whole record: https://cve.day/CVE-2024-36973.json · Rebuilt by cve.day 2026-11-25T22:58:41.953Z
