Use-after-free in Linux kernel - CVE-2025-39872

 

Use-after-free in Linux kernel - CVE-2025-39872

Published: September 23, 2025


Vulnerability identifier: #VU116040
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-39872
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a use-after-free error within the hsr_get_port_ndev() function in net/hsr/hsr_device.c. A local user can escalate privileges on the system.


Affected software

Linux kernel
Debian Linux
linux (Debian package)

How to mitigate CVE-2025-39872

Install update from vendor's repository.

linux (Debian package) - update to 6.12.69-1

External References

Related Security Bulletins