Vulnerability in drm/rockchip package: Possible Null Pointer Dereference in vop_bind()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003791: drm/rockchip: vop: fix possible null-ptr-deref in vop_bind(). Affects Kernel versions >= 2048e3286f347db5667708e47448176b5329e8d8, < a9b4599665e437de8a1152799c34841b799a2e1c. 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 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-based devices such as tablets, smartphones, and embedded systems. The package allows for the management and control of display output, including modesetting, framebuffer management, and hardware acceleration. However, a vulnerability has been discovered in the vop_bind() function of the package, which could lead to a null pointer dereference.

Vulnerability Detail

The vulnerability in the drm/rockchip package arises from a potential null pointer dereference in the vop_bind() function. This function is responsible for binding a display controller to a display pipeline. If a null pointer is passed as an argument to this function, it can result in a crash or other undefined behavior. An attacker could potentially exploit this vulnerability to cause a denial of service or execute arbitrary code with kernel privileges. The vulnerability was introduced in version v3.19 of the Linux Kernel and has been fixed in version v5.4.198.

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

If updating the Linux Kernel is not immediately feasible, a possible workaround is to avoid passing a null pointer as an argument to the vop_bind() function. Developers can implement input validation checks to ensure that only valid pointers are passed to the function. Here is an example of how such a check can be implemented in C:

void vop_bind(struct display_controller *controller, struct display_pipeline *pipeline) {
  if (controller == NULL || pipeline == NULL) {
    // Handle error or return early
    return;
  }
  // Rest of the function logic
}

Conclusion

The vulnerability in the drm/rockchip package's vop_bind() function poses a potential security risk, allowing for a null pointer dereference. To mitigate this vulnerability, it is crucial to update the Linux Kernel to version v5.4.198 or later. Regularly updating the Linux Kernel is recommended to ensure the latest security patches are applied. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability in the drm/rockchip package could potentially allow an attacker to cause a denial of service or execute arbitrary code with kernel privileges. This can lead to system crashes, data corruption, or unauthorized access to sensitive information.

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 open-source vulnerabilities, including this one.

Yes, a patch for this vulnerability is available in version v5.4.198 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the vulnerability.

Exploiting this vulnerability typically requires local access to the system. However, if an attacker already has access to the system, they can potentially exploit the vulnerability remotely to gain kernel privileges.

There are no known instances of this vulnerability being actively exploited in the wild. However, it is important to promptly apply the necessary patches and updates to mitigate the risk.

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