CVE-2022-50034

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-50034
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50034.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50034
Downstream
Related
Published
2025-06-18T11:15:31Z
Modified
2025-08-09T20:01:28Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: cdns3 fix use-after-free at workaround 2

BUG: KFENCE: use-after-free read in _listdelentryvalid+0x10/0xac

cdns3wa2removeoldrequest() { ... kfree(privreq->request.buf); cdns3gadgetepfreerequest(&privep->endpoint, &privreq->request); listdelinit(&privreq->list); ^^^ use after free ... }

cdns3gadgetepfreerequest() free the space pointed by privreq, but privreq is used in the following listdelinit().

This patch move listdelinit() before cdns3gadgetepfreerequest().

References

Affected packages