CVE-2023-52452
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability was discovered in the BPF subsystem related to uninitialized stack slot access. The issue affects Linux kernel versions from 5.12 up to (excluding) 6.6.14 and from 6.7.0 up to (excluding) 6.7.2. The vulnerability stems from inconsistent handling of privileged program access to uninitialized stack memory, where accesses were permitted above state->allocated_stack but not below it (NVD).

Technical details

The vulnerability occurs in the BPF verifier where stack access permissions were inconsistently enforced. Specifically, the issue manifests in two locations: check_stack_slot_within_bounds() and check_stack_range_initialized(). Additionally, there was a related issue with tracking stack size for variable-offset reads, where writes to the stack using registers with variable offsets did not properly contribute to the function's needed stack size. This could lead to a situation where a program could verify but attempt to read out-of-bounds data at runtime due to insufficient stack allocation (Kernel Patch).

Impact

The vulnerability has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH), with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. This indicates that the vulnerability requires local access with low privileges, requires no user interaction, and can potentially lead to high impacts on confidentiality, integrity, and availability (NVD).

Mitigation and workarounds

The issue has been fixed in Linux kernel versions 6.6.14 and 6.7.2. The patch arranges for proper access permissions and fixes the stack size tracking for variable-offset reads. The fix centralizes the tracking of stack size in grow_stack_state() and modifies the behavior to properly handle privileged program access to uninitialized stack memory (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management