Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: hsr: hold rcu and dev lock for hsr_get_port_ndev hsr_get_port_ndev calls hsr_for_each_port, which need to hold rcu lock. On the other hand, before return the port device, we need to hold the device reference to avoid UaF in the caller function.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.14, < 6.16.8 |
References
- https://git.kernel.org/stable/c/68a6729afd3e8e9a2a32538642ce92b96ccf9b1dPatch
- https://git.kernel.org/stable/c/847748fc66d08a89135a74e29362a66ba4e3ab15Patch
- https://git.kernel.org/stable/c/9433ba79c2ec3ec7c9a711748701549339c3438c
FAQ
What is CVE-2025-39872?
CVE-2025-39872 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: hsr: hold rcu and dev lock for hsr_get_port_ndev hsr_get_port_ndev calls hsr_for_each_port, which need to hold rcu lock. On the ot...
How severe is CVE-2025-39872?
CVE-2025-39872 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-39872?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.