CVE-2023-52452: linux-libc-dev - Fix accesses to uninit stack slots

linux Updated 02 Oct 2025

Summary

22/02/2024
No i
High
7.8

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, befor... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

linux-libc-dev is a package in the Linux kernel that provides the C library headers for the kernel. It is used by developers to compile and build applications that interact with the kernel. The linux-libc-dev package is essential for creating and running Linux-based software. However, a vulnerability has been identified in the package that allows privileged programs to read uninitialized stack memory inconsistently. This vulnerability can lead to unauthorized access to sensitive information and potential exploitation.

Vulnerability Detail

The vulnerability in linux-libc-dev arises from inconsistent permissions for accessing uninitialized stack memory. Privileged programs are supposed to be able to read uninitialized stack memory, but the access was permitted inconsistently. This means that if the stack was already large enough, the access was allowed, but if it was not, the access was rejected. This inconsistency was present in two functions: check_stack_slot_within_bounds() and check_stack_range_initialized(). Additionally, the tracking of stack size for variable-offset reads was not properly implemented, potentially leading to out-of-bounds data access. These issues have been addressed in the latest patch.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, it is recommended to follow best practices for secure coding and application development to minimize the risk of exploitation. This includes properly initializing variables and avoiding accessing uninitialized memory.

Conclusion

The vulnerability in linux-libc-dev that allowed inconsistent access to uninitialized stack memory has been fixed in version 6.1.90-1. It is crucial to update the package to ensure the latest security patches are applied. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

linux-libc-dev is a package in the Linux kernel that provides the C library headers for the kernel. It is used by developers to compile and build applications that interact with the kernel.

This vulnerability allows privileged programs to read uninitialized stack memory inconsistently. It can lead to unauthorized access to sensitive information and potential exploitation.

To fix the vulnerability, update the linux-libc-dev package to version 6.1.90-1 or later using the package manager update command specific to your Linux distribution.

There are no specific workarounds mentioned for this vulnerability. However, following secure coding practices can help minimize the risk of exploitation.

You can find more information about this vulnerability in the references provided, including the CVE details and the Debian Security Tracker.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback