Vulnerability in drm: xlnx: zynqmp package - Fix a memset in zynqmp_dp_train()
Summary
GSD-2021-1000367: drm: xlnx: zynqmp: fix a memset in zynqmp_dp_train(). Affects Kernel versions >= d76271d22694e874ed70791702db9252ffe96a4c, < a6596d71a63544a6171cd0b9abaed8745ada7c65. 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: xlnx: zynqmp package is a component of the Linux Kernel that provides display support for Xilinx ZynqMP devices. It includes drivers and functions for managing display pipelines and training display ports. The zynqmp_dp_train() function is responsible for training the display port. This vulnerability affects versions of the Linux Kernel from v5.9 to v5.10.36.
Vulnerability Detail
The vulnerability in the zynqmp_dp_train() function is due to a memset operation that is performed without validating the size of the buffer. An attacker could exploit this vulnerability by providing a specially crafted input that exceeds the size of the buffer, leading to a buffer overflow. This could potentially result in arbitrary code execution or a denial of service condition. The vulnerability was introduced in commit d76271d22694e874ed70791702db9252ffe96a4c and is fixed in commit a6596d71a63544a6171cd0b9abaed8745ada7c65.
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 by updating the Linux Kernel.
Conclusion
The vulnerability in the drm: xlnx: zynqmp package's zynqmp_dp_train() function can be fixed by updating the Linux Kernel to version v5.10.37 or later. It is recommended to apply the fix as soon as possible to mitigate the risk of potential exploitation. For further support on vulnerability remediation, you can 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.
The exact exploitability of this vulnerability depends on the specific system configuration and network setup. However, in general, an attacker would need local access to the affected system to exploit this vulnerability.
There are no known instances of this vulnerability being exploited in the wild at the time of this report.
The most effective way to mitigate this vulnerability is to apply the recommended fix by updating the Linux Kernel to a version that includes the necessary patch.
For more information about this vulnerability, you can refer to the vulnerability database entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000367.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.