CVE-2021-47040: Linux Kernel
High severity, CVSS 7.8. EPSS: 0.3% chance of exploitation in the next 30 days.
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 Linux Kernel: from 5.8, before 5.10.37 (fixed in 5.10.37); from 5.11, before 5.11.21 (fixed in 5.11.21); from 5.12, before 5.12.4 (fixed in 5.12.4)
Published 2024-02-28. Last modified 2026-08-04.