CVE-2023-52462

bpf: fix check for attempt to corrupt spilled pointer

MEDIUM
5.5
CVSS Score
Published: February 23, 2024 at 02:46 PM UTC
Updated: June 17, 2026 at 06:42 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.10.2095.10.163 ≤ v < 5.10.2095.11.0 ≤ v < 5.15.1485.15.86 ≤ v < 5.15.1485.16 ≤ v < 6.1.755.16 ≤ v < 6.6.145.16 ≤ v < 6.7.25.16 ≤ v < 6.85.16.0 ≤ v < 6.1.756.2.0 ≤ v < 6.6.146.7.0 ≤ v < 6.7.227113c59b6d0a587b29ae72d4ff3f832f58b06515.10.1635.15.865.167c286c10a9cedbd71f20269ff3a4e73d9aab2fecdd73a5ed0840da88a3b9ad353f568e6f156d417
Vendor states this is fixed in 2757f17972d87773b3677777f5682510f13c66ef (fixed)
Vendor states this is fixed in 40617d45ea05535105e202a8a819e388a2b1f036 (fixed)
Vendor states this is fixed in 67e6707f07354ed1acb4e65552e97c60cf9d69cf (fixed)
Vendor states this is fixed in 8dc15b0670594543c356567a1a45b0182ec63174 (fixed)
Vendor states this is fixed in ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae (fixed)
Vendor states this is fixed in fc3e3c50a0a4cac1463967c110686189e4a59104 (fixed)
Vendor states this is fixed in 5.10.209 (unaffected)
Vendor states this is fixed in 5.15.148 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 6.1.75 (unaffected)
Vendor states this is fixed in 6.6.14 (unaffected)
Vendor states this is fixed in 6.7.2 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2757f17972d87773b3677777f5682510f13c66ef
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/40617d45ea05535105e202a8a819e388a2b1f036
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/67e6707f07354ed1acb4e65552e97c60cf9d69cf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8dc15b0670594543c356567a1a45b0182ec63174
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fc3e3c50a0a4cac1463967c110686189e4a59104
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfoCWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card