# CVE-2026-89763: KEYS: trusted: Fix TPM teardown ordering

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-11T19:47:04.352Z
- **Modified:** 2026-10-30T13:20:28.847Z

## Who should check

- Anyone running Linux \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< b254cdadbcb6bdd0daf7391d63b3b97b2bec1ad9; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< c96518231608bbf9568f539aadb20a8e366b54c7; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 6564808189c9a1e682ee7b5e70f5f1c73c89c3a4; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 81dfc6c665547a4e41721b6716f894f263a5e03f; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 3d67b4acbfc7af331d887a8efc04bef6573b8a7a; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 753c978f2400f9783eb524842a975d3ac950d511; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 2f7541afbc57fe9d26769a22c31d8ce8790c9a19; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 5e2d672280d97d83de43031d93761b12dadd7b8a
- Anyone running Linux 5.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

KEYS: trusted: Fix TPM teardown ordering

trusted\_tpm\_exit() drops the TPM chip reference and frees the digest
array before unregistering the trusted key type. key\_type\_lookup()
holds key\_types\_sem for reading until the key operation finishes, while
unregister\_key\_type() takes it for writing. It therefore provides the
synchronization point that must precede backend teardown.

The current order permits this interleaving:

  CPU 0                              CPU 1
  trusted\_tpm\_exit()                 key\_type\_lookup("trusted")
    put\_device(&chip-\>dev)             trusted\_tpm\_seal()
    kfree(digests)                       pcrlock()
    unregister\_key\_type()                  tpm\_pcr\_extend(..., digests)

CPU 1 can consequently dereference the freed digest array. The chip can
also be released before callbacks stop using it.

KASAN reported:

  BUG: KASAN: slab-use-after-free in tpm\_pcr\_extend+0x1f0/0x200
  Read of size 2 at addr ffff88810872d000 by task poc/89
  Call Trace:
    tpm\_pcr\_extend+0x1f0/0x200
    pcrlock+0x42/0x70 \[trusted\]
    trusted\_tpm\_seal+0x1b6/0x570 \[trusted\]
    trusted\_instantiate+0x293/0x340 \[trusted\]
    \_\_key\_instantiate\_and\_link+0xb2/0x2b0
    \_\_key\_create\_or\_update+0x61e/0xb50
    \_\_do\_sys\_add\_key+0x1b8/0x310
  Allocated by task 88:
    \_\_kmalloc\_noprof+0x1a7/0x490
    do\_one\_initcall+0xa1/0x390
    do\_init\_module+0x2df/0x840
  Freed by task 90:
    kfree+0x131/0x3c0
    trusted\_tpm\_exit+0x59/0xa0 \[trusted\]
    \_\_do\_sys\_delete\_module+0x346/0x510

Move unregister\_key\_type() before releasing either resource. This stops
new lookups and waits for in-flight key operations to finish before the
backend state is destroyed.

## Affected and fixed versions

- Linux: \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< b254cdadbcb6bdd0daf7391d63b3b97b2bec1ad9; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< c96518231608bbf9568f539aadb20a8e366b54c7; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 6564808189c9a1e682ee7b5e70f5f1c73c89c3a4; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 81dfc6c665547a4e41721b6716f894f263a5e03f; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 3d67b4acbfc7af331d887a8efc04bef6573b8a7a; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 753c978f2400f9783eb524842a975d3ac950d511; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 2f7541afbc57fe9d26769a22c31d8ce8790c9a19; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 5e2d672280d97d83de43031d93761b12dadd7b8a (cvelist)
- Linux: 5.1 (cvelist)

## Mitigation

- Upgrade Linux to 5e2d672280d97d83de43031d93761b12dadd7b8a or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89763. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89763.md
Affected: Linux >= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, < b254cdadbcb6bdd0daf7391d63b3b97b2bec1ad9; >= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, < c96518231608bbf9568f539aadb20a8e366b54c7; >= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, < 6564808189c9a1e682ee7b5e70f5f1c73c89c3a4; >= 0b6cf6b97b7ef1fa3c7fefa…
Fixed in: Linux 6564808189c9a1e682ee7b5e70f5f1c73c89c3a4, Linux 81dfc6c665547a4e41721b6716f894f263a5e03f, Linux 3d67b4acbfc7af331d887a8efc04bef6573b8a7a, Linux 753c978f2400f9783eb524842a975d3ac950d511, Linux 2f7541afbc57fe9d26769a22c31d8ce8790c9a19, Linux 5e2d672280d97d83de43031d93761b12dadd7b8a

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.
```

## FAQ

### Is CVE-2026-89763 being exploited?

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

### How serious is CVE-2026-89763?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89763?

Linux \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< b254cdadbcb6bdd0daf7391d63b3b97b2bec1ad9; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< c96518231608bbf9568f539aadb20a8e366b54c7; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 6564808189c9a1e682ee7b5e70f5f1c73c89c3a4; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 81dfc6c665547a4e41721b6716f894f263a5e03f; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 3d67b4acbfc7af331d887a8efc04bef6573b8a7a; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 753c978f2400f9783eb524842a975d3ac950d511; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 2f7541afbc57fe9d26769a22c31d8ce8790c9a19; \>= 0b6cf6b97b7ef1fa3c7fefab0cac897a1c4a3400, \< 5e2d672280d97d83de43031d93761b12dadd7b8a; Linux 5.1.

### Is there a fix for CVE-2026-89763?

Yes. Fixed in Linux 6564808189c9a1e682ee7b5e70f5f1c73c89c3a4, Linux 81dfc6c665547a4e41721b6716f894f263a5e03f, Linux 3d67b4acbfc7af331d887a8efc04bef6573b8a7a, Linux 753c978f2400f9783eb524842a975d3ac950d511, Linux 2f7541afbc57fe9d26769a22c31d8ce8790c9a19, Linux 5e2d672280d97d83de43031d93761b12dadd7b8a. Upgrade Linux to 5e2d672280d97d83de43031d93761b12dadd7b8a or later.

### How do I check if I'm affected by CVE-2026-89763?

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.

## References

- other: <https://git.kernel.org/stable/c/b254cdadbcb6bdd0daf7391d63b3b97b2bec1ad9>
- other: <https://git.kernel.org/stable/c/c96518231608bbf9568f539aadb20a8e366b54c7>
- other: <https://git.kernel.org/stable/c/6564808189c9a1e682ee7b5e70f5f1c73c89c3a4>
- other: <https://git.kernel.org/stable/c/81dfc6c665547a4e41721b6716f894f263a5e03f>
- other: <https://git.kernel.org/stable/c/3d67b4acbfc7af331d887a8efc04bef6573b8a7a>
- other: <https://git.kernel.org/stable/c/753c978f2400f9783eb524842a975d3ac950d511>
- other: <https://git.kernel.org/stable/c/2f7541afbc57fe9d26769a22c31d8ce8790c9a19>
- other: <https://git.kernel.org/stable/c/5e2d672280d97d83de43031d93761b12dadd7b8a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89763>

HTML: <https://flawdb.com/CVE-2026-89763> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89763>
