CVE-2022-50132

usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7733f6c32e36ff9d7adadf40001039bf219b1cbe to before 7af83bb516d7aa4f96835288e4aeda21d7aa2a17Affected
  • 7733f6c32e36ff9d7adadf40001039bf219b1cbe to before bfa0201468587072454dba7933e4a4a7be44467aAffected
  • 7733f6c32e36ff9d7adadf40001039bf219b1cbe to before d342203df9f2d0851b4acd9ed577d73d10eade77Affected
  • 7733f6c32e36ff9d7adadf40001039bf219b1cbe to before eb82c0382285ee17a9966aaab27b8becb08eb1acAffected
  • 7733f6c32e36ff9d7adadf40001039bf219b1cbe to before c3ffc9c4ca44bfe9562166793d133e1fb0630ea6Affected
LinuxLinux
  • 5.4Affected
  • before 5.4Not affected
  • 5.10.137 through 5.10.*Not affected
  • 5.15.61 through 5.15.*Not affected
  • 5.18.18 through 5.18.*Not affected
  • 5.19.2 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.