PT-2025-27739 · Linux+6 · Linux Kernel+6
Published
2025-05-16
·
Updated
2026-04-20
·
CVE-2025-38154
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:
A race condition exists in the Linux kernel's bpf and sockmap functionality. The issue arises when the
sk->sk socket is not locked or referenced in the backlog thread, and during the call to skb send sock(), there is a race condition with the release of sk socket. This affects all types of sockets, including tcp, udp, unix, and vsock. The problem occurs because the reference count of psock becomes 0 after sock map close() is executed, leading to a panic. To resolve this, the patch increases the psock reference count to avoid race conditions, ensuring that sock map close() waits for the backlog thread to complete and cancels all pending work.Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Improper Locking
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu