Buffer Overflow Vulnerability in Linux Kernel: linux Package Affected

linux Updated 02 Oct 2025

Summary

04/04/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-26797: In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Prevent potential buffer overflow in map_hw_resources Adds a check in the map_hw_resources function to prevent a potential buffer overf... Affects linux versions < 6.7.9-1. Fixed in 6.7.9-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 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

The linux package is a core component of the Debian operating system, providing the essential kernel that manages system resources and hardware communication. It is crucial for the overall functionality and performance of the system. This specific vulnerability affects the drm/amd/display module, which is responsible for handling display-related tasks in AMD graphics hardware. The vulnerability arises from inadequate bounds checking in the map_hw_resources function, potentially leading to severe security risks.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the drm/amd/display module, specifically within the map_hw_resources function. This function was found to access arrays using an index that could exceed the size of the arrays, resulting in a potential buffer overflow. Such an overflow can lead to memory corruption, crashes, or even arbitrary code execution, posing significant risks to system integrity and security. The issue was reported by smatch, highlighting specific lines in the code where the buffer overflow could occur.

How To Fix

Minimum fixed version

6.7.9-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 by updating the package as described above.

Conclusion

The identified buffer overflow vulnerability in the Linux kernel's drm/amd/display module poses significant risks to system security. It is crucial to update the linux package to the patched version 6.7.9-1 to mitigate these risks. Regular monitoring and updates are essential to maintain system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A buffer overflow occurs when a program writes more data to a buffer than it can hold, leading to adjacent memory being overwritten, which can cause crashes or security vulnerabilities.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By utilizing the manifest file like package-lock.json, it can help identify if your application is affected by this vulnerability.

The risks include potential memory corruption, system crashes, and the possibility of arbitrary code execution, which can compromise system security.

While there are no specific workarounds, ensuring that your system is not exposed to untrusted inputs can help mitigate risks until an update can be applied.

Detailed information can be found in the Debian CVE database or by checking the official Linux kernel documentation regarding the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.7.9-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