{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-21871",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-21871",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-03-27T13:38:23.461Z",
    "updatedAt": "2026-05-11T21:08:08.226Z",
    "importedAt": "2026-10-24T01:57:29.455Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "tee: optee: Fix supplicant wait loop",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ntee: optee: Fix supplicant wait loop\n\nOP-TEE supplicant is a user-space daemon and it's possible for it\nbe hung or crashed or killed in the middle of processing an OP-TEE\nRPC call. It becomes more complicated when there is incorrect shutdown\nordering of the supplicant process vs the OP-TEE client application which\ncan eventually lead to system hang-up waiting for the closure of the\nclient application.\n\nAllow the client process waiting in kernel for supplicant response to\nbe killed rather than indefinitely waiting in an unkillable state. Also,\na normal uninterruptible wait should not have resulted in the hung-task\nwatchdog getting triggered, but the endless loop would.\n\nThis fixes issues observed during system reboot/shutdown when supplicant\ngot hung for some reason or gets crashed/killed which lead to client\ngetting hung in an unkillable state. It in turn lead to system being in\nhung up state requiring hard power off/on to recover.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3eb4911364c764572e9db4ab900a57689a54e8ce"
            },
            {
              "version": "4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0180cf0373f84fff61b16f8c062553a13dd7cfca"
            },
            {
              "version": "4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c0a9a948159153be145f9471435695373904ee6d"
            },
            {
              "version": "4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ec18520f5edc20a00c34a8c9fdd6507c355e880f"
            },
            {
              "version": "4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d61cc1a435e6894bfb0dd3370c6f765d2d12825d"
            },
            {
              "version": "4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fd9d2d6124c293e40797a080adf8a9c237efd8b8"
            },
            {
              "version": "4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "21234efe2a8474a6d2d01ea9573319de7858ce44"
            },
            {
              "version": "4fb0a5eb364d239722e745c02aef0dbd4e0f1ad2",
              "status": "affected",
              "versionType": "git",
              "lessThan": "70b0d6b0a199c5a3ee6c72f5e61681ed6f759612"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.12",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.12"
            },
            {
              "version": "5.4.291",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.235",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.179",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.130",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.80",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.17",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13.5",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.13.*"
            },
            {
              "version": "6.14",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}