CVE-2022-50034

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

HIGH
7.8
CVSS Score
Published: June 18, 2025 at 11:01 AM UTC
Updated: August 15, 2026 at 01:36 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.635.16 ≤ v < 5.19.45.3 ≤ v < 5.4.2115.4 ≤ v < 5.10.1385.4 ≤ v < 5.15.635.4 ≤ v < 5.19.45.4 ≤ v < 5.4.2115.4 ≤ v < 6.05.5 ≤ v < 5.10.1385.46bbf87a131edd39040974f3843ff97e89310ebde
Vendor states this is fixed in 6d7ac60098b206d0472475b666cb09d556bec03d (fixed)
Vendor states this is fixed in 6fd50446e7c9a98b4bcf96815f5c9602a16ea472 (fixed)
Vendor states this is fixed in 7d602f30149a117eea260208b1661bc404c21dfd (fixed)
Vendor states this is fixed in c3c1dbad3a2db32ecf371c97f2058491b8ba0f9a (fixed)
Vendor states this is fixed in e65d9b7147d7be3504893ca7dfb85286bda83d40 (fixed)
Vendor states this is fixed in 5.10.138 (unaffected)
Vendor states this is fixed in 5.15.63 (unaffected)
Vendor states this is fixed in 5.19.4 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 5.4.211 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6d7ac60098b206d0472475b666cb09d556bec03d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6fd50446e7c9a98b4bcf96815f5c9602a16ea472
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d602f30149a117eea260208b1661bc404c21dfd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c3c1dbad3a2db32ecf371c97f2058491b8ba0f9a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e65d9b7147d7be3504893ca7dfb85286bda83d40

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card