CVE-2025-39825

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix race with concurrent opens in rename(2) Besides sending the rename request to the server, the rename process also involves closing any deferred close, waiting for outstanding I/O to complete as well as marking all existing open handles as deleted to prevent them from deferring closes, which increases the race window for potential concurrent opens on the target file. Fix this by unhashing the dentry in advance to prevent any concurrent opens on the target.
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:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: smb: cliente: corrección de condición de carrera con aperturas concurrentes en rename(2) Además de enviar la solicitud de renombrado al servidor, el proceso de renombrado también implica cerrar cualquier cierre diferido, esperar a que se complete la E/S pendiente, así como marcar todos los identificadores abiertos existentes como eliminados para evitar que difieran los cierres, lo que aumenta la ventana de la condición de carrera para posibles aperturas concurrentes en el archivo de destino. Esto se corrige deshasheando la dentry de antemano para evitar cualquier apertura concurrente en el destino.

Information

Published : 2025-09-16 13:16

Updated : 2026-10-19 21:10


NVD link : CVE-2025-39825

Mitre link : CVE-2025-39825

CVE.ORG link : CVE-2025-39825


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')