← CVE Intelligence

CVE-2025-40291

io_uring: fix regbuf vector size truncation PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 9ef4cbbcb4ac3786a1a4164507511b76b2a572c5 before 826ce37a842633efe1bb763e4b13045d74060d72; affected 9ef4cbbcb4ac3786a1a4164507511b76b2a572c5 before 146eb58629f45f8297e83d69e64d4eea4b28d972
Linux / Linuxaffected 6.15; unaffected 0 before 6.15; unaffected 6.17.8 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References