CVE-2023-52462
bpf: fix check for attempt to corrupt spilled pointer
Mitigation
- Upgrade Linux to 5.15.148 or later.
Who should check
- Anyone running Linux >= cdd73a5ed0840da88a3b9ad353f568e6f156d417, < 2757f17972d87773b3677777f5682510f13c66ef; >= 07c286c10a9cedbd71f20269ff3a4e73d9aab2fe, < 67e6707f07354ed1acb4e65552e97c60cf9d69cf; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < fc3e3c50a0a4cac1463967c110686189e4a59104; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < 8dc15b0670594543c356567a1a45b0182ec63174; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < 40617d45ea05535105e202a8a819e388a2b1f036; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae; >= 5.10.163, < 5.10.209; >= 5.15.86, < 5.15.148
- Anyone running Linux 5.16
Vulnerability facts
- Affected
- Linux >= cdd73a5ed0840da88a3b9ad353f568e6f156d417, < 2757f17972d87773b3677777f5682510f13c66ef; >= 07c286c10a9cedbd71f20269ff3a4e73d9aab2fe, < 67e6707f07354ed1acb4e65552e97c60cf9d69cf; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < fc3e3c50a0a4cac1463967c110686189e4a59104; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < 8dc15b0670594543c356567a1a45b0182ec63174; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < 40617d45ea05535105e202a8a819e388a2b1f036; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae; >= 5.10.163, < 5.10.209; >= 5.15.86, < 5.15.148; Linux 5.16
- Fixed in
- Linux 2757f17972d87773b3677777f5682510f13c66ef, Linux 67e6707f07354ed1acb4e65552e97c60cf9d69cf, Linux 8dc15b0670594543c356567a1a45b0182ec63174, Linux 40617d45ea05535105e202a8a819e388a2b1f036, Linux 5.10.209, Linux 5.15.148
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-476
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= cdd73a5ed0840da88a3b9ad353f568e6f156d417, < 2757f17972d87773b3677777f5682510f13c66ef; >= 07c286c10a9cedbd71f20269ff3a4e73d9aab2fe, < 67e6707f07354ed1acb4e65552e97c60cf9d69cf; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < fc3e3c50a0a4cac1463967c110686189e4a59104; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < 8dc15b0670594543c356567a1a45b0182ec63174; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < 40617d45ea05535105e202a8a819e388a2b1f036; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae; >= 5.10.163, < 5.10.209; >= 5.15.86, < 5.15.148 | — | cvelist |
| Linux | 5.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-52462. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-52462.md Affected: Linux >= cdd73a5ed0840da88a3b9ad353f568e6f156d417, < 2757f17972d87773b3677777f5682510f13c66ef; >= 07c286c10a9cedbd71f20269ff3a4e73d9aab2fe, < 67e6707f07354ed1acb4e65552e97c60cf9d69cf; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < fc3e3c50a0a4cac1463967c110686189e4a59104; >= 27113c59b6d0a587b29ae72… Fixed in: Linux 2757f17972d87773b3677777f5682510f13c66ef, Linux 67e6707f07354ed1acb4e65552e97c60cf9d69cf, Linux 8dc15b0670594543c356567a1a45b0182ec63174, Linux 40617d45ea05535105e202a8a819e388a2b1f036, Linux 5.10.209, Linux 5.15.148 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2023-52462 being exploited?
There is no confirmed exploitation: CVE-2023-52462 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-52462?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-52462?
Linux >= cdd73a5ed0840da88a3b9ad353f568e6f156d417, < 2757f17972d87773b3677777f5682510f13c66ef; >= 07c286c10a9cedbd71f20269ff3a4e73d9aab2fe, < 67e6707f07354ed1acb4e65552e97c60cf9d69cf; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < fc3e3c50a0a4cac1463967c110686189e4a59104; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < 8dc15b0670594543c356567a1a45b0182ec63174; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < 40617d45ea05535105e202a8a819e388a2b1f036; >= 27113c59b6d0a587b29ae72d4ff3f832f58b0651, < ab125ed3ec1c10ccc36bc98c7a4256ad114a3dae; >= 5.10.163, < 5.10.209; >= 5.15.86, < 5.15.148; Linux 5.16.
Is there a fix for CVE-2023-52462?
Yes. Fixed in Linux 2757f17972d87773b3677777f5682510f13c66ef, Linux 67e6707f07354ed1acb4e65552e97c60cf9d69cf, Linux 8dc15b0670594543c356567a1a45b0182ec63174, Linux 40617d45ea05535105e202a8a819e388a2b1f036, Linux 5.10.209, Linux 5.15.148. Upgrade Linux to 5.15.148 or later.
How do I check if I'm affected by CVE-2023-52462?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.