CVE-2025-21871: tee: optee: Fix supplicant wait loop

Published Mar 27, 2025
·
Updated

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.

Affected Software

11 affected components
Linux Linux kernel
Linux Linux kernel>=4.12<5.4.291
Linux Linux kernel>=5.5<5.10.235
Linux Linux kernel>=5.11<5.15.179
Linux Linux kernel>=5.16<6.1.130
Linux Linux kernel>=6.2<6.6.80
Linux Linux kernel>=6.7<6.12.17
Linux Linux kernel>=6.13<6.13.5
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3

Event History

Mar 27, 2025
CVE Published
via MITRE·01:38 PM
Data Sourced
via MITRE·01:38 PM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-21871?

CVE-2025-21871 is categorized with a medium severity level due to its potential impact on the stability of the Linux kernel.

2

How do I fix CVE-2025-21871?

To resolve CVE-2025-21871, it is recommended to update to the latest version of the Linux kernel that includes the patch for this vulnerability.

3

What systems are affected by CVE-2025-21871?

CVE-2025-21871 affects systems running vulnerable versions of the Linux kernel that utilize the OP-TEE supplicant.

4

What vulnerabilities does CVE-2025-21871 address?

CVE-2025-21871 addresses issues related to the OP-TEE supplicant hanging or crashing during RPC calls, affecting user-space daemon stability.

5

Is CVE-2025-21871 being actively exploited?

As of the current information available, there are no reports of active exploitation of CVE-2025-21871 in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203