{"id":"CVE-2022-50132","aliases":["CVE-2022-50132"],"related":[],"kind":"vulnerability","state":"published","title":"usb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()\n\nIf 'ep' is NULL, result of ep_to_cdns3_ep(ep) is invalid pointer\nand its dereference with priv_ep->cdns3_dev may cause panic.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: cdns3: change place of 'priv_ep' assignment in cdns3_gadget_ep_dequeue(), cdns3_gadget_ep_enable()\n\nIf 'ep' is NULL, result of ep_to_cdns3_ep(ep) is invalid pointer\nand its dereference with priv_ep->cdns3_dev may cause panic.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: cdns3: cambio de la asignación de 'priv_ep' en cdns3_gadget_ep_dequeue() y cdns3_gadget_ep_enable(). Si 'ep' es nulo, el resultado de ep_to_cdns3_ep(ep) es un puntero no válido y su desreferencia con priv_ep-&gt;cdns3_dev puede causar pánico. Encontrado por el Centro de Verificación de Linux (linuxtesting.org) con SVACE.","source":"nvd"}],"published":"2025-06-18T11:02:57.498Z","modified":"2026-06-17T05:22:49.473Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","fixed":"7af83bb516d7aa4f96835288e4aeda21d7aa2a17","status":"affected"},{"type":"git","introduced":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","fixed":"bfa0201468587072454dba7933e4a4a7be44467a","status":"affected"},{"type":"git","introduced":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","fixed":"d342203df9f2d0851b4acd9ed577d73d10eade77","status":"affected"},{"type":"git","introduced":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","fixed":"eb82c0382285ee17a9966aaab27b8becb08eb1ac","status":"affected"},{"type":"git","introduced":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","fixed":"c3ffc9c4ca44bfe9562166793d133e1fb0630ea6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"5.10.137","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.61","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.18","lastAffected":"5.18.*","status":"unaffected"},{"type":"semver","introduced":"5.19.2","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4","fixed":"5.10.137"},{"status":"affected","introduced":"5.11","fixed":"5.15.61"},{"status":"affected","introduced":"5.16","fixed":"5.18.18"},{"status":"affected","introduced":"5.19","fixed":"5.19.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7af83bb516d7aa4f96835288e4aeda21d7aa2a17","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bfa0201468587072454dba7933e4a4a7be44467a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d342203df9f2d0851b4acd9ed577d73d10eade77","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb82c0382285ee17a9966aaab27b8becb08eb1ac","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3ffc9c4ca44bfe9562166793d133e1fb0630ea6","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50132","url":"https://www.cve.org/CVERecord?id=CVE-2022-50132","licence":"CVE Terms of Use","modified":"2026-05-11T19:13:26.636Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50132","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50132","licence":"Public domain","modified":"2026-06-17T05:22:49.473Z"}],"updatedAt":"2026-11-25T22:58:21.068Z","epss":{"score":0.00201,"percentile":0.10601,"date":"2026-12-01T12:00:22.000Z"}}