CVE-2025-39872

published 23 Sep 2025 · updated 17 Nov 2026

hsr: hold rcu and dev lock for hsr_get_port_ndev

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.64, Kernel 847748fc66d08a89135a74e29362a66ba4e3ab15, Kernel 9433ba79c2ec3ec7c9a711748701549339c3438c and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=6.12.63 <6.12.64, >=9c10dd8eed74de9e8adeb820939f8745cd566d4a <847748fc66d08a89135a74e29362a66ba4e3ab15, >=ef964411c8ca775967355d855abc56aeaca3c867 <9433ba79c2ec3ec7c9a711748701549339c3438c, =6.14, >=9c10dd8eed74de9e8adeb820939f8745cd566d4a <68a6729afd3e8e9a2a32538642ce92b96ccf9b1d6.12.64, 847748fc66d08a89135a74e29362a66ba4e3ab15, 9433ba79c2ec3ec7c9a711748701549339c3438c, 68a6729afd3e8e9a2a32538642ce92b96ccf9b1d
linux-kernel: Kernel>=6.14.0 <6.16.8, >=6.12.63 <6.12.646.16.8, 6.12.64

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-39872 severity on Zeptric[![CVE-2025-39872](https://zeptric.io/badge/cve/CVE-2025-39872.svg)](https://zeptric.io/cve/CVE-2025-39872)