CVE-2025-39872

hsr: hold rcu and dev lock for hsr_get_port_ndev

MEDIUM
5.5
CVSS Score
Published: September 23, 2025 at 06:00 AM UTC
Updated: October 19, 2026 at 09:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.14 ≤ v < 6.16.86.12.636.176.17 rc16.17 rc26.17 rc36.17 rc46.17 rc59c10dd8eed74de9e8adeb820939f8745cd566d4aef964411c8ca775967355d855abc56aeaca3c867
Vendor states this is fixed in 68a6729afd3e8e9a2a32538642ce92b96ccf9b1d (fixed)
Vendor states this is fixed in 847748fc66d08a89135a74e29362a66ba4e3ab15 (fixed)
Vendor states this is fixed in 9433ba79c2ec3ec7c9a711748701549339c3438c (fixed)
Vendor states this is fixed in 6.12.64 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.16.8 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card