Vulnerability in Kernel Package: drm/edid

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002158: drm/edid: In connector_bad_edid() cap num_of_ext by num_blocks read. Affects Kernel versions >= e11f5bd8228fc3760c221f940b9f6365dbf3e7ed, < 97794170b696856483f74b47bfb6049780d2d3a0. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel package is a fundamental component of the Linux operating system, responsible for managing the system's core functionality. It provides essential services such as device drivers, memory management, and process scheduling. The drm/edid module within the Kernel package handles Extended Display Identification Data (EDID) for graphics connectors. EDID contains information about the capabilities and characteristics of connected display devices.

Vulnerability Detail

The vulnerability in drm/edid, specifically in the connector_bad_edid() function, allows an attacker to manipulate the 'num_of_ext' variable, which represents the number of extensions in the EDID. By modifying this value, an attacker can trick the system into reading more data blocks than actually exist in the EDID. This can lead to buffer overflows or other memory corruption issues, potentially resulting in arbitrary code execution or system crashes.

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 the affected functionality by blacklisting the 'drm_kms_helper' module. This can be achieved by adding the following line to the '/etc/modprobe.d/blacklist.conf' file:

blacklist drm_kms_helper

After adding the line, reboot the system for the changes to take effect. However, it is important to note that this workaround disables the entire 'drm_kms_helper' module, which may impact other display-related functionalities.

Conclusion

The vulnerability in the Kernel package's drm/edid module can allow an attacker to manipulate EDID data, potentially leading to arbitrary code execution or system crashes. It is crucial to update the Kernel package to version v5.15 or later to fix this vulnerability. Alternatively, users can apply the provided workaround of blacklisting the 'drm_kms_helper' module. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially allow an attacker to execute arbitrary code or cause system crashes, leading to 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 known vulnerabilities.

At the time of this report, there are no known public exploits for this vulnerability. However, it is crucial to apply the recommended fix or workaround to mitigate the risk.

Yes, this vulnerability can be exploited remotely if the attacker can send specially crafted EDID data to a targeted system. It is important to apply the necessary patches or updates to prevent potential exploitation.

The primary solution to mitigate this vulnerability is to update the Kernel package to the recommended version. However, if updating is not feasible, applying the provided workaround of blacklisting the 'drm_kms_helper' module can help mitigate the risk to some extent.

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