9.1
CRITICAL CVSS 3.1
CVE-2023-52735
bpf, sockmap: Don't let sock_map_{close,destroy,unhash} call itself
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]/

INFO

Published Date :

May 21, 2024, 4:15 p.m.

Last Modified :

April 2, 2025, 2:51 p.m.

Remotely Exploit :

Yes !

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2023-52735 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
To address the Linux kernel BPF sockmap stack overflow, update the kernel.
  • Update the Linux kernel packages to the latest versions.
  • Reboot the system to apply the kernel updates.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-52735 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-52735 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-52735 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Apr. 02, 2025

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.2:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.15.95 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.13
    Added Reference Type CVE: https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49 Types: Patch
    Added Reference Type CVE: https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba Types: Patch
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9
    Added Reference https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49
    Added Reference https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 03, 2024

    Action Type Old Value New Value
    Added CWE CISA-ADP CWE-120
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 29, 2024

    Action Type Old Value New Value
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 21, 2024

    Action Type Old Value New Value
    Added 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]/
    Added Reference kernel.org https://git.kernel.org/stable/c/f312367f5246e04df564d341044286e9e37a97ba [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/7499859881488da97589f3c79cc66fa75748ad49 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/5b4a79ba65a1ab479903fff2e604865d229b70a9 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact