CVE-2023-52735 | bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself

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]/

Published: 2024-05-21 Last update: 2026-06-17 Assigner: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Conclusion & alert: CVE-2023-52735 is rated Moderate Risk (60.2/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 1.22%). Core evidence: EPSS rose +1.17% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-52735

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.05% 1.22% +1.17%
2 2025-12-10 0.05% 0.05% -0.00%
3 2025-11-21 0.05%

Full EPSS history (11 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-52735

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.1 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.2 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2023-52735

OS Trackers for CVE-2023-52735

vendor priority summary link
debian unimportant CVE-2023-52735 unimportant priority: Debian including 1 source packages (linux), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-52735
redhat low https://access.redhat.com/security/cve/CVE-2023-52735
suse medium CVE-2023-52735 severity moderate: SUSE including 555 source package names (15.5.22.2:kernel-default-devel-5.14.21-150500.55.73.1, 15.5.22.2:kernel-devel-5.14.21-150500.55.73.1, …), 967 product×package rows across 169 product lines (Container bci/bci-sle15-kernel-module-devel, Container suse/sle-micro/base-5.5, … (169 product lines)): Fixed 629, Known Affected 231, Known Not Affected 107. https://www.suse.com/security/cve/CVE-2023-52735/
ubuntu medium CVE-2023-52735 medium priority: Ubuntu including 160 source packages (linux, linux-allwinner-5.19, …), 1686 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 1267, not-affected 141, released 130, ignored 126, needed 22. https://ubuntu.com/security/CVE-2023-52735

Affected software / configurations for CVE-2023-52735

Vendor Product Version Raw CPE
linux linux_kernel < 5.15.95 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel >= 5.16, < 6.1.13 cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel 6.2 cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*
linux linux_kernel 6.2 cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*
linux linux_kernel 6.2 cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:*
linux linux_kernel 6.2 cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:*
linux linux_kernel 6.2 cpe:2.3:o:linux:linux_kernel:6.2:rc5:*:*:*:*:*:*
linux linux_kernel 6.2 cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:*

References for CVE-2023-52735

cvelogic Threat Intelligence