CVE-2025-40291Published Dec 8, 2025 · Dec 8Updated Oct 28
io_uring: fix regbuf vector size truncation
Linux
High7.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's io_uring code can truncate a calculated registered-buffer segment count, leading to corruption. The input does not specify how an attacker could trigger the issue or whether access, authentication, or user interaction is required.
Operators running the Linux kernel should check their systems; affected versions are not specified.