CWE
476
Advisory Published
Updated

CVE-2024-50056: usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c

First published: Mon Oct 21 2024(Updated: )

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

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel>=6.11<6.11.4
debian/linux<=5.10.223-1<=5.10.234-1<=6.1.129-1<=6.1.128-1
6.12.20-1
6.12.21-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-50056?

    CVE-2024-50056 is categorized as a medium severity vulnerability in the Linux kernel.

  • How do I fix CVE-2024-50056?

    The fix for CVE-2024-50056 involves upgrading to the latest version of the Linux kernel that includes the patch for this vulnerability.

  • What types of systems are affected by CVE-2024-50056?

    CVE-2024-50056 affects systems running versions of the Linux kernel from 6.11 to 6.11.4.

  • What is the main issue addressed by CVE-2024-50056?

    CVE-2024-50056 addresses a potential dereferencing of ERR_PTR() in the uvc_v4l2.c driver code.

  • Is CVE-2024-50056 a remote exploitation risk?

    CVE-2024-50056 does not specifically indicate a remote exploitation risk but may impact the stability of USB gadget functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203