# CVE-2026-98845: tpm: Disable TPM on null key name mismatch

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-18T15:50:27.596Z
- **Modified:** 2026-10-19T10:19:48.590Z

## Who should check

- Anyone running Linux \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< a03d0c64cd827a622578623a78defd66b6593b82; \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< 96c46c75b0d470b4204f9fe1bdb075cd2ebaebfa; \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< f6599d8830fe7ddab7334cc17846fd9ac9a7fa50; \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< 015fb29a748342a186f37b602ac70017098c8251; 294984ce51c19c2af3d0d71e1c8bd589bc86b8e2; 386c7cc6c06d64cbf36d15c5e2319814765e107c; \>= 6.11.7, \< 6.12; \>= 6.11.10, \< 6.12
- Anyone running Linux 6.12

## Description

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

tpm: Disable TPM on null key name mismatch

The null key name check exists to protect against TPM reset attacks, so
a mismatch should stop the device from serving further requests.
Currently it does not disable the chip when it finds a mismatch.

The mismatch is logged:

    tpm tpm0: null key integrity check failed

but the chip keeps serving commands:

    / \# tpm2\_getcap -c properties-fixed
    TPM\_PT\_FAMILY\_INDICATOR:
      as UINT32:                0x08322e3000
      as string:                "2.0"
    ...

tpm2\_load\_null() where the null key name check is run sets the chip as
disabled only if the rc is non zero. When the mismatch is seen, rc is
zero at that point and it returns success. The other issue is that the
caller expects the null key handle to be populated when the function
returns 0 which it does here without writing the handle and proceeds
assuming the null key handle is valid.

During the test, I noticed that tpm2\_start\_auth\_session() uses the
uninitialized stack value as the key handle since tpm2\_load\_null()
returns 0 despite the integrity failure and proceeds with
TPM2\_CC\_START\_AUTH\_SESS with this value as salt key handle.

Set rc to -ENODEV on the mismatch. The error path then disables the chip
and returns the correct code to the caller.

Tested in QEMU with swtpm and CONFIG\_TCG\_TPM2\_HMAC=y by making
TPM2\_CC\_CONTEXT\_LOAD fail with TPM2\_RC\_INTEGRITY and changing the name
of the re-created null key. The chip is now disabled on the mismatch.

## Affected and fixed versions

- Linux: \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< a03d0c64cd827a622578623a78defd66b6593b82; \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< 96c46c75b0d470b4204f9fe1bdb075cd2ebaebfa; \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< f6599d8830fe7ddab7334cc17846fd9ac9a7fa50; \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< 015fb29a748342a186f37b602ac70017098c8251; 294984ce51c19c2af3d0d71e1c8bd589bc86b8e2; 386c7cc6c06d64cbf36d15c5e2319814765e107c; \>= 6.11.7, \< 6.12; \>= 6.11.10, \< 6.12 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 6.12 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-98845. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98845.md
Affected: Linux >= cc7d8594342a25693d40fe96f97e5c6c29ee609c, < a03d0c64cd827a622578623a78defd66b6593b82; >= cc7d8594342a25693d40fe96f97e5c6c29ee609c, < 96c46c75b0d470b4204f9fe1bdb075cd2ebaebfa; >= cc7d8594342a25693d40fe96f97e5c6c29ee609c, < f6599d8830fe7ddab7334cc17846fd9ac9a7fa50; >= cc7d8594342a25693d40fe9…
Fixed in: Linux 96c46c75b0d470b4204f9fe1bdb075cd2ebaebfa, Linux 015fb29a748342a186f37b602ac70017098c8251, Linux 6.12, Linux 6.12

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-98845 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< a03d0c64cd827a622578623a78defd66b6593b82; \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< 96c46c75b0d470b4204f9fe1bdb075cd2ebaebfa; \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< f6599d8830fe7ddab7334cc17846fd9ac9a7fa50; \>= cc7d8594342a25693d40fe96f97e5c6c29ee609c, \< 015fb29a748342a186f37b602ac70017098c8251; 294984ce51c19c2af3d0d71e1c8bd589bc86b8e2; 386c7cc6c06d64cbf36d15c5e2319814765e107c; \>= 6.11.7, \< 6.12; \>= 6.11.10, \< 6.12; Linux 6.12.

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

Yes. Fixed in Linux 96c46c75b0d470b4204f9fe1bdb075cd2ebaebfa, Linux 015fb29a748342a186f37b602ac70017098c8251, Linux 6.12, Linux 6.12. Upgrade Linux to 6.12 or later.

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

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/a03d0c64cd827a622578623a78defd66b6593b82>
- other: <https://git.kernel.org/stable/c/96c46c75b0d470b4204f9fe1bdb075cd2ebaebfa>
- other: <https://git.kernel.org/stable/c/f6599d8830fe7ddab7334cc17846fd9ac9a7fa50>
- other: <https://git.kernel.org/stable/c/015fb29a748342a186f37b602ac70017098c8251>

## 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-98845>

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