Off by one vulnerability in drm/amdgpu package
Summary
GSD-2022-1002978: drm/amdgpu: Off by one in dm_dmub_outbox1_low_irq(). Affects Kernel versions >= e27c41d5b0681c597ac1894f4e02cf626e062250, < b0808b7a04157b3f56e919f27023fec37a075fad. 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/amdgpu package is a component of the Linux Kernel that provides support for AMD GPUs. It is responsible for managing the display and graphics capabilities of AMD graphics cards. The package is widely used in Linux-based systems that utilize AMD GPUs. This vulnerability specifically affects the dm_dmub_outbox1_low_irq() function within the package.
Vulnerability Detail
The vulnerability in dm_dmub_outbox1_low_irq() is an off by one error. This type of vulnerability occurs when a program writes data beyond the bounds of an allocated buffer. In this case, the function fails to properly validate the size of the buffer before writing data to it, resulting in a buffer overflow. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial of service. The vulnerability was introduced in version v5.16 of the Linux Kernel and is fixed in version v5.17.15.
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 known workaround for this vulnerability. It is recommended to apply the fix as soon as possible.
Conclusion
The off by one vulnerability in the drm/amdgpu package can potentially allow an attacker to execute arbitrary code or cause a denial of service on systems utilizing the affected version of the Linux Kernel. It is crucial to update to version v5.17.15 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial of service on systems utilizing the affected version of the Linux Kernel.
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 Vulert Playground will analyze it for any known vulnerabilities.
Yes, a patch is available in version v5.17.15 of the Linux Kernel. It is recommended to update to this version or later to fix the vulnerability.
Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network.
There are no known instances of this vulnerability being exploited in the wild at the time of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.