← CVE Intelligence

CVE-2025-39822

io_uring/kbuf: fix signedness in this_len calculation PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected cf9536e550dd243a1681fdbf804221527da20a80 before f4f411c068402c370c4f9a9d4950a97af97bbbb1; affected cf9536e550dd243a1681fdbf804221527da20a80 before c64eff368ac676e8540344d27a3de47e0ad90d21
Linux / Linuxaffected 6.15; unaffected 0 before 6.15; unaffected 6.16.5 through 6.16.*; unaffected 6.17 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.