CVE-2022-50034 Details
Description
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 __list_del_entry_valid+0x10/0xac cdns3_wa2_remove_old_request() { ... kfree(priv_req->request.buf); cdns3_gadget_ep_free_request(&priv_ep->endpoint, &priv_req->request); list_del_init(&priv_req->list); ^^^ use after free ... } cdns3_gadget_ep_free_request() free the space pointed by priv_req, but priv_req is used in the following list_del_init(). This patch move list_del_init() before cdns3_gadget_ep_free_request().
A use-after-free vulnerability has been identified in the USB CDNS3 component of the Linux kernel. This issue arises in the 'cdns3_wa2_remove_old_request' function, where a request buffer is freed, but the request is still being used in a list operation, leading to a use-after-free condition. The vulnerability has been addressed by modifying the order of operations to remove the request from the list before freeing it.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/6d7ac60098b206d0472475b666cb09d556bec03d | kernel.org | Patch |
| https://git.kernel.org/stable/c/6fd50446e7c9a98b4bcf96815f5c9602a16ea472 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7d602f30149a117eea260208b1661bc404c21dfd | kernel.org | Patch |
| https://git.kernel.org/stable/c/c3c1dbad3a2db32ecf371c97f2058491b8ba0f9a | kernel.org | Patch |
| https://git.kernel.org/stable/c/e65d9b7147d7be3504893ca7dfb85286bda83d40 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.3, < 5.4.211 >= 5.5, < 5.10.138 >= 5.11, < 5.15.63 >= 5.16, < 5.19.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 15, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 13, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |