Vulnerability

CVE-2025-39872

mediumCVSS 3.1 5.5Published 23 Sep 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Linux linux kernel

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning