Kernel - drm/amd/amdkfd: Fix kernel panic when reset failed and been triggered again
Summary
GSD-2021-1002551: drm/amd/amdkfd: Fix kernel panic when reset failed and been triggered again. Affects Kernel versions < 06c6f8f86ec243b89e52f0c3dc7062bcb9de74df. 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 Kernel is a critical component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functions for device drivers, memory management, and process scheduling. The drm/amd/amdkfd module is responsible for managing the AMD GPU's kernel driver. It allows user-space applications to access the GPU's resources and perform computations. However, a vulnerability has been discovered in the amdkfd module that can lead to a kernel panic when a reset operation fails and is triggered again.
Vulnerability Detail
The vulnerability in the drm/amd/amdkfd module occurs when a reset operation fails and is subsequently triggered again. This can result in a kernel panic, causing the system to crash. A kernel panic is a critical error that halts the operating system and requires a reboot. An attacker with local access to the system could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition. The vulnerability has been addressed in the Linux Kernel version v5.15.7 by commit 06c6f8f86ec243b89e52f0c3dc7062bcb9de74df.
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. The recommended solution is to update the Linux Kernel to the fixed version.
Conclusion
The vulnerability in the drm/amd/amdkfd module of the Linux Kernel can lead to a kernel panic and system crash when a reset operation fails and is triggered again. It is recommended to update the Linux Kernel to version v5.15.7 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a kernel panic, causing the system to crash. An attacker with local access to the system could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition.
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 Vulert will analyze it for any open-source vulnerabilities, including this one.
Yes, the vulnerability has been fixed in the Linux Kernel version v5.15.7 by commit 06c6f8f86ec243b89e52f0c3dc7062bcb9de74df. It is recommended to update the Linux Kernel to this version or later.
No, this vulnerability requires local access to the system to be exploited.
There are no known instances of this vulnerability being exploited in the wild.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.