CVE-2023-52735

CRITICAL

Linux Kernel < 5.15.95 - Buffer Overflow in BPF Sockmap Proto Callbacks

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself sock_map proto callbacks should never call themselves by design. Protect against bugs like [1] and break out of the recursive loop to avoid a stack overflow in favor of a resource leak. [1] https://lore.kernel.org/all/[email protected]/

Scores

CVSS v3 9.1
EPSS 0.0122
EPSS Percentile 65.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-120
Status published
Products (15)
linux/Kernel < 5.15.95linux
linux/Kernel 5.16.0 - 6.1.13linux
Linux/Linux < 5.16
Linux/Linux 0580e47c8895a4d61ee095f086cba1ded7ca5e7f
Linux/Linux 5.14.19 - 5.15
Linux/Linux 5.15.3 - 5.15.95
Linux/Linux 5.15.95 - 5.15.*
Linux/Linux 5.16
Linux/Linux 6.1.13 - 6.1.*
Linux/Linux 6.2
... and 5 more
Published May 21, 2024
Tracked Since Feb 18, 2026