# CVE-2025-39822: io_uring/kbuf: fix signedness in this_len calculation

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2025-09-16T13:00:21.533Z
- Modified: 2026-10-19T21:10:00.160Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from cf9536e550dd243a1681fdbf804221527da20a80 before f4f411c068402c370c4f9a9d4950a97af97bbbb1; from cf9536e550dd243a1681fdbf804221527da20a80 before c64eff368ac676e8540344d27a3de47e0ad90d21; 6.15 (not affected: before 6.15; from 6.16.5 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.12 before 6.16.5; 6.17

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/f4f411c068402c370c4f9a9d4950a97af97bbbb1> (patch)
- <https://git.kernel.org/stable/c/c64eff368ac676e8540344d27a3de47e0ad90d21> (patch)

## Sources

- CVE List: [CVE-2025-39822](https://www.cve.org/CVERecord?id=CVE-2025-39822), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-39822](https://nvd.nist.gov/vuln/detail/CVE-2025-39822), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39822 · Whole record: https://cve.day/CVE-2025-39822.json · Rebuilt by cve.day 2026-11-25T22:59:04.728Z
