Memory Allocation Vulnerability in Linux Kernel: Impacting Debian Packages

linux Updated 02 Oct 2025

Summary

28/12/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-56697: In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Fix the memory allocation issue in amdgpu_discovery_get_nps_info() Fix two issues with memory allocation in amdgpu_discovery_get_nps_info()... Affects linux versions < 6.12.3-1. Fixed in 6.12.3-1. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of the Debian operating system, responsible for managing hardware resources and providing essential services to software applications. It is known for its stability, performance, and security features. However, vulnerabilities can arise, impacting its reliability and the security of systems that depend on it. This specific vulnerability affects the memory allocation process within the amdgpu driver, which is crucial for managing AMD graphics hardware.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the amdgpu driver related to memory allocation in the function amdgpu_discovery_get_nps_info(). This vulnerability can lead to dereferencing a null pointer due to a lack of checks for allocation failures. Additionally, the previous memory allocation method did not account for multiplication overflow, potentially leading to further issues. If exploited, this could cause system instability or crashes, affecting users relying on AMD graphics hardware.

How To Fix

Minimum fixed version

6.12.3-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it is available.

Conclusion

The memory allocation vulnerability in the Linux kernel's amdgpu driver poses significant risks to system stability and security. Users are strongly encouraged to update their kernel packages to the latest patched version to protect their systems. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability involves memory allocation issues in the amdgpu driver, which can lead to dereferencing null pointers and system instability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

Exploitation of this vulnerability could lead to system crashes, instability, and potential data loss for users relying on AMD graphics hardware.

Yes, the patched version of the Linux kernel is 6.12.3-1 for both Debian 13 and 14. Users should update their packages to this version.

While there are no specific workarounds, it is advisable to monitor the situation and apply the patch as soon as possible to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.3-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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