Kernel warning via GFP_DMA32 TRB allocation
Published Jun 18, 2025 · Updated Aug 15, 2026
Improper allocation handling in the Linux cdns3 USB gadget driver from 5.13 allows local users to trigger a kernel warning during driver loading. cdns3_allocate_trb_pool passes GFP_DMA32 through dma_pool_alloc to kmalloc even though coherent DMA allocation already selects the proper memory region. Reachability requires the cdns3 gadget driver to allocate its TRB pool; published records demonstrate a warning but do not describe a crash or data compromise.
Summary
What happened
Improper allocation handling in the Linux cdns3 USB gadget driver from 5.13 allows local users to trigger a kernel warning during driver loading. cdns3_allocate_trb_pool passes GFP_DMA32 through dma_pool_alloc to kmalloc even though coherent DMA allocation already selects the proper memory region. Reachability requires the cdns3 gadget driver to allocate its TRB pool; published records demonstrate a warning but do not describe a crash or data compromise.
The record
- CVE
- CVE-2022-50151
- Published
- Jun 18, 2025
- Updated
- Aug 15, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- Aug 15, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.13
- Affected versionversion=b9b1eae761eeae665824ca6ef7f91da4fc798ebb <8659ab3d936fcf0084676f98b75b317017aa8f82
- Affected versionversion=b9b1eae761eeae665824ca6ef7f91da4fc798ebb <8e142744f0e96abc69ccd99e6d6c7eb662267f21
- Affected versionversion=b9b1eae761eeae665824ca6ef7f91da4fc798ebb <960a8a35a6027a08c4b511435bf59609b5d5e5cd
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo