CVE-2025-39872
MediumIn 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 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
6.12.63,
6.14
and later are affected. Fixed in
6.12.64,
6.16.8,
6.17
and their respective stable series.
References
The following references provide additional information about CVE-2025-39872 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/68a6729afd3e8e9a2a32538642ce92b96ccf9b1d
-
PatchKernel patch commithttps://git.kernel.org/stable/c/847748fc66d08a89135a74e29362a66ba4e3ab15
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9433ba79c2ec3ec7c9a711748701549339c3438c
Frequently asked questions
-
What is CVE-2025-39872?
CVE-2025-39872 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.12.63 onward and has been patched in 6.12.64, 6.16.8 and 6.17. CVE-2025-39872 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-39872?
CVE-2025-39872 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-39872?
Yes — CVE-2025-39872 has been patched. Fixed versions include 6.12.64, 6.16.8 and 6.17. If you are running Linux kernel 6.12.63 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-39872 actively exploited?
No — CVE-2025-39872 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.