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

Published Oct 21, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: uvc: Fix ERRPTR dereference in uvcv4l2.c

Fix potential dereferencing of ERRPTR() in findformatbypix() and uvcv4l2enumformat().

Fix the following smatch errors:

drivers/usb/gadget/function/uvcv4l2.c:124 findformatbypix() error: 'fmtdesc' dereferencing possible ERRPTR()

drivers/usb/gadget/function/uvcv4l2.c:392 uvcv4l2enumformat() error: 'fmtdesc' dereferencing possible ERRPTR()

Also, fix similar issue in uvcv4l2tryformat() for potential dereferencing of ERRPTR().

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

2 affected componentsFixes available
Linux Linux kernel>=6.11<6.11.4
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1
6.1.135-16.12.25-16.12.27-1

Event History

Oct 21, 2024
CVE Published
via MITRE·07:39 PM
Data Sourced
via MITRE·07:39 PM
Description
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 20, 2025
Data Sourced
via Launchpad·12:45 AM
Description
May 3, 2025
Data Sourced
via Ubuntu·12:55 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-50056?

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

2

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.

3

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.

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203