CVE-2021-47170
MediumIn the Linux kernel, the following vulnerability has been resolved: USB: usbfs: Don't WARN about excessively large memory allocations Syzbot found that the kernel generates a WARNing if the user tries to submit a bulk transfer through usbfs with a buffer that is way too large. This isn't a bug in the kernel; it's merely an invalid request from the user and the usbfs code does handle it correctly. In theory the same thing can happen with async transfers, or with the packet descriptor table for isochronous transfers. To prevent the MM subsystem from complaining about these bad allocation requests, add the __GFP_NOWARN flag to the kmalloc calls for these buffers.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-770CVE-2021-47170 is classified as CWE-770
See CWE-770 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2021-47170 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2ab21d6e1411999b5fb43434f421f00bf50002eb
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2c835fede13e03f2743a333e4370b5ed2db91e83
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4f2629ea67e7225c3fd292c7fe4f5b3c9d6392de
Frequently asked questions
-
What is CVE-2021-47170?
CVE-2021-47170 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . CVE-2021-47170 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2021-47170?
CVE-2021-47170 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2021-47170?
No patch is currently available for CVE-2021-47170. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2021-47170 actively exploited?
No — CVE-2021-47170 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.