Critical ERR_PTR Dereference Vulnerability in Linux Kernel Packages

linux Updated 02 Oct 2025

Summary

21/10/2024
N/A
No i
Medium
5.5

CVE-2024-50056: In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c Fix potential dereferencing of ERR_PTR() in find_format_by_pix() and uvc_v4l2_enum_format(). Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Linux kernel is the core component of many operating systems, including Debian. It manages hardware resources and provides essential services for software applications. The kernel is known for its stability and performance, but vulnerabilities can pose significant risks to system integrity and security. This specific vulnerability affects the USB gadget functionality, particularly the UVC (USB Video Class) driver, which is responsible for handling video devices such as webcams.

Vulnerability Detail

In the Linux kernel, specifically within the UVC driver, there exists a vulnerability due to potential dereferencing of ERR_PTR() in the functions find_format_by_pix() and uvc_v4l2_enum_format(). This flaw can lead to undefined behavior, crashes, or security breaches if an invalid pointer is dereferenced. The vulnerability was identified through static analysis tools that flagged possible dereferencing of error pointers, which could compromise system stability and security.

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

Currently, there are no specific workarounds provided for this vulnerability. The best course of action is to apply the necessary updates as soon as they are available.

Conclusion

The CVE-2024-50056 vulnerability in the Linux kernel's UVC driver poses significant risks to system stability and security. Users are strongly advised to update their kernel packages to the latest versions to mitigate these risks. Regular monitoring and prompt application of security updates are essential for maintaining system integrity.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-50056 is a vulnerability in the Linux kernel related to potential dereferencing of error pointers in the UVC driver, which could lead to system instability.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

The risks include system crashes, undefined behavior, and potential security breaches if the vulnerability is exploited.

Yes, patches are available for the affected Linux kernel packages. Users should update their systems to the latest version to mitigate the risk.

If immediate updates are not possible, ensure that your system is monitored for any unusual behavior and consider isolating affected systems from critical networks until a patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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