CVE-2025-38724

In the Linux kernel, the following vulnerability has been resolved: nfsd: handle get_client_locked() failure in nfsd4_setclientid_confirm() Lei Lu recently reported that nfsd4_setclientid_confirm() did not check the return value from get_client_locked(). a SETCLIENTID_CONFIRM could race with a confirmed client expiring and fail to get a reference. That could later lead to a UAF. Fix this by getting a reference early in the case where there is an extant confirmed client. If that fails then treat it as if there were no confirmed client found at all. In the case where the unconfirmed client is expiring, just fail and return the result from get_client_locked().
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:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

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, la siguiente vulnerabilidad ha sido resuelta: nfsd: manejar el fallo de get_client_locked() en nfsd4_setclientid_confirm() Lei Lu informó recientemente que nfsd4_setclientid_confirm() no comprobaba el valor de retorno de get_client_locked(). Un SETCLIENTID_CONFIRM podría entrar en condición de carrera con un cliente confirmado que expira y fallar al obtener una referencia. Eso podría llevar más tarde a un UAF. Solucionar esto obteniendo una referencia temprano en el caso donde hay un cliente confirmado existente. Si eso falla, entonces tratarlo como si no se hubiera encontrado ningún cliente confirmado en absoluto. En el caso donde el cliente no confirmado está expirando, simplemente fallar y devolver el resultado de get_client_locked().

Information

Published : 2025-09-04 16:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-38724

Mitre link : CVE-2025-38724

CVE.ORG link : CVE-2025-38724


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-416

Use After Free