CVE-2023-52735 in the critical feed json
bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
published 2024-05-21 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-59454
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
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/00000000000073b14905ef2e7401@google.com/
Patch / fix
- Linux Linux 5.15, 5.15.95, 6.1.13, 6.2
- linux Debian 14, Debian 13, Debian 12 6.1.15-1
debian advisories DEBIAN-CVE-2023-52735
- linux Ubuntu 22.04 LTS 5.15.0-72.79
- linux-aws Ubuntu 22.04 LTS 5.15.0-1036.40
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1034.42
- linux-gke Ubuntu 22.04 LTS 5.15.0-1033.38
- linux-ibm Ubuntu 22.04 LTS 5.15.0-1030.33
- linux-kvm Ubuntu 22.04 LTS 5.15.0-1033.38
- linux-azure Ubuntu 22.04 LTS 5.15.0-1038.45
- linux-gkeop Ubuntu 22.04 LTS 5.15.0-1020.25
ubuntu advisories UBUNTU-CVE-2023-52735
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-362.8.1.el9_3
- rv RHEL 9 5.14.0-362.8.1.el9_3
- perf RHEL 9 5.14.0-362.8.1.el9_3
- rtla RHEL 9 5.14.0-362.8.1.el9_3
- bpftool RHEL 9 7.2.0-362.8.1.el9_3
- libperf RHEL 9 5.14.0-362.8.1.el9_3
- kernel-rt RHEL 9 5.14.0-362.8.1.el9_3
- kernel-64k RHEL 9 5.14.0-362.8.1.el9_3
red hat advisories RHSA-2024:5672RHSA-2024:5673RHSA-2023:6583
- kernel-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source-rt Linux Micro 6.0 6.4.0-9.1
- kernel-source Linux Micro 6.0 6.4.0-18.1
- kernel-default Linux Micro 6.0 6.4.0-18.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-18.1
- kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
- dtb-aarch64 openSUSE Leap 15.6 6.4.0-150600.23.22.1
- kernel-64kb SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 6.4.0-150600.23.22.1
suse advisories SUSE-SU-2025:20028-1SUSE-SU-2025:20008-1SUSE-SU-2024:3383-1SUSE-SU-2024:3194-1SUSE-SU-2024:2973-1SUSE-SU-2024:2947-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-52735 updated cvss 4.4
kernel: bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: workaround, no fix available
-
Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-debuginfo-common-s390x 5.14.0-284.80.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.80.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.80.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.80.1.el9_2 Red Hat Enterprise Linux AppStream EUS (v.9.2) perf 5.14.0-284.80.1.el9_2, rtla 5.14.0-284.80.1.el9_2, kernel-devel-matched 5.14.0-284.80.1.el9_2, kernel-64k-devel-matched 5.14.0-284.80.1.el9_2, kernel-debug-devel-matched 5.14.0-284.80.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.80.1.el9_2, +5 more Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool 7.0.0-284.80.1.el9_2, kernel 5.14.0-284.80.1.el9_2, kernel-64k 5.14.0-284.80.1.el9_2, kernel-core 5.14.0-284.80.1.el9_2, kernel-tools 5.14.0-284.80.1.el9_2, python3-perf 5.14.0-284.80.1.el9_2, +28 morefixed: vendor fix RHSA-2024:5672
-
Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt 5.14.0-284.80.1.rt14.365.el9_2, kernel-rt-core 5.14.0-284.80.1.rt14.365.el9_2, kernel-rt-modules 5.14.0-284.80.1.rt14.365.el9_2, kernel-rt-debug-core 5.14.0-284.80.1.rt14.365.el9_2, kernel-rt-modules-core 5.14.0-284.80.1.rt14.365.el9_2, kernel-rt-debug-modules 5.14.0-284.80.1.rt14.365.el9_2, +4 more Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt 5.14.0-284.80.1.rt14.365.el9_2, kernel-rt-kvm 5.14.0-284.80.1.rt14.365.el9_2, kernel-rt-core 5.14.0-284.80.1.rt14.365.el9_2, kernel-rt-modules 5.14.0-284.80.1.rt14.365.el9_2, kernel-rt-debug-kvm 5.14.0-284.80.1.rt14.365.el9_2, kernel-rt-debug-core 5.14.0-284.80.1.rt14.365.el9_2, +6 morefixed: vendor fix RHSA-2024:5673
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-doc 5.14.0-284.80.1.el9_2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
1.22% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
Affected products
- Linux Linux
- linux linux_kernel
Classification
- Weakness
-
- CWE-120 Buffer Copy without Checking Size of Input
- Technology feeds
References
Sources
- CVE List CVE-2023-52735
- NVD CVE-2023-52735
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.