Vulnerability details

CVE-2025-39872

Linux Linux

hsr: hold rcu and dev lock for hsr_get_port_ndev

CVSS 3.1
7.8High

Official 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 scores

ScoreVersionSourceVector
7.8High 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Linux Linux 6.14 CVEProject cvelistV5 (CNA)
Linux Linux 6.12.63 ≤ v < 6.12.64 CVEProject cvelistV5 (CNA)
Linux Linux 9c10dd8eed74de9e8adeb820939f8745cd566d4a ≤ v < 68a6729afd3e8e9a2a32538642ce92b96ccf9b1d CVEProject cvelistV5 (CNA)
Linux Linux 9c10dd8eed74de9e8adeb820939f8745cd566d4a ≤ v < 847748fc66d08a89135a74e29362a66ba4e3ab15 CVEProject cvelistV5 (CNA)
Linux Linux ef964411c8ca775967355d855abc56aeaca3c867 ≤ v < 9433ba79c2ec3ec7c9a711748701549339c3438c CVEProject cvelistV5 (CNA)

References and advisories

3
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-09-23
Last updated
2026-08-05
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.15%
Probability of exploitation in 30 days
4.6%
Percentile (among all CVEs)

Weaknesses (CWE)

  • —