CVE-2025-40291

io_uring: fix regbuf vector size truncation

State
Published
Severity
7.8 High
Published
Dec 8, 2025
Updated
Aug 5, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9ef4cbbcb4ac3786a1a4164507511b76b2a572c5 to before 826ce37a842633efe1bb763e4b13045d74060d72Affected
  • 9ef4cbbcb4ac3786a1a4164507511b76b2a572c5 to before 146eb58629f45f8297e83d69e64d4eea4b28d972Affected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.17.8 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.