# CVE-2025-40291: io_uring: fix regbuf vector size truncation

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-12-08T00:46:14.601Z
- Modified: 2026-10-14T22:10:00.210Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 9ef4cbbcb4ac3786a1a4164507511b76b2a572c5 before 826ce37a842633efe1bb763e4b13045d74060d72; from 9ef4cbbcb4ac3786a1a4164507511b76b2a572c5 before 146eb58629f45f8297e83d69e64d4eea4b28d972; 6.15 (not affected: before 6.15; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/826ce37a842633efe1bb763e4b13045d74060d72>
- <https://git.kernel.org/stable/c/146eb58629f45f8297e83d69e64d4eea4b28d972>

## Sources

- CVE List: [CVE-2025-40291](https://www.cve.org/CVERecord?id=CVE-2025-40291), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-40291](https://nvd.nist.gov/vuln/detail/CVE-2025-40291), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-40291 · Whole record: https://cve.day/CVE-2025-40291.json · Rebuilt by cve.day 2026-11-25T22:59:08.391Z
