Home / Linux / Linux / CVE-2023-52452
CVE-2023-52452: is it exploited, and which versions of Linux are affected and fixed?
CVE-2023-52452 is an improper initialization vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: Linux from 5.10.33 before 5.11, Linux from 5.11.17 before 5.12 and Linux from 5.12 until the fixed versions (CVE record by Linux). Fixed in 5.11, 5.12, 6.1.191, 6.6.14 and 2 more (CVE record by Linux). Severity: High (7.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 28, 2026, 18:49 UTC and NVD November 19, 2026, 07:32 UTC.
What is CVE-2023-52452?
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix accesses to uninit stack slots Privileged programs are supposed to be able to read uninitialized stack memory (ever since 6715df8d5) but, before this patch, these accesses were permitted inconsistently. In particular, accesses were permitted above state->allocated_stack, but not below it. In other words, if the stack was already "large enough", the access was permitted, but otherwise the access was rejected instead of being allowed to "grow the stack". This undesired rejection was happening in two places: - in check_stack_slot_within_bounds() - in check_stack_range_initialized() This patch arranges for these accesses to be permitted. A bunch of tests that were relying on the old rejection had to change; all of them were changed to add also run unprivileged, in which case the old behavior persists. One tests couldn't be updated - global_func16 - because it can't run unprivileged for other reasons. This patch also fixes the tracking of the stack size for variable-offset reads. This second fix is bundled in the same commit as the first one because they're inter-related. Before this patch, writes to the stack using registers containing a variable offset (as opposed to registers with fixed, known values) were not properly contributing to the function's needed stack size. As a result, it was possible for a program to verify, but then to attempt to read out-of-bounds data at runtime because a too small stack had been allocated for it. Each function tracks the size of the stack it needs in bpf_subprog_info.stack_depth, which is maintained by update_stack_depth(). For regular memory accesses, check_mem_access() was calling update_state_depth() but it was passing in only the fixed part of the offset register, ignoring the variable offset. This was incorrect; the minimum possible value of that register should be used instead. This tracking is now fixed by centralizing the tracking of stack size in grow_stack_state(), and by lifting the calls to grow_stack_state() to check_stack_access_within_bounds() as suggested by Andrii. The code is now simpler and more convincingly tracks the correct maximum stack size. check_stack_range_initialized() can now rely on enough stack having been allocated for the access; this helps with the fix for the first issue. A few tests were changed to also check the stack depth computation. The one that fails without this patch is verifier_var_off:stack_write_priv_vs_unpriv.
From the CVE record by Linux, last updated October 30, 2026, 12:17 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 5.10.33 before 5.11 from 5.11.17 before 5.12 | 5.11, 5.12 |
| Linux | Linux | from 5.12 until the fixed versions | 6.1.191, 6.6.14, 6.7.2, 6.8 |
As the CVE record by Linux states it, last updated October 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 5.12 before 6.6.14 | operating system |
| linux | linux kernel | from 6.7.0 before 6.7.2 | operating system |
NVD analysis (status Modified), last modified October 30, 2026, 13:17 UTC.
How severe is CVE-2023-52452?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-52452 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, February 22, 2024)
- EPSS
- 0.24% probability of exploitation activity in the next 30 days, percentile 16.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-665 Improper Initialization
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/bf32eaf5093dc1c24ccc26b14c3422f6dfcc5236
- https://git.kernel.org/stable/c/0954982db8283016bf38e9db2da5adf47a102e19
- https://git.kernel.org/stable/c/fbcf372c8eda2290470268e0afb5ab5d5f5d5fde
- https://git.kernel.org/stable/c/6b4a64bafd107e521c01eec3453ce94a3fb38529
When was it published, and where is the official record?
- Reserved
- February 20, 2024
- Published
- February 22, 2024, 16:21 UTC
- CVE record updated
- October 30, 2026, 12:17 UTC by Linux
- NVD
- Modified, last modified October 30, 2026, 13:17 UTC
- Last checked
- CVE list November 28, 2026, 18:49 UTC; NVD November 19, 2026, 07:32 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2023-52452
Is CVE-2023-52452 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2023-52452?
Linux from 5.10.33 before 5.11, Linux from 5.11.17 before 5.12 and Linux from 5.12 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2023-52452?
5.11, 5.12, 6.1.191, 6.6.14, 6.7.2 and 6.8, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-52452?
High (7.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2023-52452?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.