# CVE-2023-52462: bpf: fix check for attempt to corrupt spilled pointer

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-02-23 · Modified: 2026-05-23
- Aliases: UBUNTU-CVE-2023-52462, DEBIAN-CVE-2023-52462
- Record: https://cvemate.com/vulnerability/CVE-2023-52462 · JSON: https://cvemate.com/vulnerability/CVE-2023-52462/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.226%, percentile 14.211%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 108)

- debian linux (Debian): \< 6.1.76-1 \| \< 6.6.15-1
- ubuntu linux (Ubuntu): \< 5.15.0-102.112
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.15.0-1057.63
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1057.63~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1057.63+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1060.69
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1060.69~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.3 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 21)

- <https://git.kernel.org/stable/c/2757f17972d87773b3677777f5682510f13c66ef>
- <https://git.kernel.org/stable/c/67e6707f07354ed1acb4e65552e97c60cf9d69cf>
- <https://git.kernel.org/stable/c/fc3e3c50a0a4cac1463967c110686189e4a59104>
- <https://git.kernel.org/stable/c/8dc15b0670594543c356567a1a45b0182ec63174>
- <https://git.kernel.org/stable/c/40617d45ea05535105e202a8a819e388a2b1f036>
- <https://git.kernel.org/stable/c/ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html>
- <https://ubuntu.com/security/CVE-2023-52462>
- <https://ubuntu.com/security/notices/USN-6688-1>
- <https://ubuntu.com/security/notices/USN-6725-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-52462>
- <https://ubuntu.com/security/notices/USN-6725-2>
- <https://ubuntu.com/security/notices/USN-6818-1>
- <https://ubuntu.com/security/notices/USN-6819-1>
- <https://ubuntu.com/security/notices/USN-6818-2>
- <https://ubuntu.com/security/notices/USN-6819-2>
- <https://ubuntu.com/security/notices/USN-6819-3>
- <https://ubuntu.com/security/notices/USN-6818-3>
- <https://ubuntu.com/security/notices/USN-6818-4>
- <https://ubuntu.com/security/notices/USN-6819-4>

---

Data as of 2026-12-05T06:22:38.123Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
