CVE-2025-21871

In the Linux kernel, the following vulnerability has been resolved: tee: optee: Fix supplicant wait loop OP-TEE supplicant is a user-space daemon and it's possible for it be hung or crashed or killed in the middle of processing an OP-TEE RPC call. It becomes more complicated when there is incorrect shutdown ordering of the supplicant process vs the OP-TEE client application which can eventually lead to system hang-up waiting for the closure of the client application. Allow the client process waiting in kernel for supplicant response to be killed rather than indefinitely waiting in an unkillable state. Also, a normal uninterruptible wait should not have resulted in the hung-task watchdog getting triggered, but the endless loop would. This fixes issues observed during system reboot/shutdown when supplicant got hung for some reason or gets crashed/killed which lead to client getting hung in an unkillable state. It in turn lead to system being in hung up state requiring hard power off/on to recover.
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:6.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*

History

03 Nov 2025, 20:17

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html -
  • () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html -

29 Oct 2025, 21:07

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux
Linux linux Kernel
CPE cpe:2.3:o:linux:linux_kernel:6.14:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.14:rc2:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/0180cf0373f84fff61b16f8c062553a13dd7cfca - () https://git.kernel.org/stable/c/0180cf0373f84fff61b16f8c062553a13dd7cfca - Patch
References () https://git.kernel.org/stable/c/21234efe2a8474a6d2d01ea9573319de7858ce44 - () https://git.kernel.org/stable/c/21234efe2a8474a6d2d01ea9573319de7858ce44 - Patch
References () https://git.kernel.org/stable/c/3eb4911364c764572e9db4ab900a57689a54e8ce - () https://git.kernel.org/stable/c/3eb4911364c764572e9db4ab900a57689a54e8ce - Patch
References () https://git.kernel.org/stable/c/70b0d6b0a199c5a3ee6c72f5e61681ed6f759612 - () https://git.kernel.org/stable/c/70b0d6b0a199c5a3ee6c72f5e61681ed6f759612 - Patch
References () https://git.kernel.org/stable/c/c0a9a948159153be145f9471435695373904ee6d - () https://git.kernel.org/stable/c/c0a9a948159153be145f9471435695373904ee6d - Patch
References () https://git.kernel.org/stable/c/d61cc1a435e6894bfb0dd3370c6f765d2d12825d - () https://git.kernel.org/stable/c/d61cc1a435e6894bfb0dd3370c6f765d2d12825d - Patch
References () https://git.kernel.org/stable/c/ec18520f5edc20a00c34a8c9fdd6507c355e880f - () https://git.kernel.org/stable/c/ec18520f5edc20a00c34a8c9fdd6507c355e880f - Patch
References () https://git.kernel.org/stable/c/fd9d2d6124c293e40797a080adf8a9c237efd8b8 - () https://git.kernel.org/stable/c/fd9d2d6124c293e40797a080adf8a9c237efd8b8 - Patch
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tee: optee: Fix supplicant wait loop OP-TEE supplicant es un daemon de espacio de usuario y es posible que se cuelgue, se bloquee o se elimine en medio del procesamiento de una llamada RPC OP-TEE. Se vuelve más complicado cuando hay un orden de apagado incorrecto del proceso suplicante frente a la aplicación cliente OP-TEE, lo que puede eventualmente provocar que el sistema se cuelgue esperando el cierre de la aplicación cliente. Permita que el proceso cliente que espera en el kernel la respuesta del suplicante se elimine en lugar de esperar indefinidamente en un estado imposible de eliminar. Además, una espera ininterrumpida normal no debería haber provocado que se activara el watchdog de tareas colgadas, pero el bucle infinito sí. Esto soluciona los problemas observados durante el reinicio/apagado del sistema cuando el suplicante se colgaba por alguna razón o se bloqueaba/eliminaba, lo que provocaba que el cliente se colgara en un estado imposible de eliminar. A su vez, provocaba que el sistema quedara en un estado colgado que requería un apagado/encendido forzado para recuperarse.
CWE CWE-835

27 Mar 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-27 14:15

Updated : 2025-11-03 20:17


NVD link : CVE-2025-21871

Mitre link : CVE-2025-21871

CVE.ORG link : CVE-2025-21871


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')