net: thunderx: fix PTP device ref leak in nicvf_probe()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2bcf59eefb9f00a2b1d426b639ee49c305a80695, Kernel 3a2eedb172e777f2c8608395eec42250fb355dae, Kernel 916d74343cd60ef7c3d433bd417d26ba31642c09 and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.16, >=4a8755096466d1002236ac7293eae821b6de87ba <2bcf59eefb9f00a2b1d426b639ee49c305a80695, >=4a8755096466d1002236ac7293eae821b6de87ba <3a2eedb172e777f2c8608395eec42250fb355dae, >=4a8755096466d1002236ac7293eae821b6de87ba <916d74343cd60ef7c3d433bd417d26ba31642c09, >=4a8755096466d1002236ac7293eae821b6de87ba <c8bc44a1d86d5b432ec7f5a6f30b4e719a047374, >=4a8755096466d1002236ac7293eae821b6de87ba <df3d586ecc580623edadec71a6ffdf4c79e2a8e8 | 2bcf59eefb9f00a2b1d426b639ee49c305a80695, 3a2eedb172e777f2c8608395eec42250fb355dae, 916d74343cd60ef7c3d433bd417d26ba31642c09, c8bc44a1d86d5b432ec7f5a6f30b4e719a047374, df3d586ecc580623edadec71a6ffdf4c79e2a8e8 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket