Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2025-39822

io_uring/kbuf: fix signedness in this_len calculation

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/kbuf: fix signedness in this_len calculation When importing and using buffers, buf->len is considered unsigned. However, buf->len is converted to signed int when committing. This can lead to unexpected behavior if the buffer is large enough to be interpreted as a negative value. Make min_t calculation unsigned.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • cf9536e550dd243a1681fdbf804221527da20a80 to < f4f411c068402c370c4f9a9d4950a97af97bbbb1affected
  • cf9536e550dd243a1681fdbf804221527da20a80 to < c64eff368ac676e8540344d27a3de47e0ad90d21affected

Linux Linux

Default version status: affected

  • 6.15affected
  • 0 to < 6.15unaffected
  • 6.16.5 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References