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.
Overview
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).
- Published
- 6/4/2021
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 5.7, < 5.10.37 | Verify advisory | Source |
linux kernel linux | ≥ 5.11, < 5.11.21 | Verify advisory | Source |
linux kernel linux | ≥ 5.12, < 5.12.4 | Verify advisory | Source |
ubuntu linux canonical | 20.04 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
ubuntu linux canonical | 20.10 | Verify advisory | Source |
ubuntu linux canonical | 21.04 | Verify advisory | Source |
Linux kernel Linux | ≥ trunk, < v5.13-rc4 | Verify advisory | Source |
Linux kernel Linux | ≥ linux-5.12.y, < v5.12.4 | Verify advisory | Source |
Linux kernel Linux | ≥ linux-5.11.y, < v5.11.21 | Verify advisory | Source |
Linux kernel Linux | ≥ linux-5.10.y, < v5.10.37 | Verify advisory | Source |
Linux kernel Linux | ≥ v5.7-rc1, < 5.7* | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.