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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 16 Sep 2025 13:15:00 +0000

Type Values Removed Values Added
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.
Title io_uring/kbuf: fix signedness in this_len calculation
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2025-09-16T13:00:21.533Z

Reserved: 2025-04-16T07:20:57.139Z

Link: CVE-2025-39822

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-09-16T13:15:59.873

Modified: 2025-09-16T13:15:59.873

Link: CVE-2025-39822

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.