CVE-2022-50132
published 2025-06-18CVE-2022-50132: In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue()…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.16%
5.5th percentile
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
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.2-1 (bookworm) | linux 6.0.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < 7af83bb516d7aa4f96835288e4aeda21d7aa2a17 | 7af83bb516d7aa4f96835288e4aeda21d7aa2a17 |
| linux | linux | >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < bfa0201468587072454dba7933e4a4a7be44467a | bfa0201468587072454dba7933e4a4a7be44467a |
| linux | linux | >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < d342203df9f2d0851b4acd9ed577d73d10eade77 | d342203df9f2d0851b4acd9ed577d73d10eade77 |
| linux | linux | >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < eb82c0382285ee17a9966aaab27b8becb08eb1ac | eb82c0382285ee17a9966aaab27b8becb08eb1ac |
| linux | linux | >= 7733f6c32e36ff9d7adadf40001039bf219b1cbe < c3ffc9c4ca44bfe9562166793d133e1fb0630ea6 | c3ffc9c4ca44bfe9562166793d133e1fb0630ea6 |
| linux | linux_kernel | >= 0 < 5.10.140-1 | 5.10.140-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 5.11 < 5.15.61 | 5.15.61 |
| linux | linux_kernel | >= 5.16 < 5.18.18 | 5.18.18 |
| linux | linux_kernel | >= 5.19 < 5.19.2 | 5.19.2 |
| linux | linux_kernel | >= 5.4 < 5.10.137 | 5.10.137 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()
vendor_redhat·2025-06-18·CVSS 5.5
CVE-2022-50132 [MEDIUM] kernel: usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()
kernel: usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kern
Debian
CVE-2022-50132: linux - In the Linux kernel, the following vulnerability has been resolved: usb: cdns3:...
vendor_debian·2022·CVSS 5.5
CVE-2022-50132 [MEDIUM] CVE-2022-50132: linux - In the Linux kernel, the following vulnerability has been resolved: usb: cdns3:...
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.
Scope: local
bookworm: resolved (fixed in 6.0.2-1)
bullseye: resolved (fixed in 5.10.140-1)
forky: resolved (fixed in 6.0.2-1)
sid: resolved (fixed in 6.0.2-1)
trixie: resolved (fixed in 6.0.2-1)
OSV
CVE-2022-50132: In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdn
osv·2025-06-18·CVSS 5.5
CVE-2022-50132 [MEDIUM] CVE-2022-50132: In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdn
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.
GHSA
GHSA-m3h9-c5j7-q6f4: In the Linux kernel, the following vulnerability has been resolved:
usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cd
ghsa_unreviewed·2025-06-18
CVE-2022-50132 [MEDIUM] CWE-476 GHSA-m3h9-c5j7-q6f4: In the Linux kernel, the following vulnerability has been resolved:
usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cd
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/7af83bb516d7aa4f96835288e4aeda21d7aa2a17https://git.kernel.org/stable/c/bfa0201468587072454dba7933e4a4a7be44467ahttps://git.kernel.org/stable/c/c3ffc9c4ca44bfe9562166793d133e1fb0630ea6https://git.kernel.org/stable/c/d342203df9f2d0851b4acd9ed577d73d10eade77https://git.kernel.org/stable/c/eb82c0382285ee17a9966aaab27b8becb08eb1ac
2025-06-18
Published