Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 3a2eedb172e777f2c8608395eec42250fb355dae; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c8bc44a1d86d5b432ec7f5a6f30b4e719a047374; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before df3d586ecc580623edadec71a6ffdf4c79e2a8e8; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 916d74343cd60ef7c3d433bd417d26ba31642c09; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2bcf59eefb9f00a2b1d426b639ee49c305a80695; affected 0 before 6.1.189; affected 0 before 6.6.158; affected 0 before 6.12.111; affected 0 before 6.18.53 |
| Linux / Linux | unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.111 through 6.12.*; unaffected 6.18.53 through 6.18.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
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