PT-2023-9465 · Linux+3 · Linux Kernel+3

Jakub Sitnicki

·

Published

2023-09-29

·

Updated

2025-01-13

·

CVE-2023-52523

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 vulnerability is related to the Linux kernel's sockmap component, where a hard-coded assumption in the call-chain expects the egress socket to be a TCP socket. However, with the introduction of redirects to non-TCP sockets in commit 122e6c79efe1 for BPF sk skb programs, attempts to send-to-egress through a non-TCP socket can lead to a crash due to an invalid downcast from sock to tcp sock, resulting in a kernel NULL pointer dereference. When attempted, the user will receive an EACCES error from send/sendto/sendmsg() syscall.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

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

Weakness Enumeration

Related Identifiers

BDU:2024-07818
CVE-2023-52523
OPENSUSE-SU-2024_1321-1
OPENSUSE-SU-2024_1322-1
OPENSUSE-SU-2024_1322-2
OPENSUSE-SU-2024_1332-1
OPENSUSE-SU-2024_1332-2
OPENSUSE-SU-2024_1466-1
OPENSUSE-SU-2024_1480-1
OPENSUSE-SU-2024_1490-1
SUSE-SU-2024:1320-1
SUSE-SU-2024:1321-1
SUSE-SU-2024:1466-1
SUSE-SU-2024:1480-1
SUSE-SU-2024:1490-1

Affected Products

Astra Linux
Linux Kernel
Red Os
Suse