{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-89763","id":"CVE-2026-89763","title":"KEYS: trusted: Fix TPM teardown ordering","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: trusted: Fix TPM teardown ordering\n\ntrusted_tpm_exit() drops the TPM chip reference and frees the digest\narray before unregistering the trusted key type. key_type_lookup()\nholds key_types_sem for reading until the key operation finishes, while\nunregister_key_type() takes it for writing. It therefore provides the\nsynchroniza","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: trusted: Fix TPM teardown ordering\n\ntrusted_tpm_exit() drops the TPM chip reference and frees the digest\narray before unregistering the trusted key type. key_type_lookup()\nholds key_types_sem for reading until the key operation finishes, while\nunregister_key_type() takes it for writing. It therefore provides the\nsynchronization point that must precede backend teardown.\n\nThe current order permits this interleaving:\n\n  CPU 0                              CPU 1\n  trusted_tpm_exit()                 key_type_lookup(\"trusted\")\n    put_device(&chip->dev)             trusted_tpm_seal()\n    kfree(digests)                       pcrlock()\n    unregister_key_type()                  tpm_pcr_extend(..., digests)\n\nCPU 1 can consequently dereference the freed digest array. The chip can\nalso be released before callbacks stop using it.\n\nKASAN reported:\n\n  BUG: KASAN: slab-use-after-free in tpm_pcr_extend+0x1f0/0x200\n  Read of size 2 at addr ffff88810872d000 by task poc/89\n  Call Trace:\n    tpm_pcr_extend+0x1f0/0x200\n    pcrlock+0x42/0x70 [trusted]\n    trusted_tpm_seal+0x1b6/0x570 [trusted]\n    trusted_instantiate+0x293/0x340 [trusted]\n    __key_instantiate_and_link+0xb2/0x2b0\n    __key_create_or_update+0x61e/0xb50\n    __do_sys_add_key+0x1b8/0x310\n  Allocated by task 88:\n    __kmalloc_noprof+0x1a7/0x490\n    do_one_initcall+0xa1/0x390\n    do_init_module+0x2df/0x840\n  Freed by task 90:\n    kfree+0x131/0x3c0\n    trusted_tpm_exit+0x59/0xa0 [trusted]\n    __do_sys_delete_module+0x346/0x510\n\nMove unregister_key_type() before releasing either resource. This stops\nnew lookups and waits for in-flight key operations to finish before the\nbackend state is destroyed.","published":"2026-09-11T19:47:04.352Z","updated":"2026-11-01T02:30:26.697250188Z","reserved":"2026-09-11T19:38:34.764Z","status":"Received","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400","lessThan":"b254cdadbcb6bdd0daf7391d63b3b97b2bec1ad9","status":"affected","versionType":"git"},{"version":"0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400","lessThan":"c96518231608bbf9568f539aadb20a8e366b54c7","status":"affected","versionType":"git"},{"version":"0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400","lessThan":"6564808189c9a1e682ee7b5e70f5f1c73c89c3a4","status":"affected","versionType":"git"},{"version":"0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400","lessThan":"81dfc6c665547a4e41721b6716f894f263a5e03f","status":"affected","versionType":"git"},{"version":"0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400","lessThan":"3d67b4acbfc7af331d887a8efc04bef6573b8a7a","status":"affected","versionType":"git"},{"version":"0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400","lessThan":"753c978f2400f9783eb524842a975d3ac950d511","status":"affected","versionType":"git"},{"version":"0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400","lessThan":"2f7541afbc57fe9d26769a22c31d8ce8790c9a19","status":"affected","versionType":"git"},{"version":"0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400","lessThan":"5e2d672280d97d83de43031d93761b12dadd7b8a","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.1","status":"affected"},{"version":"0","lessThan":"5.1","status":"unaffected","versionType":"semver"},{"version":"5.10.273","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.224","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.111","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.50","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.4","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b254cdadbcb6bdd0daf7391d63b3b97b2bec1ad9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c96518231608bbf9568f539aadb20a8e366b54c7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6564808189c9a1e682ee7b5e70f5f1c73c89c3a4","tags":["web"]},{"url":"https://git.kernel.org/stable/c/81dfc6c665547a4e41721b6716f894f263a5e03f","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3d67b4acbfc7af331d887a8efc04bef6573b8a7a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/753c978f2400f9783eb524842a975d3ac950d511","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2f7541afbc57fe9d26769a22c31d8ce8790c9a19","tags":["web"]},{"url":"https://git.kernel.org/stable/c/5e2d672280d97d83de43031d93761b12dadd7b8a","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89763.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89763","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0012,"epssPercentile":0.0187,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-89763","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89763","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-89763","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-89763","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}