Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50034

HIGH 7.8EPSS 14%

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

Mitigation

  • Upgrade Linux to 7d602f30149a117eea260208b1661bc404c21dfd or later.

Who should check

  • Anyone running Linux >= 6bbf87a131edd39040974f3843ff97e89310ebde, < e65d9b7147d7be3504893ca7dfb85286bda83d40; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 6d7ac60098b206d0472475b666cb09d556bec03d; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < c3c1dbad3a2db32ecf371c97f2058491b8ba0f9a; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 6fd50446e7c9a98b4bcf96815f5c9602a16ea472; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 7d602f30149a117eea260208b1661bc404c21dfd
  • Anyone running Linux 5.4

Vulnerability facts

Affected
Linux >= 6bbf87a131edd39040974f3843ff97e89310ebde, < e65d9b7147d7be3504893ca7dfb85286bda83d40; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 6d7ac60098b206d0472475b666cb09d556bec03d; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < c3c1dbad3a2db32ecf371c97f2058491b8ba0f9a; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 6fd50446e7c9a98b4bcf96815f5c9602a16ea472; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 7d602f30149a117eea260208b1661bc404c21dfd; Linux 5.4
Fixed in
Linux 6d7ac60098b206d0472475b666cb09d556bec03d, Linux 6fd50446e7c9a98b4bcf96815f5c9602a16ea472, Linux 7d602f30149a117eea260208b1661bc404c21dfd
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
CWE
CWE-416
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 6bbf87a131edd39040974f3843ff97e89310ebde, < e65d9b7147d7be3504893ca7dfb85286bda83d40; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 6d7ac60098b206d0472475b666cb09d556bec03d; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < c3c1dbad3a2db32ecf371c97f2058491b8ba0f9a; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 6fd50446e7c9a98b4bcf96815f5c9602a16ea472; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 7d602f30149a117eea260208b1661bc404c21dfd—cvelist
Linux5.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50034. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50034.md
Affected: Linux >= 6bbf87a131edd39040974f3843ff97e89310ebde, < e65d9b7147d7be3504893ca7dfb85286bda83d40; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 6d7ac60098b206d0472475b666cb09d556bec03d; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < c3c1dbad3a2db32ecf371c97f2058491b8ba0f9a; >= 6bbf87a131edd39040974f3…
Fixed in: Linux 6d7ac60098b206d0472475b666cb09d556bec03d, Linux 6fd50446e7c9a98b4bcf96815f5c9602a16ea472, Linux 7d602f30149a117eea260208b1661bc404c21dfd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50034 being exploited?

There is no confirmed exploitation: CVE-2022-50034 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50034?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-50034?

Linux >= 6bbf87a131edd39040974f3843ff97e89310ebde, < e65d9b7147d7be3504893ca7dfb85286bda83d40; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 6d7ac60098b206d0472475b666cb09d556bec03d; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < c3c1dbad3a2db32ecf371c97f2058491b8ba0f9a; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 6fd50446e7c9a98b4bcf96815f5c9602a16ea472; >= 6bbf87a131edd39040974f3843ff97e89310ebde, < 7d602f30149a117eea260208b1661bc404c21dfd; Linux 5.4.

Is there a fix for CVE-2022-50034?

Yes. Fixed in Linux 6d7ac60098b206d0472475b666cb09d556bec03d, Linux 6fd50446e7c9a98b4bcf96815f5c9602a16ea472, Linux 7d602f30149a117eea260208b1661bc404c21dfd. Upgrade Linux to 7d602f30149a117eea260208b1661bc404c21dfd or later.

How do I check if I'm affected by CVE-2022-50034?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors