First published: Wed Feb 28 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=5.8<5.10.37 | |
Linux Kernel | >=5.11<5.11.21 | |
Linux Kernel | >=5.12<5.12.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-47040 has been classified as a vulnerability with a medium severity level.
To address CVE-2021-47040, it is recommended to update the Linux kernel to versions 5.10.38, 5.11.22, or 5.12.5 or later.
CVE-2021-47040 impacts Linux kernel versions between 5.8 and 5.10.37, 5.11 and 5.11.21, and 5.12 and 5.12.4.
CVE-2021-47040 addresses overflow and sign extension problems in the io_provide_buffers_prep() function of the Linux kernel.
The vulnerability CVE-2021-47040 was reported by a user named Colin.