PT-2025-46624 · Linux+3 · Linux Kernel+3
Published
2025-09-16
·
Updated
2026-05-26
·
CVE-2025-40149
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contains a use-after-free issue within the
get netdev for sock() function. This function is called during setsockopt(), and the previous implementation using sk dst get(sk)->dev could lead to a use-after-free condition. The issue is addressed by utilizing sk dst get() and dst dev rcu() to improve memory safety. The only known user of ->ndo sk get lower dev() is bond sk get lower dev(), which already employs RCU.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linuxmint
Linux Kernel
Ubuntu