A AegiFlow
HIGHCVSS 7.8

CVE-2021-47040

CVE-2021-47040 updated by NVD

Modified
2026-08-06
Sources
nvd

Summary

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_ _overflow helpers. And fix struct io_provide_buf::len type, as it doesn't make much sense to keep it signed.

References

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.