CVEvulnerability
CVE-2022-50132
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-06-18
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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.
Affected configurations
• linux linux kernel (>= 5.4 < 5.10.137)
• linux linux kernel (>= 5.11 < 5.15.61)
• linux linux kernel (>= 5.16 < 5.18.18)
• linux linux kernel (>= 5.19 < 5.19.2)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/7af83bb516d7aa4f96835288e4aeda21d7aa2a17 Patch
- https://git.kernel.org/stable/c/bfa0201468587072454dba7933e4a4a7be44467a Patch
- https://git.kernel.org/stable/c/c3ffc9c4ca44bfe9562166793d133e1fb0630ea6 Patch
- https://git.kernel.org/stable/c/d342203df9f2d0851b4acd9ed577d73d10eade77 Patch
- https://git.kernel.org/stable/c/eb82c0382285ee17a9966aaab27b8becb08eb1ac Patch