CVE-2024-50056usb: gadget: uvc: Fix ERR_PTR dereference in uvc_v4l2.c
- 5.5MediumCVSS base score
- 0.22%Exploitation in 30 daysEPSS · top 88% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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().
Timeline
ID reserved
By Linux
Published
- 19 months later
· 19 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 88% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 588b9e85609bcb2f84a2be83591480aa943943b6 – < 03fa71e97e9bb116993ec1d51b8a6fe776db0984
- affected 588b9e85609bcb2f84a2be83591480aa943943b6 – < 72a68d2bede3284b95ee93a5ab3a81758bba95b0
- affected 588b9e85609bcb2f84a2be83591480aa943943b6 – < cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6
- affected 588b9e85609bcb2f84a2be83591480aa943943b6 – < a7bb96b18864225a694e3887ac2733159489e4b0
- affected 6.1
- unaffected < 6.1
- unaffected 6.1.133 – ≤ 6.1.*
- unaffected 6.6.86 – ≤ 6.6.*
- unaffected 6.11.4 – ≤ 6.11.*
- unaffected 6.12 – ≤ *
References
References5
- https://git.kernel.org/stable/c/03fa71e97e9bb116993ec1d51b8a6fe776db0984 (opens in a new tab)
- https://git.kernel.org/stable/c/72a68d2bede3284b95ee93a5ab3a81758bba95b0 (opens in a new tab)
- https://git.kernel.org/stable/c/cedeb36c3ff4acd0f3d09918dfd8ed1df05efdd6 (opens in a new tab)
- https://git.kernel.org/stable/c/a7bb96b18864225a694e3887ac2733159489e4b0 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-44787 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-50056)Record last updated .