CVE-2025-39872

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*

History

12 Dec 2025, 19:01

Type Values Removed Values Added
CWE NVD-CWE-noinfo
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/68a6729afd3e8e9a2a32538642ce92b96ccf9b1d - () https://git.kernel.org/stable/c/68a6729afd3e8e9a2a32538642ce92b96ccf9b1d - Patch
References () https://git.kernel.org/stable/c/847748fc66d08a89135a74e29362a66ba4e3ab15 - () https://git.kernel.org/stable/c/847748fc66d08a89135a74e29362a66ba4e3ab15 - Patch
First Time Linux
Linux linux Kernel

23 Sep 2025, 06:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-23 06:15

Updated : 2025-12-12 19:01


NVD link : CVE-2025-39872

Mitre link : CVE-2025-39872

CVE.ORG link : CVE-2025-39872


JSON object : View

Products Affected

linux

  • linux_kernel