CVE-2025-40291 Details
Description
In the Linux kernel, the following vulnerability has been resolved: io_uring: fix regbuf vector size truncation There is a report of io_estimate_bvec_size() truncating the calculated number of segments that leads to corruption issues. Check it doesn't overflow "int"s used later. Rough but simple, can be improved on top.
A vulnerability in the Linux kernel's io_uring implementation has been addressed. The issue arose from the io_estimate_bvec_size() function, which improperly truncated the calculated number of segments. This truncation could lead to data corruption by overflowing the 'int' values used in subsequent operations. The vulnerability has been fixed by ensuring that the segment count does not exceed the maximum limit for integers.
Users can upgrade to the latest version of the Linux kernel to address this vulnerability. The patched version is included in the official Linux kernel stable releases.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/146eb58629f45f8297e83d69e64d4eea4b28d972 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/826ce37a842633efe1bb763e4b13045d74060d72 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 8, 2025 | New CVE Received | kernel.org |
Volerion