5.5
MEDIUM
CVE-2023-52462
Linux Kernel BPF Pointer Corruption Vulnerability
Description

In the Linux kernel, the following vulnerability has been resolved: bpf: fix check for attempt to corrupt spilled pointer When register is spilled onto a stack as a 1/2/4-byte register, we set slot_type[BPF_REG_SIZE - 1] (plus potentially few more below it, depending on actual spill size). So to check if some stack slot has spilled register we need to consult slot_type[7], not slot_type[0]. To avoid the need to remember and double-check this in the future, just use is_spilled_reg() helper.

INFO

Published Date :

Feb. 23, 2024, 3:15 p.m.

Last Modified :

June 25, 2024, 9:15 p.m.

Source :

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

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2023-52462 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

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-52462 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-52462 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.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 25, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html [No types assigned]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 28, 2024

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

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Apr. 17, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://git.kernel.org/stable/c/2757f17972d87773b3677777f5682510f13c66ef No Types Assigned https://git.kernel.org/stable/c/2757f17972d87773b3677777f5682510f13c66ef Patch
    Changed Reference Type https://git.kernel.org/stable/c/40617d45ea05535105e202a8a819e388a2b1f036 No Types Assigned https://git.kernel.org/stable/c/40617d45ea05535105e202a8a819e388a2b1f036 Patch
    Changed Reference Type https://git.kernel.org/stable/c/67e6707f07354ed1acb4e65552e97c60cf9d69cf No Types Assigned https://git.kernel.org/stable/c/67e6707f07354ed1acb4e65552e97c60cf9d69cf Patch
    Changed Reference Type https://git.kernel.org/stable/c/8dc15b0670594543c356567a1a45b0182ec63174 No Types Assigned https://git.kernel.org/stable/c/8dc15b0670594543c356567a1a45b0182ec63174 Patch
    Changed Reference Type https://git.kernel.org/stable/c/ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae No Types Assigned https://git.kernel.org/stable/c/ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae Patch
    Changed Reference Type https://git.kernel.org/stable/c/fc3e3c50a0a4cac1463967c110686189e4a59104 No Types Assigned https://git.kernel.org/stable/c/fc3e3c50a0a4cac1463967c110686189e4a59104 Patch
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.10.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11.0 up to (excluding) 5.15.148 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16.0 up to (excluding) 6.1.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2.0 up to (excluding) 6.6.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7.0 up to (excluding) 6.7.2
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Feb. 23, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: bpf: fix check for attempt to corrupt spilled pointer When register is spilled onto a stack as a 1/2/4-byte register, we set slot_type[BPF_REG_SIZE - 1] (plus potentially few more below it, depending on actual spill size). So to check if some stack slot has spilled register we need to consult slot_type[7], not slot_type[0]. To avoid the need to remember and double-check this in the future, just use is_spilled_reg() helper.
    Added Reference Linux https://git.kernel.org/stable/c/2757f17972d87773b3677777f5682510f13c66ef [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/67e6707f07354ed1acb4e65552e97c60cf9d69cf [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/fc3e3c50a0a4cac1463967c110686189e4a59104 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/8dc15b0670594543c356567a1a45b0182ec63174 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/40617d45ea05535105e202a8a819e388a2b1f036 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae [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.
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-52462 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-52462 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability