NULL pointer dereference in Linux
CVE-2024-50056
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 12.5th percentile
- Published
- 2024-10-21
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().
Fix the following smatch errors:
drivers/usb/gadget/function/uvc_v4l2.c:124 find_format_by_pix()
error: 'fmtdesc' dereferencing possible ERR_PTR()
drivers/usb/gadget/function/uvc_v4l2.c:392 uvc_v4l2_enum_format()
error: 'fmtdesc' dereferencing possible ERR_PTR()
Also, fix similar issue in uvc_v4l2_try_format() for potential
dereferencing of ERR_PTR().
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 12.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 588b9e85609bcb2f84a2be83591480aa943943b6, 6.1, 0
- Linux Kernel
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/03fa71e97e9bb116993ec1d51b8a6fe776db0984
- git.kernel.org/stable/c/72a68d2bede3284b95ee93a5ab3a81758bba95b0
- git.kernel.org/stable/c/cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6 (Patch)
- git.kernel.org/stable/c/a7bb96b18864225a694e3887ac2733159489e4b0 (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html