CVE-2022-50132 Details
Description
In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable() If 'ep' is NULL, result of ep_to_cdns3_ep(ep) is invalid pointer and its dereference with priv_ep->cdns3_dev may cause panic. Found by Linux Verification Center (linuxtesting.org) with SVACE.
A vulnerability in the Linux kernel's CDNS3 USB gadget driver could lead to a kernel panic. The issue arises because the 'priv_ep' assignment was placed incorrectly in the 'cdns3_gadget_ep_dequeue()' and 'cdns3_gadget_ep_enable()' functions. If the 'ep' parameter is NULL, the resulting pointer is invalid, and dereferencing it with 'priv_ep->cdns3_dev' may cause a system crash.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/7af83bb516d7aa4f96835288e4aeda21d7aa2a17 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bfa0201468587072454dba7933e4a4a7be44467a | kernel.org | Patch |
| https://git.kernel.org/stable/c/c3ffc9c4ca44bfe9562166793d133e1fb0630ea6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d342203df9f2d0851b4acd9ed577d73d10eade77 | kernel.org | Patch |
| https://git.kernel.org/stable/c/eb82c0382285ee17a9966aaab27b8becb08eb1ac | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4, < 5.10.137 >= 5.11, < 5.15.61 >= 5.16, < 5.18.18 >= 5.19, < 5.19.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 18, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |