Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-21871

MEDIUM 5.5EPSS 15%

tee: optee: Fix supplicant wait loop

Mitigation

  • Upgrade Linux to 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612 or later.

Who should check

  • Anyone running Linux >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 3eb4911364c764572e9db4ab900a57689a54e8ce; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 0180cf0373f84fff61b16f8c062553a13dd7cfca; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < c0a9a948159153be145f9471435695373904ee6d; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < ec18520f5edc20a00c34a8c9fdd6507c355e880f; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < d61cc1a435e6894bfb0dd3370c6f765d2d12825d; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < fd9d2d6124c293e40797a080adf8a9c237efd8b8; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 21234efe2a8474a6d2d01ea9573319de7858ce44; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612
  • Anyone running Linux 4.12

Vulnerability facts

Affected
Linux >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 3eb4911364c764572e9db4ab900a57689a54e8ce; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 0180cf0373f84fff61b16f8c062553a13dd7cfca; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < c0a9a948159153be145f9471435695373904ee6d; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < ec18520f5edc20a00c34a8c9fdd6507c355e880f; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < d61cc1a435e6894bfb0dd3370c6f765d2d12825d; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < fd9d2d6124c293e40797a080adf8a9c237efd8b8; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 21234efe2a8474a6d2d01ea9573319de7858ce44; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612; Linux 4.12
Fixed in
Linux 3eb4911364c764572e9db4ab900a57689a54e8ce, Linux 0180cf0373f84fff61b16f8c062553a13dd7cfca, Linux 21234efe2a8474a6d2d01ea9573319de7858ce44, Linux 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
CWE
CWE-835
Published
Modified

Description

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 3eb4911364c764572e9db4ab900a57689a54e8ce; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 0180cf0373f84fff61b16f8c062553a13dd7cfca; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < c0a9a948159153be145f9471435695373904ee6d; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < ec18520f5edc20a00c34a8c9fdd6507c355e880f; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < d61cc1a435e6894bfb0dd3370c6f765d2d12825d; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < fd9d2d6124c293e40797a080adf8a9c237efd8b8; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 21234efe2a8474a6d2d01ea9573319de7858ce44; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612—cvelist
Linux4.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-21871. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21871.md
Affected: Linux >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 3eb4911364c764572e9db4ab900a57689a54e8ce; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 0180cf0373f84fff61b16f8c062553a13dd7cfca; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < c0a9a948159153be145f9471435695373904ee6d; >= 4fb0a5eb364d239722e745c…
Fixed in: Linux 3eb4911364c764572e9db4ab900a57689a54e8ce, Linux 0180cf0373f84fff61b16f8c062553a13dd7cfca, Linux 21234efe2a8474a6d2d01ea9573319de7858ce44, Linux 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-21871 being exploited?

There is no confirmed exploitation: CVE-2025-21871 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-21871?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-21871?

Linux >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 3eb4911364c764572e9db4ab900a57689a54e8ce; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 0180cf0373f84fff61b16f8c062553a13dd7cfca; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < c0a9a948159153be145f9471435695373904ee6d; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < ec18520f5edc20a00c34a8c9fdd6507c355e880f; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < d61cc1a435e6894bfb0dd3370c6f765d2d12825d; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < fd9d2d6124c293e40797a080adf8a9c237efd8b8; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 21234efe2a8474a6d2d01ea9573319de7858ce44; >= 4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2, < 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612; Linux 4.12.

Is there a fix for CVE-2025-21871?

Yes. Fixed in Linux 3eb4911364c764572e9db4ab900a57689a54e8ce, Linux 0180cf0373f84fff61b16f8c062553a13dd7cfca, Linux 21234efe2a8474a6d2d01ea9573319de7858ce44, Linux 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612. Upgrade Linux to 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612 or later.

How do I check if I'm affected by CVE-2025-21871?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors