CVE-2024-50056: Linux kernel · usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:41 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel source code. Users and administrators should apply the official kernel updates that include this patch to remediate the issue. Since this is a kernel-level vulnerability, upgrading to a fixed kernel version is the recommended mitigation.
Description
CVE-2024-50056 addresses a vulnerability in the Linux kernel's USB gadget UVC driver where improper handling of error pointers (ERR_PTR) could lead to a null pointer dereference or similar fault. The issue occurs in functions find_format_by_pix(), uvc_v4l2_enum_format(), and uvc_v4l2_try_format() within the uvc_v4l2.c source file. This flaw has been fixed by correcting the dereferencing of ERR_PTR values to prevent potential kernel crashes.
References
- nvd.nist.gov/vuln/detail/CVE-2024-50056 (opens in a new tab)
- git.kernel.org/stable/c/03fa71e97e9bb116993ec1d51b8a6fe776db0984 (opens in a new tab)
- git.kernel.org/stable/c/72a68d2bede3284b95ee93a5ab3a81758bba95b0 (opens in a new tab)
- git.kernel.org/stable/c/a7bb96b18864225a694e3887ac2733159489e4b0 (opens in a new tab)
- git.kernel.org/stable/c/cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)