Off-by-One Vulnerability in drm/amd/display Package

Kernel Updated 02 Oct 2025

Summary

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

UVI-2021-1000376: drm/amd/display: Fix off by one in hdmi_14_process_transaction(). Affects Kernel versions >= 4c283fdac08abf3211533f70623c90a34f41d08d, < 403c4528e5887af3deb9838cb77a557631d1e138. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The drm/amd/display package is a component of the Linux Kernel that handles display functionality for AMD graphics cards. It provides drivers and support for various display interfaces, including HDMI. The package is responsible for processing transactions related to HDMI connections and ensuring proper display output. However, a vulnerability has been discovered in the hdmi_14_process_transaction() function, which can lead to an off-by-one error.

Vulnerability Detail

The off-by-one vulnerability in hdmi_14_process_transaction() function within the drm/amd/display package allows an attacker to manipulate memory adjacent to a buffer, potentially leading to memory corruption or arbitrary code execution. By exploiting this vulnerability, an attacker could gain unauthorized access to sensitive information, modify data, or disrupt the normal operation of the system. The vulnerability was introduced in Linux Kernel version v5.5 and has been fixed in version v5.10.37.

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

As a workaround, users can disable HDMI functionality or disconnect HDMI devices from affected systems until the Linux Kernel is updated to a fixed version. Disabling HDMI can be achieved by removing the relevant kernel module or blacklisting it. However, this workaround may not be feasible for users who rely on HDMI for display purposes.

Conclusion

The off-by-one vulnerability in the drm/amd/display package's hdmi_14_process_transaction() function poses a potential security risk to systems utilizing AMD graphics cards. It is recommended to update the Linux Kernel to version v5.10.37 or later to mitigate this vulnerability. Users can also utilize the Vulert Playground at https://vulert.com/scanner to check if their system is affected and obtain further assistance in vulnerability remediation.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially allow an attacker to execute arbitrary code, gain unauthorized access to sensitive information, or disrupt the normal operation of the system.

You can use the Vulert Playground at Vulert 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.

At the time of this report, there is no known public exploit for this vulnerability. However, it is crucial to apply the recommended fix as soon as possible to mitigate any potential risks.

Yes, you can temporarily disable HDMI functionality or disconnect HDMI devices from affected systems until the Linux Kernel is updated to a fixed version. However, this may not be a viable solution for users who rely on HDMI for display purposes.

You can refer to the official Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ for more information about the fix. The vulnerability details can be found in the vulnerability database maintained by the Cloud Security Alliance at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/UVI-2021-1000376.json.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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