Description
In the Linux kernel, the following vulnerability has been resolved: net: thunderx: fix PTP device ref leak in nicvf_probe() cavium_ptp_get() acquires a reference to the PTP PCI device through pci_get_device(). If any initialization step fails after cavium_ptp_get(), the PTP PCI device reference is leaked. Add a common error path to release the PTP reference before returning from probe failures.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
4a8755096466d1002236ac7293eae821b6de87ba to < 3a2eedb172e777f2c8608395eec42250fb355daeaffected4a8755096466d1002236ac7293eae821b6de87ba to < c8bc44a1d86d5b432ec7f5a6f30b4e719a047374affected4a8755096466d1002236ac7293eae821b6de87ba to < df3d586ecc580623edadec71a6ffdf4c79e2a8e8affected4a8755096466d1002236ac7293eae821b6de87ba to < 916d74343cd60ef7c3d433bd417d26ba31642c09affected4a8755096466d1002236ac7293eae821b6de87ba to < 2bcf59eefb9f00a2b1d426b639ee49c305a80695affected
Linux Linux
Default version status: affected
4.16affected0 to < 4.16unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3a2eedb172e777f2c8608395eec42250fb355dae ↗
- https://git.kernel.org/stable/c/c8bc44a1d86d5b432ec7f5a6f30b4e719a047374 ↗
- https://git.kernel.org/stable/c/df3d586ecc580623edadec71a6ffdf4c79e2a8e8 ↗
- https://git.kernel.org/stable/c/916d74343cd60ef7c3d433bd417d26ba31642c09 ↗
- https://git.kernel.org/stable/c/2bcf59eefb9f00a2b1d426b639ee49c305a80695 ↗