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-50151

HIGH 7.8EPSS 15%

usb: cdns3: fix random warning message when driver load

Mitigation

  • Upgrade Linux to 8659ab3d936fcf0084676f98b75b317017aa8f82 or later.

Who should check

  • Anyone running Linux >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 8e142744f0e96abc69ccd99e6d6c7eb662267f21; >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 960a8a35a6027a08c4b511435bf59609b5d5e5cd; >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 8659ab3d936fcf0084676f98b75b317017aa8f82
  • Anyone running Linux 5.13

Vulnerability facts

Affected
Linux >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 8e142744f0e96abc69ccd99e6d6c7eb662267f21; >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 960a8a35a6027a08c4b511435bf59609b5d5e5cd; >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 8659ab3d936fcf0084676f98b75b317017aa8f82; Linux 5.13
Fixed in
Linux 8e142744f0e96abc69ccd99e6d6c7eb662267f21, Linux 960a8a35a6027a08c4b511435bf59609b5d5e5cd, Linux 8659ab3d936fcf0084676f98b75b317017aa8f82
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.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: usb: cdns3: fix random warning message when driver load Warning log: [ 4.141392] Unexpected gfp: 0x4 (GFP_DMA32). Fixing up to gfp: 0xa20 (GFP_ATOMIC). Fix your code! [ 4.150340] CPU: 1 PID: 175 Comm: 1-0050 Not tainted 5.15.5-00039-g2fd9ae1b568c #20 [ 4.158010] Hardware name: Freescale i.MX8QXP MEK (DT) [ 4.163155] Call trace: [ 4.165600] dump_backtrace+0x0/0x1b0 [ 4.169286] show_stack+0x18/0x68 [ 4.172611] dump_stack_lvl+0x68/0x84 [ 4.176286] dump_stack+0x18/0x34 [ 4.179613] kmalloc_fix_flags+0x60/0x88 [ 4.183550] new_slab+0x334/0x370 [ 4.186878] ___slab_alloc.part.108+0x4d4/0x748 [ 4.191419] __slab_alloc.isra.109+0x30/0x78 [ 4.195702] kmem_cache_alloc+0x40c/0x420 [ 4.199725] dma_pool_alloc+0xac/0x1f8 [ 4.203486] cdns3_allocate_trb_pool+0xb4/0xd0 pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) { ... page = kmalloc(sizeof(*page), mem_flags); page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, &page->dma, mem_flags); ... } kmalloc was called with mem_flags, which is passed down in cdns3_allocate_trb_pool() and have GFP_DMA32 flags. kmall_fix_flags() report warning. GFP_DMA32 is not useful at all. dma_alloc_coherent() will handle DMA memory region correctly by pool->dev. GFP_DMA32 can be removed safely.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 8e142744f0e96abc69ccd99e6d6c7eb662267f21; >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 960a8a35a6027a08c4b511435bf59609b5d5e5cd; >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 8659ab3d936fcf0084676f98b75b317017aa8f82—cvelist
Linux5.13—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-50151. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50151.md
Affected: Linux >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 8e142744f0e96abc69ccd99e6d6c7eb662267f21; >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 960a8a35a6027a08c4b511435bf59609b5d5e5cd; >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 8659ab3d936fcf0084676f98b75b317017aa8f82; Linux 5.13
Fixed in: Linux 8e142744f0e96abc69ccd99e6d6c7eb662267f21, Linux 960a8a35a6027a08c4b511435bf59609b5d5e5cd, Linux 8659ab3d936fcf0084676f98b75b317017aa8f82

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-50151 being exploited?

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

How serious is CVE-2022-50151?

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

Which versions are affected by CVE-2022-50151?

Linux >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 8e142744f0e96abc69ccd99e6d6c7eb662267f21; >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 960a8a35a6027a08c4b511435bf59609b5d5e5cd; >= b9b1eae761eeae665824ca6ef7f91da4fc798ebb, < 8659ab3d936fcf0084676f98b75b317017aa8f82; Linux 5.13.

Is there a fix for CVE-2022-50151?

Yes. Fixed in Linux 8e142744f0e96abc69ccd99e6d6c7eb662267f21, Linux 960a8a35a6027a08c4b511435bf59609b5d5e5cd, Linux 8659ab3d936fcf0084676f98b75b317017aa8f82. Upgrade Linux to 8659ab3d936fcf0084676f98b75b317017aa8f82 or later.

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

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