PT-2025-40748 · Linux+3 · Linux Kernel+3

Published

2020-11-04

·

Updated

2025-11-28

·

CVE-2023-53585

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.

Exploit

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2026-04429
CESA-2020_4431
CVE-2023-53585
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

Affected Products

Centos
Linux Kernel
Red Hat
Suse