NULL pointer dereference in cal_ctx_v4l2_init_formats() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1001266: media: ti-vpe: cal: Fix a NULL pointer dereference in cal_ctx_v4l2_init_formats(). Affects Kernel versions >= 7168155002cf7aadbfaa14a28f037c880a214764, < 1381f1a629a090c251965edb56f849ad648414a4. 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 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 Kernel is a crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. The vulnerability in question affects the media: ti-vpe: cal module within the Kernel. This module is responsible for managing the Camera Abstraction Layer (CAL) for Texas Instruments' video processing engine (VPE). The CAL module initializes video formats for the V4L2 (Video for Linux 2) interface. However, a NULL pointer dereference bug exists in the cal_ctx_v4l2_init_formats() function, which can lead to unexpected behavior or system crashes.

Vulnerability Detail

The vulnerability arises due to a NULL pointer dereference in the cal_ctx_v4l2_init_formats() function of the media: ti-vpe: cal module. When this function is called, it fails to handle a NULL pointer properly, resulting in a crash or other undefined behavior. An attacker may potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. The impact and attack plausibility of this vulnerability have not been proven yet.

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 →

Conclusion

In conclusion, the NULL pointer dereference vulnerability in cal_ctx_v4l2_init_formats() within the media: ti-vpe: cal module of the Linux Kernel can potentially lead to system crashes or unauthorized code execution. It is crucial to update the Kernel to version v5.17.2 or later to mitigate this vulnerability. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The media: ti-vpe: cal module is responsible for managing the Camera Abstraction Layer (CAL) for Texas Instruments' video processing engine (VPE). It handles the initialization of video formats for the V4L2 interface.

A NULL pointer dereference occurs when a program attempts to access or manipulate memory using a pointer that has not been assigned a valid memory address (i.e., it points to NULL). This can lead to crashes, unexpected behavior, or security vulnerabilities.

The vulnerability could potentially be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. However, the actual impact and attack plausibility have not been proven yet.

To mitigate the risk, it is recommended to update the Linux Kernel to version v5.17.2 or later, which includes the fix for this vulnerability. Additionally, following security best practices such as restricting access to vulnerable systems and implementing proper network security measures can help reduce the risk of exploitation.

You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry with ID GSD-2022-1001266. Additionally, you can refer to the provided references link for detailed commit information in the Linux Kernel repository.

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