CVE-2026-53273 (GCVE-0-2026-53273)
Vulnerability from cvelistv5
Published
2026-06-25 08:39
Modified
2026-08-05 12:34
Summary
In the Linux kernel, the following vulnerability has been resolved: tee: optee: prevent use-after-free when the client exits before the supplicant Commit 70b0d6b0a199 ("tee: optee: Fix supplicant wait loop") made the client wait as killable so it can be interrupted during shutdown or after a supplicant crash. This changes the original lifetime expectations: the client task can now terminate while the supplicant is still processing its request. If the client exits first it removes the request from its queue and kfree()s it, while the request ID remains in supp->idr. A subsequent lookup on the supplicant path then dereferences freed memory, leading to a use-after-free. Serialise access to the request with supp->mutex: * Hold supp->mutex in optee_supp_recv() and optee_supp_send() while looking up and touching the request. * Let optee_supp_thrd_req() notice that the client has terminated and signal optee_supp_send() accordingly. With these changes the request cannot be freed while the supplicant still has a reference, eliminating the race.
Impacted products
Vendor Product Version
Linux Linux Version: 0180cf0373f84fff61b16f8c062553a13dd7cfca
Version: c0a9a948159153be145f9471435695373904ee6d
Version: ec18520f5edc20a00c34a8c9fdd6507c355e880f
Version: d61cc1a435e6894bfb0dd3370c6f765d2d12825d
Version: fd9d2d6124c293e40797a080adf8a9c237efd8b8
Version: 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612
Version: 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612
Version: 70b0d6b0a199c5a3ee6c72f5e61681ed6f759612
Version: 3eb4911364c764572e9db4ab900a57689a54e8ce
Version: 21234efe2a8474a6d2d01ea9573319de7858ce44
Version: 5.10.235   
Version: 5.15.179   
Version: 6.1.130   
Version: 6.6.80   
Version: 6.12.17   
Version: 5.4.291   
Version: 6.13.5   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/tee/optee/supp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "416259cb5bffecaaae5f76539deb535a8c1b2c34",
              "status": "affected",
              "version": "0180cf0373f84fff61b16f8c062553a13dd7cfca",
              "versionType": "git"
            },
            {
              "lessThan": "724d0caffd4204b46f78efe22f18f8338031c6e1",
              "status": "affected",
              "version": "c0a9a948159153be145f9471435695373904ee6d",
              "versionType": "git"
            },
            {
              "lessThan": "ae847ab29ded2d7cece4d5970f0edefa4137bf2f",
              "status": "affected",
              "version": "ec18520f5edc20a00c34a8c9fdd6507c355e880f",
              "versionType": "git"
            },
            {
              "lessThan": "9a0dc9279d0907b198f205a693aedf696b08145d",
              "status": "affected",
              "version": "d61cc1a435e6894bfb0dd3370c6f765d2d12825d",
              "versionType": "git"
            },
            {
              "lessThan": "d366a01475f927402c96a3fe78bfc06b924fc87d",
              "status": "affected",
              "version": "fd9d2d6124c293e40797a080adf8a9c237efd8b8",
              "versionType": "git"
            },
            {
              "lessThan": "d5b57bb314d79e99bebb58a53588fa11dd4dbf69",
              "status": "affected",
              "version": "70b0d6b0a199c5a3ee6c72f5e61681ed6f759612",
              "versionType": "git"
            },
            {
              "lessThan": "373152c94e57e9592b68c100e224fbd943cfd608",
              "status": "affected",
              "version": "70b0d6b0a199c5a3ee6c72f5e61681ed6f759612",
              "versionType": "git"
            },
            {
              "lessThan": "387a926ee166814611acecb960207fe2f3c4fd3e",
              "status": "affected",
              "version": "70b0d6b0a199c5a3ee6c72f5e61681ed6f759612",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3eb4911364c764572e9db4ab900a57689a54e8ce",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "21234efe2a8474a6d2d01ea9573319de7858ce44",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.259",
              "status": "affected",
              "version": "5.10.235",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.210",
              "status": "affected",
              "version": "5.15.179",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.176",
              "status": "affected",
              "version": "6.1.130",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.143",
              "status": "affected",
              "version": "6.6.80",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.94",
              "status": "affected",
              "version": "6.12.17",
              "versionType": "semver"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.291",
              "versionType": "semver"
            },
            {
              "lessThan": "6.14",
              "status": "affected",
              "version": "6.13.5",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/tee/optee/supp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.14"
            },
            {
              "lessThan": "6.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.94",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.36",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.259",
                  "versionStartIncluding": "5.10.235",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.210",
                  "versionStartIncluding": "5.15.179",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.176",
                  "versionStartIncluding": "6.1.130",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.143",
                  "versionStartIncluding": "6.6.80",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.94",
                  "versionStartIncluding": "6.12.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.36",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.13",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.291",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.13.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntee: optee: prevent use-after-free when the client exits before the supplicant\n\nCommit 70b0d6b0a199 (\"tee: optee: Fix supplicant wait loop\") made the\nclient wait as killable so it can be interrupted during shutdown or\nafter a supplicant crash. This changes the original lifetime expectations:\nthe client task can now terminate while the supplicant is still processing\nits request.\n\nIf the client exits first it removes the request from its queue and\nkfree()s it, while the request ID remains in supp-\u003eidr. A subsequent\nlookup on the supplicant path then dereferences freed memory, leading to\na use-after-free.\n\nSerialise access to the request with supp-\u003emutex:\n\n  * Hold supp-\u003emutex in optee_supp_recv() and optee_supp_send() while\n    looking up and touching the request.\n  * Let optee_supp_thrd_req() notice that the client has terminated and\n    signal optee_supp_send() accordingly.\n\nWith these changes the request cannot be freed while the supplicant still\nhas a reference, eliminating the race."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable path is reached through local TEE character device ioctls where a client request enters OP-TEE and is later completed by tee-supplicant via TEE_IOC_SUPPL_SEND. It is not directly reachable from network packets.\nAC:L - The attacker can create supplicant-backed OP-TEE requests and interrupt or terminate the waiting client while the supplicant is processing them. This race is attacker-triggerable and repeatable rather than dependent on rare external conditions.\nPR:L - A basic local user can reach the non-privileged TEE client ioctl path and rely on the legitimate system tee-supplicant to complete the request. The privileged supplicant device exists, but attacker control of it is not required to trigger the UAF.\nUI:N - No victim user action is needed after the attacker runs the local client and triggers the ioctl/race sequence. The supplicant daemon processes queued requests automatically.\nS:U - The memory corruption occurs in the normal-world kernel OP-TEE driver and affects the same kernel security authority. This is a standard local kernel compromise path, not a VM escape or separate security-scope bypass.\nC:H - The stale IDR entry points to a freed optee_supp_req that is later dereferenced by optee_supp_send. As a use-after-free in kernel heap memory, it can plausibly be shaped into disclosure of arbitrary kernel memory.\nI:H - The supplicant completion path writes through fields of the freed request, including the request parameter pointer and completion state. This kernel UAF can plausibly be exploited for controlled memory corruption and privilege escalation.\nA:H - Even without full exploitation, dereferencing and updating a freed kernel object can readily cause an oops, panic, or hang. The bug is repeatedly triggerable from a local client while supplicant requests are in flight."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:34:49.968Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/416259cb5bffecaaae5f76539deb535a8c1b2c34"
        },
        {
          "url": "https://git.kernel.org/stable/c/724d0caffd4204b46f78efe22f18f8338031c6e1"
        },
        {
          "url": "https://git.kernel.org/stable/c/ae847ab29ded2d7cece4d5970f0edefa4137bf2f"
        },
        {
          "url": "https://git.kernel.org/stable/c/9a0dc9279d0907b198f205a693aedf696b08145d"
        },
        {
          "url": "https://git.kernel.org/stable/c/d366a01475f927402c96a3fe78bfc06b924fc87d"
        },
        {
          "url": "https://git.kernel.org/stable/c/d5b57bb314d79e99bebb58a53588fa11dd4dbf69"
        },
        {
          "url": "https://git.kernel.org/stable/c/373152c94e57e9592b68c100e224fbd943cfd608"
        },
        {
          "url": "https://git.kernel.org/stable/c/387a926ee166814611acecb960207fe2f3c4fd3e"
        }
      ],
      "title": "tee: optee: prevent use-after-free when the client exits before the supplicant",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-53273",
    "datePublished": "2026-06-25T08:39:57.811Z",
    "dateReserved": "2026-06-09T07:44:35.395Z",
    "dateUpdated": "2026-08-05T12:34:49.968Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…