« Volver al listado

CVE-2026-53273

Estado: AnalizadaAlta (7.8)—

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.

Leer descripción completaMostrar menos

Serialise access to the request with supp->mutex:

With these changes the request cannot be freed while the supplicant still has a reference, eliminating the race.

Detalles técnicos trazas, registros y código del informe original
  * 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.

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

🎯 Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Vulnerabilidad use-after-free (CWE-416) en kernel Linux con AV:L/PR:L; acceso local con privilegios permite escalada. La ejecución de código arbitrario es el impacto potencial tras liberar memoria.

Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.

🛡️ Mitigaciones ATT&CK que cubren estas técnicas

Tecnologías afectadas (1)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-53273",
  "cveTags": [],
  "metrics": {
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 7.8,
          "attackVector": "LOCAL",
          "baseSeverity": "HIGH",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "integrityImpact": "HIGH",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 5.9,
        "exploitabilityScore": 1.8
      }
    ]
  },
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "0180cf0373f84fff61b16f8c062553a13dd7cfca",
              "lessThan": "416259cb5bffecaaae5f76539deb535a8c1b2c34",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "c0a9a948159153be145f9471435695373904ee6d",
              "lessThan": "724d0caffd4204b46f78efe22f18f8338031c6e1",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ec18520f5edc20a00c34a8c9fdd6507c355e880f",
              "lessThan": "ae847ab29ded2d7cece4d5970f0edefa4137bf2f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "d61cc1a435e6894bfb0dd3370c6f765d2d12825d",
              "lessThan": "9a0dc9279d0907b198f205a693aedf696b08145d",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "fd9d2d6124c293e40797a080adf8a9c237efd8b8",
              "lessThan": "d366a01475f927402c96a3fe78bfc06b924fc87d",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "70b0d6b0a199c5a3ee6c72f5e61681ed6f759612",
              "lessThan": "d5b57bb314d79e99bebb58a53588fa11dd4dbf69",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "70b0d6b0a199c5a3ee6c72f5e61681ed6f759612",
              "lessThan": "373152c94e57e9592b68c100e224fbd943cfd608",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "70b0d6b0a199c5a3ee6c72f5e61681ed6f759612",
              "lessThan": "387a926ee166814611acecb960207fe2f3c4fd3e",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3eb4911364c764572e9db4ab900a57689a54e8ce",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "21234efe2a8474a6d2d01ea9573319de7858ce44",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "5.10.235",
              "lessThan": "5.10.259",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "5.15.179",
              "lessThan": "5.15.210",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "6.1.130",
              "lessThan": "6.1.176",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "6.6.80",
              "lessThan": "6.6.143",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "6.12.17",
              "lessThan": "6.12.94",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "5.4.291",
              "lessThan": "5.5",
              "versionType": "semver"
            },
            {
              "status": "affected",
              "version": "6.13.5",
              "lessThan": "6.14",
              "versionType": "semver"
            }
          ],
          "programFiles": [
            "drivers/tee/optee/supp.c"
          ],
          "defaultStatus": "unaffected"
        },
        {
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "product": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.14"
            },
            {
              "status": "unaffected",
              "version": "0",
              "lessThan": "6.14",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "5.10.259",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "status": "unaffected",
              "version": "5.15.210",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "status": "unaffected",
              "version": "6.1.176",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "status": "unaffected",
              "version": "6.6.143",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "status": "unaffected",
              "version": "6.12.94",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "status": "unaffected",
              "version": "6.18.36",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "status": "unaffected",
              "version": "7.0.13",
              "versionType": "semver",
              "lessThanOrEqual": "7.0.*"
            },
            {
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ],
          "programFiles": [
            "drivers/tee/optee/supp.c"
          ],
          "defaultStatus": "affected"
        }
      ]
    }
  ],
  "published": "2026-06-25T09:16:45.447",
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/373152c94e57e9592b68c100e224fbd943cfd608",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/387a926ee166814611acecb960207fe2f3c4fd3e",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/416259cb5bffecaaae5f76539deb535a8c1b2c34",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/724d0caffd4204b46f78efe22f18f8338031c6e1",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/9a0dc9279d0907b198f205a693aedf696b08145d",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/ae847ab29ded2d7cece4d5970f0edefa4137bf2f",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d366a01475f927402c96a3fe78bfc06b924fc87d",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d5b57bb314d79e99bebb58a53588fa11dd4dbf69",
      "tags": [
        "Patch"
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "CWE-416"
        }
      ]
    }
  ],
  "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->idr. 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->mutex:\n\n  * Hold supp->mutex 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."
    }
  ],
  "lastModified": "2026-07-08T04:00:54.680",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "2082E874-B9D3-4B60-9D27-1F3B8A838CD0",
              "versionEndExcluding": "5.5",
              "versionStartIncluding": "5.4.291"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "3CB82F7B-CABF-48EC-AEED-4A5799F64E5F",
              "versionEndExcluding": "5.10.259",
              "versionStartIncluding": "5.10.235"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "1AB30758-70C9-44E4-88BA-0072C600F320",
              "versionEndExcluding": "5.15.210",
              "versionStartIncluding": "5.15.179"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "3F92AF16-A081-4307-A9B5-D7CE5D8339CA",
              "versionEndExcluding": "6.1.176",
              "versionStartIncluding": "6.1.130"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "2B64BC42-DE70-4C16-9F86-89BD4D1896B5",
              "versionEndExcluding": "6.6.143",
              "versionStartIncluding": "6.6.80"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "AD0C6AD5-8A37-4C84-B002-659B13528ADF",
              "versionEndExcluding": "6.12.94",
              "versionStartIncluding": "6.12.17"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "1B251FE1-91BD-4791-95BD-385EA9CC085B",
              "versionEndExcluding": "6.14",
              "versionStartIncluding": "6.13.5"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "3F48CF32-9EE9-47F4-A2EB-57B861DFDB71",
              "versionEndExcluding": "6.18.36",
              "versionStartIncluding": "6.14.1"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "6A64BF9F-3BCA-42FD-98CB-8F03474D2B1E",
              "versionEndExcluding": "7.0.13",
              "versionStartIncluding": "6.19"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "7DE421BA-0600-4401-A175-73CAB6A6FB4E"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "D3D6550E-6679-4560-902D-AF52DCFE905B"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "45B90F6B-BEC7-4D4E-883A-9DBADE021750"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "1759FFB7-531C-41B1-9AE1-FD3D80E0D920"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "AD948719-8628-4421-A340-1066314BBD4A"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "B1EF7059-E670-45F4-B422-54C40FA86390"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "0D38F0BF-A728-4133-A358-D44A2F7EE6D6"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "EC732D08-5F7B-46D9-B154-E60C7F4F0A97"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "E5910A9D-F60A-409A-B486-FE66BFEBA9B9"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "81DFF19E-9CF8-49C6-8C36-1E4038622933"
            },
            {
              "criteria": "cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "B0E8FC71-3952-444C-83E9-718DBBBEC615"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}