Vulnerability in drm/amd/display Package: Division by Zero

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002529: drm/amd/display: Check if modulo is 0 before dividing. Affects Kernel versions < 07efce8269a038c37814eb656b4de14aa3015fc6. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The drm/amd/display package is a component of the Linux Kernel, which is responsible for managing display functionality on AMD graphics cards. It provides the necessary drivers and interfaces for rendering graphics and handling display output. The package plays a crucial role in enabling proper display functionality on systems using AMD GPUs.

Vulnerability Detail

The vulnerability identified in the drm/amd/display package involves a failure to check if the modulo is zero before performing a division operation. This oversight can lead to a division by zero error, which can cause system instability or crashes. An attacker may potentially exploit this vulnerability to trigger a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. The impact and attack plausibility of this vulnerability have not been fully proven yet.

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

As a temporary workaround, users can apply the patch provided in commit 07efce8269a038c37814eb656b4de14aa3015fc6 manually. The patch modifies the relevant code in the drm/amd/display package to include the necessary check for a zero modulo before performing the division operation. Applying this patch can prevent the division by zero error and mitigate the vulnerability.

Conclusion

The vulnerability in the drm/amd/display package involves a failure to check for a zero modulo before performing a division operation. This can lead to system instability, crashes, or potential exploitation by attackers. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.18.4 or later, which includes the necessary fix. Alternatively, users can apply the provided patch manually as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from system instability and crashes to potential exploitation by attackers to trigger a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.18.4 or later, which includes the necessary fix for this issue.

Yes, a temporary workaround is to manually apply the patch provided in commit 07efce8269a038c37814eb656b4de14aa3015fc6. This patch adds the required check for a zero modulo before performing the division operation.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it in real-time to identify any open-source vulnerabilities, including this one.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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