{"id":"CVE-2025-40291","aliases":["CVE-2025-40291"],"related":[],"kind":"vulnerability","state":"published","title":"io_uring: fix regbuf vector size truncation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix regbuf vector size truncation\n\nThere is a report of io_estimate_bvec_size() truncating the calculated\nnumber of segments that leads to corruption issues. Check it doesn't\noverflow \"int\"s used later. Rough but simple, can be improved on top.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: fix regbuf vector size truncation\n\nThere is a report of io_estimate_bvec_size() truncating the calculated\nnumber of segments that leads to corruption issues. Check it doesn't\noverflow \"int\"s used later. Rough but simple, can be improved on top.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nio_uring: corrección del truncamiento del tamaño del vector regbuf\n\nExiste un informe de io_estimate_bvec_size() truncando el número calculado de segmentos, lo que lleva a problemas de corrupción. Comprobar que no desborde los 'int' utilizados posteriormente. Basto pero simple, puede mejorarse posteriormente.","source":"nvd"}],"published":"2025-12-08T00:46:14.601Z","modified":"2026-10-14T22:10:00.210Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9ef4cbbcb4ac3786a1a4164507511b76b2a572c5","fixed":"826ce37a842633efe1bb763e4b13045d74060d72","status":"affected"},{"type":"git","introduced":"9ef4cbbcb4ac3786a1a4164507511b76b2a572c5","fixed":"146eb58629f45f8297e83d69e64d4eea4b28d972","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/826ce37a842633efe1bb763e4b13045d74060d72","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/146eb58629f45f8297e83d69e64d4eea4b28d972","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40291","url":"https://www.cve.org/CVERecord?id=CVE-2025-40291","licence":"CVE Terms of Use","modified":"2026-08-05T12:09:17.336Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40291","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40291","licence":"Public domain","modified":"2026-10-14T22:10:00.210Z"}],"updatedAt":"2026-11-25T22:59:08.391Z","epss":{"score":0.00155,"percentile":0.04823,"date":"2026-12-01T12:00:22.000Z"}}