PT-2025-40748

CVE-2023-53585

·

Published

2020-11-04

·

Updated

2026-10-21

Description by

CVSS 4.0
5.6
Medium
MetricsAV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel contains a flaw in the bpf sk assign function related to handling unhashed sockets. Specifically, the function does not properly reject unhashed UDP sockets, leading to a potential reference count leak. This occurs because the function increments the reference count of a socket, but the reference is not decremented as expected when the socket is bound or connected, and the SOCK RCU FREE flag is set. The issue arises from changes allowing access to unhashed UDP sockets from BPF without adjusting the helper function accordingly. The fix involves rejecting unhashed sockets in bpf sk assign, aligning its behavior with inet lookup skb. The vulnerable code path involves the following functions: bpf sk assign, skb steal sock, tcp v4 rcv, and inet lookup skb.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Vendors
Affected products
Related identifiers
ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
CESA-2020_4431
CLSA-2026-1779987841
RHSA-2020:4431
RHSA-2020_4431
RHSA-2024:2394
RHSA-2024_2394
SUSE-SU-2025:21040-1
SUSE-SU-2025:21052-1
SUSE-SU-2025:21056-1
SUSE-SU-2025:21064-1
SUSE-SU-2025:4057-1
SUSE-SU-2025:4128-1
SUSE-SU-2025:4132-1
SUSE-SU-2025:4140-1
SUSE-SU-2025:4141-1
SUSE-SU-2025:4301-1
Found an issue in the description? Have something to add? Feel free to write us 👾