Skip to main content
← All vulnerabilities
CVE-2025-39872

hsr: hold rcu and dev lock for hsr_get_port_ndev

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.12.64
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.12.63 · fixed in 6.12.64

  • Linux Linux

    6.14

References 3

git.kernel.org