Memory Leak in imx_pd_connector_get_modes in drm/imx

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002473: drm/imx: Fix memory leak in imx_pd_connector_get_modes. Affects Kernel versions >= 76ecd9c9fb24b014a6f33fbb1287ede3be12158b, < d2c2758cfb0262637fd93350bdc8ad485fb1dd61. 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/imx module is a component of the Linux Kernel that provides support for display controllers found in i.MX SoCs. It enables the management and configuration of display connectors and modes. The imx_pd_connector_get_modes function is responsible for retrieving the supported display modes for a given connector. However, a memory leak vulnerability exists in this function, which can lead to the exhaustion of system resources over time.

Vulnerability Detail

The memory leak vulnerability in imx_pd_connector_get_modes allows an attacker to continuously request display modes for a connector without releasing the allocated memory. This can result in the depletion of available memory resources, leading to system instability or denial of service. The vulnerability was introduced in Linux Kernel version 4.8 and was fixed in version 4.9.311.

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 limit the number of display mode requests for connectors to mitigate the impact of the memory leak. By monitoring and controlling the frequency of mode requests, the risk of resource exhaustion can be reduced. However, this is not a permanent solution and updating the Kernel is still recommended.

Conclusion

The memory leak vulnerability in imx_pd_connector_get_modes poses a risk of resource exhaustion in systems utilizing the Linux Kernel. It is crucial to update the Kernel to version 4.9.311 or later to mitigate this vulnerability. Limiting the number of display mode requests can provide temporary relief, but it is not a permanent solution. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to the exhaustion of system resources, potentially causing system instability or denial of service.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

At the time of this report, there is no known exploit for this vulnerability. However, it is still important to patch the Kernel to prevent potential exploitation in the future.

Limiting the number of display mode requests for connectors can help mitigate the impact of the memory leak. However, this is not a permanent solution, and updating the Kernel is still recommended.

The primary solution is to update the Linux Kernel to version 4.9.311 or later. This ensures that the memory leak issue in imx_pd_connector_get_modes is addressed. There are no known alternative solutions.

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