mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-30 18:56:19 +00:00
19 lines
1.2 KiB
Markdown
19 lines
1.2 KiB
Markdown
### [CVE-2021-47170](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-47170)
|
|

|
|

|
|

|
|

|
|
|
|
### Description
|
|
|
|
In the Linux kernel, the following vulnerability has been resolved:USB: usbfs: Don't WARN about excessively large memory allocationsSyzbot found that the kernel generates a WARNing if the user tries tosubmit a bulk transfer through usbfs with a buffer that is way toolarge. This isn't a bug in the kernel; it's merely an invalid requestfrom the user and the usbfs code does handle it correctly.In theory the same thing can happen with async transfers, or with thepacket descriptor table for isochronous transfers.To prevent the MM subsystem from complaining about these badallocation requests, add the __GFP_NOWARN flag to the kmalloc callsfor these buffers.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
No PoCs from references.
|
|
|
|
#### Github
|
|
- https://github.com/ARPSyndicate/cve-scores
|
|
|