Null Pointer Dereference in Linux Kernel's DRM V3D - CVE-2022-49485

linux Updated 02 Oct 2025

Summary

26/02/2025
N/A
Yes i
Medium
5.5

CVE-2022-49485: In the Linux kernel, the following vulnerability has been resolved: drm/v3d: Fix null pointer dereference of pointer perfmon In the unlikely event that pointer perfmon is null the WARN_ON return path occurs after the poi... Affects linux versions < 5.18.5-1. Fixed in 5.18.5-1. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware and software interaction. It supports a wide range of functionalities, including process management, memory management, and device drivers. The DRM (Direct Rendering Manager) subsystem is responsible for managing graphics processing units (GPUs) and rendering graphics in a secure and efficient manner. The vulnerability CVE-2022-49485 specifically affects the V3D driver within the DRM subsystem, which is responsible for handling graphics rendering on certain hardware platforms.

Vulnerability Detail

CVE-2022-49485 is a vulnerability in the Linux kernel's DRM V3D driver that arises from a null pointer dereference. The issue occurs when the pointer 'perfmon' is checked for nullity after it has already been dereferenced, leading to potential system crashes or undefined behavior. This vulnerability can be exploited in scenarios where an attacker can manipulate the graphics rendering process, potentially resulting in a denial of service or other security implications.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating to the fixed version of the Linux kernel.

Conclusion

CVE-2022-49485 is a critical vulnerability in the Linux kernel's DRM V3D driver that can lead to significant security risks. Users are strongly encouraged to update their systems to the patched version to protect against potential exploits. Regular monitoring for vulnerabilities using tools like Vulert can help maintain system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49485 is a vulnerability in the Linux kernel's DRM V3D driver that can lead to a null pointer dereference.

Exploitation of this vulnerability can result in system crashes or undefined behavior, potentially leading to a denial of service.

The vulnerability affects Linux versions prior to 5.18.5-1 in Debian 12 and 13.

You can check if your application is affected by using Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to use the Vulert playground without signup.

While there are no specific workarounds, it is advisable to prioritize updating your Linux kernel to mitigate the risk associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.18.5-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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