Vulnerabilities · 2021 · Linux
CVE-2021-47040
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/38134ada0ceea3e848fe993263c0ff6207fd46e7 · Patch
- git.kernel.org/stable/c/51bf90901952aaac564bbdb36b2b503050c53dd9 · Patch
- git.kernel.org/stable/c/84b8c266c4bfe9ed5128e13253c388deb74b1b03 · Patch
- git.kernel.org/stable/c/cbbc13b115b8f18e0a714d89f87fbdc499acfe2d · Patch
- nvd.nist.gov/vuln/detail/CVE-2021-47040
- cve.org/CVERecord?id=CVE-2021-47040
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.