Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-52452

published

bpf: Fix accesses to uninit stack slots

Published
22 Feb 2024, 16:21:43 UTC
Updated
30 Oct 2026, 12:17:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux01f810ace9ed37255f27608a0864abebccf0aab3 to < bf32eaf5093dc1c24ccc26b14c3422f6dfcc5236 · 01f810ace9ed37255f27608a0864abebccf0aab3 to < 0954982db8283016bf38e9db2da5adf47a102e19 · 01f810ace9ed37255f27608a0864abebccf0aab3 to < fbcf372c8eda2290470268e0afb5ab5d5f5d5fde · 01f810ace9ed37255f27608a0864abebccf0aab3 to < 6b4a64bafd107e521c01eec3453ce94a3fb38529 · f3c4b01689d392373301e6e60d1b02c5b4020afc · d1b725ea5d104caea250427899f4e2e3ab15b4fc · 5.10.33 to < 5.11 · 5.11.17 to < 5.12 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.12 (affected) · 0 to < 5.12 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.14 through 6.6.* (unaffected · semver) · 6.7.2 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.192-1 DLA-4906-1
SUSE / openSUSE SLE-15-SP4 cluster-md-kmp-defaultaarch64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 cluster-md-kmp-defaultppc64le Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 cluster-md-kmp-defaults390x Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP4 cluster-md-kmp-defaultx86_64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 dlm-kmp-defaultaarch64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 dlm-kmp-defaultppc64le Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 dlm-kmp-defaults390x Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 dlm-kmp-defaultx86_64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 gfs2-kmp-defaultaarch64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 gfs2-kmp-defaultppc64le Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 gfs2-kmp-defaults390x Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 gfs2-kmp-defaultx86_64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-64kbaarch64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-64kb-develaarch64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-defaultaarch64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-defaultppc64le Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-defaults390x Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-defaultx86_64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-baseaarch64 Advisory build 5.14.21-150400.24.111.2.150400.24.52.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-baseppc64le Advisory build 5.14.21-150400.24.111.2.150400.24.52.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-basex86_64 Advisory build 5.14.21-150400.24.111.2.150400.24.52.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-develaarch64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-develppc64le Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-devels390x Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-develx86_64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatchppc64le Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatchs390x Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatchx86_64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatch-develppc64le Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatch-devels390x Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-default-livepatch-develx86_64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-develnoarch Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-docsnoarch Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-livepatch-5_14_21-150400_15_71-rtx86_64 Advisory build 1-150400.1.3.1 SUSE-SU-2024:0977-1
SUSE / openSUSE SLE-15-SP4 kernel-livepatch-5_14_21-150400_24_111-defaultppc64le Advisory build 1-150400.9.3.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-livepatch-5_14_21-150400_24_111-defaults390x Advisory build 1-150400.9.3.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-livepatch-5_14_21-150400_24_111-defaultx86_64 Advisory build 1-150400.9.3.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-macrosnoarch Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-obs-buildaarch64 Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-obs-buildppc64le Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-obs-builds390x Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-obs-buildx86_64 Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-sourcenoarch Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-symsaarch64 Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-symsppc64le Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-symss390x Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-symsx86_64 Advisory build 5.14.21-150400.24.111.1 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 kernel-zfcpdumps390x Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 ocfs2-kmp-defaultaarch64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 ocfs2-kmp-defaultppc64le Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 ocfs2-kmp-defaults390x Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 ocfs2-kmp-defaultx86_64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 reiserfs-kmp-defaultaarch64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 reiserfs-kmp-defaultppc64le Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 reiserfs-kmp-defaults390x Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP4 reiserfs-kmp-defaultx86_64 Advisory build 5.14.21-150400.24.111.2 SUSE-SU-2024:0900-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultppc64le Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaults390x Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 cluster-md-kmp-rtx86_64 Advisory build 5.14.21-150500.13.38.1 SUSE-SU-2024:0910-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultppc64le Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaults390x Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 dlm-kmp-rtx86_64 Advisory build 5.14.21-150500.13.38.1 SUSE-SU-2024:0910-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultaarch64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultppc64le Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaults390x Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-defaultx86_64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 gfs2-kmp-rtx86_64 Advisory build 5.14.21-150500.13.38.1 SUSE-SU-2024:0910-1
SUSE / openSUSE SLE-15-SP5 kernel-64kbaarch64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-64kb-develaarch64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-azureaarch64 Advisory build 5.14.21-150500.33.37.1 SUSE-SU-2024:0855-1
SUSE / openSUSE SLE-15-SP5 kernel-azurex86_64 Advisory build 5.14.21-150500.33.37.1 SUSE-SU-2024:0855-1
SUSE / openSUSE SLE-15-SP5 kernel-azure-develaarch64 Advisory build 5.14.21-150500.33.37.1 SUSE-SU-2024:0855-1
SUSE / openSUSE SLE-15-SP5 kernel-azure-develx86_64 Advisory build 5.14.21-150500.33.37.1 SUSE-SU-2024:0855-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultaarch64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultppc64le Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-defaults390x Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-defaultx86_64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseaarch64 Advisory build 5.14.21-150500.55.52.1.150500.6.23.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-baseppc64le Advisory build 5.14.21-150500.55.52.1.150500.6.23.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-basex86_64 Advisory build 5.14.21-150500.55.52.1.150500.6.23.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develaarch64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develppc64le Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-devels390x Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-develx86_64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-extrax86_64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchppc64le Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchs390x Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatchx86_64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develppc64le Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-devels390x Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-default-livepatch-develx86_64 Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-develnoarch Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1
SUSE / openSUSE SLE-15-SP5 kernel-devel-azurenoarch Advisory build 5.14.21-150500.33.37.1 SUSE-SU-2024:0855-1
SUSE / openSUSE SLE-15-SP5 kernel-devel-rtnoarch Advisory build 5.14.21-150500.13.38.1 SUSE-SU-2024:0910-1
SUSE / openSUSE SLE-15-SP5 kernel-docsnoarch Advisory build 5.14.21-150500.55.52.1 SUSE-SU-2024:0858-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

25

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 01f810ace9ed37255f27608a0864abebccf0aab3 to < bf32eaf5093dc1c24ccc26b14c3422f6dfcc5236 (affected · git)01f810ace9ed37255f27608a0864abebccf0aab3 to < 0954982db8283016bf38e9db2da5adf47a102e19 (affected · git)01f810ace9ed37255f27608a0864abebccf0aab3 to < fbcf372c8eda2290470268e0afb5ab5d5f5d5fde (affected · git)01f810ace9ed37255f27608a0864abebccf0aab3 to < 6b4a64bafd107e521c01eec3453ce94a3fb38529 (affected · git)f3c4b01689d392373301e6e60d1b02c5b4020afc (affected · git)d1b725ea5d104caea250427899f4e2e3ab15b4fc (affected · git)5.10.33 to < 5.11 (affected · semver)5.11.17 to < 5.12 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.12 (affected)0 to < 5.12 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.14 through 6.6.* (unaffected · semver)6.7.2 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

3

Linux · cna

bpf: Fix accesses to uninit stack slots

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
61c834ea5f3248f09823b774d50a45f82b79beb2ce44f984c79da807ec66ca96
Ingested
30 Oct 2026, 12:31:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected