{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47040","id":"CVE-2021-47040","title":"io_uring: fix overflows checks in provide buffers","description":"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 f","descriptionLong":"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.","published":"2024-02-28T08:13:46.557Z","updated":"2026-08-05T08:45:40.950Z","reserved":"2024-02-27T18:42:55.968Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff","lessThan":"cbbc13b115b8f18e0a714d89f87fbdc499acfe2d","status":"affected","versionType":"git"},{"version":"efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff","lessThan":"51bf90901952aaac564bbdb36b2b503050c53dd9","status":"affected","versionType":"git"},{"version":"efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff","lessThan":"84b8c266c4bfe9ed5128e13253c388deb74b1b03","status":"affected","versionType":"git"},{"version":"efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff","lessThan":"38134ada0ceea3e848fe993263c0ff6207fd46e7","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","status":"unaffected","versionType":"semver"},{"version":"5.10.37","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.11.21","lessThanOrEqual":"5.11.*","status":"unaffected","versionType":"semver"},{"version":"5.12.4","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-120"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/cbbc13b115b8f18e0a714d89f87fbdc499acfe2d","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/51bf90901952aaac564bbdb36b2b503050c53dd9","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/84b8c266c4bfe9ed5128e13253c388deb74b1b03","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/38134ada0ceea3e848fe993263c0ff6207fd46e7","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00262,"epssPercentile":0.18216,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47040","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47040","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47040","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47040","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}