net: thunderx: fix PTP device ref leak in nicvf_probe()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.189, 6.6.158, 6.12.111, 6.18.53
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The Linux kernel's ThunderX network driver (used for Cavium ThunderX network adapters) can leak a reference to the PTP (Precision Time Protocol) PCI device if initialization fails during probing. The consequence is a resource leak that can accumulate over repeated failed device initializations, which may eventually affect system stability.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- First seen by cve.now
- Record last updated
Affected versions
- Linux Linux
From 4a8755096466d1002236ac7293eae821b6de87ba · fixed in 3a2eedb172e777f2c8608395eec42250fb355dae; From 4a8755096466d1002236ac7293eae821b6de87ba · fixed in c8bc44a1d86d5b432ec7f5a6f30b4e719a047374; From 4a8755096466d1002236ac7293eae821b6de87ba · fixed in df3d586ecc580623edadec71a6ffdf4c79e2a8e8; From 4a8755096466d1002236ac7293eae821b6de87ba · fixed in 916d74343cd60ef7c3d433bd417d26ba31642c09; From 4a8755096466d1002236ac7293eae821b6de87ba · fixed in 2bcf59eefb9f00a2b1d426b639ee49c305a80695
- Linux Linux
4.16
- KernelLinux
fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.53