CVE-2025-39822Incorrect Conversion between Numeric Types in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 94.04%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 16

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel6.126.16.5+1
Debianlinux/linux_kernel< 6.16.5-1
CVEListV5linux/linuxcf9536e550dd243a1681fdbf804221527da20a80f4f411c068402c370c4f9a9d4950a97af97bbbb1+2
debiandebian/linux< linux 6.16.5-1 (forky)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-5xmf-424g-jjhg: In the Linux kernel, the following vulnerability has been resolved: io_uring/kbuf: fix signedness in this_len calculation When importing and using b2025-09-16
OSV
CVE-2025-39822: In the Linux kernel, the following vulnerability has been resolved: io_uring/kbuf: fix signedness in this_len calculation When importing and using buf2025-09-16

📋Vendor Advisories

2
Red Hat
kernel: io_uring/kbuf: fix signedness in this_len calculation2025-09-16
Debian
CVE-2025-39822: linux - In the Linux kernel, the following vulnerability has been resolved: io_uring/kb...2025
CVE-2025-39822 — Linux vulnerability | cvebase