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(). 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().
Configurations

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

07 Apr 2025, 09:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/03fa71e97e9bb116993ec1d51b8a6fe776db0984 -
  • () https://git.kernel.org/stable/c/72a68d2bede3284b95ee93a5ab3a81758bba95b0 -

Information

Published : 2024-10-21 20:15

Updated : 2025-04-07 09:15


NVD link : CVE-2024-50056

Mitre link : CVE-2024-50056

CVE.ORG link : CVE-2024-50056


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference