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.
References
Configurations
Configuration 1 (hide)
|
History
09 Jan 2025, 15:29
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-120 | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.8 |
First Time |
Linux linux Kernel
Linux |
|
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
References | () https://git.kernel.org/stable/c/38134ada0ceea3e848fe993263c0ff6207fd46e7 - Patch | |
References | () https://git.kernel.org/stable/c/51bf90901952aaac564bbdb36b2b503050c53dd9 - Patch | |
References | () https://git.kernel.org/stable/c/84b8c266c4bfe9ed5128e13253c388deb74b1b03 - Patch | |
References | () https://git.kernel.org/stable/c/cbbc13b115b8f18e0a714d89f87fbdc499acfe2d - Patch |
21 Nov 2024, 06:35
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/38134ada0ceea3e848fe993263c0ff6207fd46e7 - | |
References | () https://git.kernel.org/stable/c/51bf90901952aaac564bbdb36b2b503050c53dd9 - | |
References | () https://git.kernel.org/stable/c/84b8c266c4bfe9ed5128e13253c388deb74b1b03 - | |
References | () https://git.kernel.org/stable/c/cbbc13b115b8f18e0a714d89f87fbdc499acfe2d - |
28 Feb 2024, 09:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-02-28 09:15
Updated : 2025-01-09 15:29
NVD link : CVE-2021-47040
Mitre link : CVE-2021-47040
CVE.ORG link : CVE-2021-47040
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-120
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')