CVE-2021-47040CWE-120

CVE-2021-47040

High · published February 28, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
17.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00262 · 17.0th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2024-02-28T14:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 5.8, < 5.10.375.10.37
linux/linux_kernel≥ 5.11, < 5.11.215.11.21
linux/linux_kernel≥ 5.12, < 5.12.45.12.4
References (8)
EPSS history
Timeline
  • 28 FEB 08:13Z
    io_uring: fix overflows checks in provide buffers
    cvelistv5