Skip to main content
Network Thinking Solutions Logo

CVE-2021-47040

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().

All CVEs
CVE-2021-47040Published 2/28/2024

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().

Vendor advisory
CVSS7.8High

Overview

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.

Published
2/28/2024
Last modified
8/4/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 / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.8, < 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
Linux
Linux
≥ efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff, < cbbc13b115b8f18e0a714d89f87fbdc499acfe2d

Verify advisory

Source
Linux
Linux
≥ efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff, < 51bf90901952aaac564bbdb36b2b503050c53dd9

Verify advisory

Source
Linux
Linux
≥ efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff, < 84b8c266c4bfe9ed5128e13253c388deb74b1b03

Verify advisory

Source
Linux
Linux
≥ efe68c1ca8f49e8c06afd74b699411bfbb8ba1ff, < 38134ada0ceea3e848fe993263c0ff6207fd46e7

Verify advisory

Source
Linux
Linux
5.8

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: 7.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.