Vulnerability in drm/rockchip: vop_bind() Function

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002778: drm/rockchip: vop: fix possible null-ptr-deref in vop_bind(). Affects Kernel versions >= 2048e3286f347db5667708e47448176b5329e8d8, < ecfa52654d0c9c333c1fe1611f47105f6bce9591. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The drm/rockchip package is a component of the Linux Kernel that provides support for Rockchip display controllers. These display controllers are commonly found in Rockchip SoCs (System-on-Chips) used in various devices such as tablets, smartphones, and embedded systems. The vop_bind() function within the package is responsible for binding the display controller to the display pipeline. This vulnerability affects versions of the Linux Kernel from v3.19 to v5.18.2.

Vulnerability Detail

The vulnerability in the vop_bind() function of drm/rockchip allows for a potential null pointer dereference. This means that under certain conditions, the function may attempt to access memory using a null pointer, leading to a system crash or potential code execution. An attacker could potentially exploit this vulnerability to crash the system or execute arbitrary code with kernel-level privileges. The vulnerability was introduced in version v3.19 and has been fixed in version v5.18.3 of the Linux 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 →

Workaround

As a temporary workaround, users can disable the affected functionality by blacklisting the 'rockchip-drm' module. This can be done by adding the following line to the '/etc/modprobe.d/blacklist.conf' file:

blacklist rockchip-drm

After adding the line, reboot the system for the changes to take effect. However, it is strongly recommended to apply the official fix by updating the Linux Kernel as soon as possible.

Conclusion

The vulnerability in the vop_bind() function of drm/rockchip can potentially lead to a system crash or allow an attacker to execute arbitrary code with kernel-level privileges. It is crucial to update the Linux Kernel to version v5.18.3 or later to mitigate this vulnerability. Users can also use the Vulert Playground (https://vulert.com/scanner) to check if their system is affected and receive real-time alerts for open-source vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially lead to a system crash or allow an attacker to execute arbitrary code with kernel-level privileges.

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 the Vulert Playground will analyze it for any known vulnerabilities.

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

In most cases, this vulnerability requires local access to the system. However, if an attacker already has remote access to the system, they may be able to exploit this vulnerability to gain kernel-level privileges.

As a temporary workaround, you can disable the affected functionality by blacklisting the 'rockchip-drm' module. However, it is strongly recommended to apply the official fix by updating the Linux Kernel as soon as possible.

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