Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix overflows checks in provide buffers Colin reported before possible overflow and sign extension problems in io_provide_buffers_prep(). As Linus pointed out previous attempt did nothing useful, see d81269fecb8ce ("io_uring: fix provide_buffers sign extension"). Do that with help of check_<op>_overflow helpers. And fix struct io_provide_buf::len type, as it doesn't make much sense to keep it signed.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.8, < 5.10.37 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/38134ada0ceea3e848fe993263c0ff6207fd46e7Patch
- https://git.kernel.org/stable/c/51bf90901952aaac564bbdb36b2b503050c53dd9Patch
- https://git.kernel.org/stable/c/84b8c266c4bfe9ed5128e13253c388deb74b1b03Patch
- https://git.kernel.org/stable/c/cbbc13b115b8f18e0a714d89f87fbdc499acfe2dPatch
- https://git.kernel.org/stable/c/38134ada0ceea3e848fe993263c0ff6207fd46e7Patch
- https://git.kernel.org/stable/c/51bf90901952aaac564bbdb36b2b503050c53dd9Patch
- https://git.kernel.org/stable/c/84b8c266c4bfe9ed5128e13253c388deb74b1b03Patch
- https://git.kernel.org/stable/c/cbbc13b115b8f18e0a714d89f87fbdc499acfe2dPatch
FAQ
What is CVE-2021-47040?
CVE-2021-47040 is a vulnerability with a CVSS score of 7.8 (HIGH). In the Linux kernel, the following vulnerability has been resolved: io_uring: fix overflows checks in provide buffers Colin reported before possible overflow and sign extension problems in io_provid...
How severe is CVE-2021-47040?
CVE-2021-47040 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-47040?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.