Vulnerability in drm/amd/display Package: Division by Zero
Summary
GSD-2022-1002888: drm/amd/display: Check if modulo is 0 before dividing. Affects Kernel versions < 96725758eff7b3805e4e94d1443a100757412720. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The drm/amd/display package is a component of the Linux Kernel that handles display functionality for AMD graphics cards. It provides the necessary drivers and interfaces for managing display output and rendering on these devices. The package is an integral part of the Linux operating system and is widely used in systems with AMD graphics hardware.
Vulnerability Detail
The vulnerability identified in the drm/amd/display package involves a lack of validation for a modulo operation before performing a division. This can lead to a division by zero error, which may result in a system crash or other unexpected behavior. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. The vulnerability has been assigned the ID GSD-2022-1002888 and has been fixed in Linux Kernel version v5.17.15 by commit 96725758eff7b3805e4e94d1443a100757412720.
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.
Conclusion
The vulnerability in the drm/amd/display package can lead to a division by zero error, potentially causing system crashes or enabling attackers to execute arbitrary code with elevated privileges. It is crucial to update the Linux Kernel to version v5.17.15 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially lead to a system crash or other unexpected behavior. An attacker may also be able to exploit this vulnerability to execute arbitrary code with elevated privileges.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the tool will analyze it for any known vulnerabilities.
Yes, a patch has been released in Linux Kernel version v5.17.15. It is recommended to update to this version or a later one to fix the vulnerability.
Updating the Linux Kernel to the fixed version is the recommended solution. However, if updating is not immediately feasible, you can consider implementing other security measures such as restricting access to vulnerable systems, implementing network segmentation, and monitoring for any suspicious activity.
You can find more information about this vulnerability in the GSD Database entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002888.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.