Vulnerability in drm: xlnx: zynqmp package - Fix a memset in zynqmp_dp_train()

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

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 ↓

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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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