Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 393fc2f5948fd340d016a9557eea6e1ac2f6c60c before 34ae447b138680b5ed3660f7d935ff3faf88ba1a; affected 393fc2f5948fd340d016a9557eea6e1ac2f6c60c before 86c9713602f786f441630c4ee02891987f8618b9; affected 393fc2f5948fd340d016a9557eea6e1ac2f6c60c before 1efe551982297924d05a367aa2b6ec3d275d5742; affected 393fc2f5948fd340d016a9557eea6e1ac2f6c60c before 086c6cbcc563c81d55257f9b27e14faf1d0963d3 |
| Linux / Linux | affected 6.1; unaffected 0 before 6.1; unaffected 6.1.95 through 6.1.*; unaffected 6.6.35 through 6.6.*; unaffected 6.9.6 through 6.9.*; unaffected 6.10 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/34ae447b138680b5ed3660f7d935ff3faf88ba1a
- https://git.kernel.org/stable/c/86c9713602f786f441630c4ee02891987f8618b9
- https://git.kernel.org/stable/c/1efe551982297924d05a367aa2b6ec3d275d5742
- https://git.kernel.org/stable/c/086c6cbcc563c81d55257f9b27e14faf1d0963d3
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.
- https://git.kernel.org/stable/c/34ae447b138680b5ed3660f7d935ff3faf88ba1a
- https://git.kernel.org/stable/c/86c9713602f786f441630c4ee02891987f8618b9
- https://git.kernel.org/stable/c/1efe551982297924d05a367aa2b6ec3d275d5742
- https://git.kernel.org/stable/c/086c6cbcc563c81d55257f9b27e14faf1d0963d3
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html