CVE-2025-39816

In the Linux kernel, the following vulnerability has been resolved: io_uring/kbuf: always use READ_ONCE() to read ring provided buffer lengths Since the buffers are mapped from userspace, it is prudent to use READ_ONCE() to read the value into a local variable, and use that for any other actions taken. Having a stable read of the buffer length avoids worrying about it changing after checking, or being read multiple times. Similarly, the buffer may well change in between it being picked and being committed. Ensure the looping for incremental ring buffer commit stops if it hits a zero sized buffer, as no further progress can be made at that point.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: io_uring/kbuf: siempre usar READ_ONCE() para leer las longitudes de búfer proporcionadas por el anillo Dado que los búferes se mapean desde el espacio de usuario, es prudente usar READ_ONCE() para leer el valor en una variable local y usarla para cualquier otra acción realizada. Tener una lectura estable de la longitud del búfer evita preocuparse de que cambie después de la verificación o de que se lea varias veces. De manera similar, el búfer bien podría cambiar entre el momento en que se selecciona y el momento en que se confirma. Asegurar que el bucle para la confirmación incremental del búfer de anillo se detenga si encuentra un búfer de tamaño cero, ya que no se puede avanzar más en ese punto.

Information

Published : 2025-09-16 13:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-39816

Mitre link : CVE-2025-39816

CVE.ORG link : CVE-2025-39816


JSON object : View

Products Affected

linux

  • linux_kernel