CVE-2024-50056
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
21/10/2024
Last modified:
03/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c<br />
<br />
Fix potential dereferencing of ERR_PTR() in find_format_by_pix()<br />
and uvc_v4l2_enum_format().<br />
<br />
Fix the following smatch errors:<br />
<br />
drivers/usb/gadget/function/uvc_v4l2.c:124 find_format_by_pix()<br />
error: &#39;fmtdesc&#39; dereferencing possible ERR_PTR()<br />
<br />
drivers/usb/gadget/function/uvc_v4l2.c:392 uvc_v4l2_enum_format()<br />
error: &#39;fmtdesc&#39; dereferencing possible ERR_PTR()<br />
<br />
Also, fix similar issue in uvc_v4l2_try_format() for potential<br />
dereferencing of ERR_PTR().
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.11 (including) | 6.11.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/03fa71e97e9bb116993ec1d51b8a6fe776db0984
- https://git.kernel.org/stable/c/72a68d2bede3284b95ee93a5ab3a81758bba95b0
- https://git.kernel.org/stable/c/a7bb96b18864225a694e3887ac2733159489e4b0
- https://git.kernel.org/stable/c/cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html



