CVE-2025-39822
JSON

5.5medium

io_uring/kbuf: fix signedness in this_len calculation

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.12 before 6.16.5, 6.17NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: io_uring/kbuf: corregir el signo en el cálculo de this_len Al importar y usar búferes, buf->len se considera sin signo. Sin embargo, buf->len se convierte a un entero con signo al confirmar. Esto puede llevar a un comportamiento inesperado si el búfer es lo suficientemente grande como para ser interpretado como un valor negativo. Hacer que el cálculo de min_t sea sin signo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39822 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-39822 changed 2026-10-19Public domain