CVE-2025-39793

In the Linux kernel, the following vulnerability has been resolved: io_uring/memmap: cast nr_pages to size_t before shifting If the allocated size exceeds UINT_MAX, then it's necessary to cast the mr->nr_pages value to size_t to prevent it from overflowing. In practice this isn't much of a concern as the required memory size will have been validated upfront, and accounted to the user. And > 4GB sizes will be necessary to make the lack of a cast a problem, which greatly exceeds normal user locked_vm settings that are generally in the kb to mb range. However, if root is used, then accounting isn't done, and then it's possible to hit this issue.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

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/memmap: convertir nr_pages a size_t antes de desplazar Si el tamaño asignado excede UINT_MAX, entonces es necesario convertir el valor mr->nr_pages a size_t para evitar que desborde. En la práctica, esto no es motivo de gran preocupación, ya que el tamaño de memoria requerido habrá sido validado previamente y contabilizado al usuario. Y tamaños > 4GB serán necesarios para que la falta de una conversión sea un problema, lo que excede en gran medida la configuración normal de locked_vm del usuario, que generalmente está en el rango de kb a mb. Sin embargo, si se usa root, entonces la contabilidad no se realiza, y entonces es posible encontrarse con este problema.

Information

Published : 2025-09-12 16:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-39793

Mitre link : CVE-2025-39793

CVE.ORG link : CVE-2025-39793


JSON object : View

Products Affected

linux

  • linux_kernel