{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-3491","published":"2021-06-04T02:15:07.253000Z","last_modified":"2026-06-17T04:05:11.890000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-131","CWE-787"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.7","version_end_excluding":"5.10.37"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.11.21"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.12","version_end_excluding":"5.12.4"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"20.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:20.10:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"20.10"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:21.04:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"21.04"}],"cpes_truncated":false,"vendors":["linux","canonical"],"products":["linux/linux_kernel","canonical/ubuntu_linux"],"epss":{"score":0.00644,"percentile":0.45528,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2021-3491/","html_en":"/en/cve/CVE-2021-3491/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-3491","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-3491"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"The io_uring subsystem in the Linux kernel allowed the MAX_RW_COUNT limit to be bypassed in the PROVIDE_BUFFERS operation, which led to negative values being usedin mem_rw when reading /proc/<PID>/mem. This could be used to create a heap overflow leading to arbitrary code execution in the kernel. It was addressed via commit d1f82808877b (\"io_uring: truncate lengths larger than MAX_RW_COUNT on provide buffers\") (v5.13-rc1) and backported to the stable kernels in v5.12.4, v5.11.21, and v5.10.37. It was introduced in ddf0322db79c (\"io_uring: add IORING_OP_PROVIDE_BUFFERS\") (v5.7-rc1).","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux kernel","versions":[]}],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d1f82808877bb10d3deee7cf3374a4eb3fb582db","tags":["Patch","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210716-0004/","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4949-1","tags":["Third Party Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4950-1","tags":["Third Party Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2021/05/11/13","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"https://www.zerodayinitiative.com/advisories/ZDI-21-589/","tags":["Third Party Advisory","VDB Entry"]}]}}