{"id":"CVE-2021-47040","published":"2024-02-28T08:13:46Z","modified":"2026-08-05T08:45:40Z","title":"io_uring: fix overflows checks in provide buffers","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix overflows checks in provide buffers\n\nColin reported before possible overflow and sign extension problems in\nio_provide_buffers_prep(). As Linus pointed out previous attempt did nothing\nuseful, see d81269fecb8ce (\"io_uring: fix provide_buffers sign extension\").\n\nDo that with help of check_<op>_overflow helpers. And fix struct\nio_provide_buf::len type, as it doesn't make much sense to keep it\nsigned.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00262,"percentile":0.18341,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/cbbc13b115b8f18e0a714d89f87fbdc499acfe2d","tags":[]},{"url":"https://git.kernel.org/stable/c/51bf90901952aaac564bbdb36b2b503050c53dd9","tags":[]},{"url":"https://git.kernel.org/stable/c/84b8c266c4bfe9ed5128e13253c388deb74b1b03","tags":[]},{"url":"https://git.kernel.org/stable/c/38134ada0ceea3e848fe993263c0ff6207fd46e7","tags":[]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":3.67},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff, < cbbc13b115b8f18e0a714d89f87fbdc499acfe2d",">= efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff, < 51bf90901952aaac564bbdb36b2b503050c53dd9",">= efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff, < 84b8c266c4bfe9ed5128e13253c388deb74b1b03",">= efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff, < 38134ada0ceea3e848fe993263c0ff6207fd46e7"]},{"vendor":"Linux","product":"Linux","versions":["5.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:57:48.348526Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33688","exploited":false,"provenance":"source"}}