{"id":"CVE-2022-50034","summary":"usb: cdns3 fix use-after-free at workaround 2","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: cdns3 fix use-after-free at workaround 2\n\nBUG: KFENCE: use-after-free read in __list_del_entry_valid+0x10/0xac\n\ncdns3_wa2_remove_old_request()\n{\n\t...\n\tkfree(priv_req-\u003erequest.buf);\n\tcdns3_gadget_ep_free_request(&priv_ep-\u003eendpoint, &priv_req-\u003erequest);\n\tlist_del_init(&priv_req-\u003elist);\n\t^^^ use after free\n\t...\n}\n\ncdns3_gadget_ep_free_request() free the space pointed by priv_req,\nbut priv_req is used in the following list_del_init().\n\nThis patch move list_del_init() before cdns3_gadget_ep_free_request().","modified":"2026-04-03T13:14:44.857699Z","published":"2025-06-18T11:01:36.435Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02537-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50034.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6d7ac60098b206d0472475b666cb09d556bec03d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6fd50446e7c9a98b4bcf96815f5c9602a16ea472"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d602f30149a117eea260208b1661bc404c21dfd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3c1dbad3a2db32ecf371c97f2058491b8ba0f9a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e65d9b7147d7be3504893ca7dfb85286bda83d40"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50034.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50034"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8bc1901ca7b07d864fca11461b3875b31f949765"},{"fixed":"e65d9b7147d7be3504893ca7dfb85286bda83d40"},{"fixed":"6d7ac60098b206d0472475b666cb09d556bec03d"},{"fixed":"c3c1dbad3a2db32ecf371c97f2058491b8ba0f9a"},{"fixed":"6fd50446e7c9a98b4bcf96815f5c9602a16ea472"},{"fixed":"7d602f30149a117eea260208b1661bc404c21dfd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50034.json"}}],"schema_version":"1.7.5"}