CVE-2021-46922 KEYS: trusted: Fix TPM reservation for seal/unseal

High 7.8 Published Updated

A missing TPM operation check in the Linux kernel causes an imbalance leading to system crashes on TIS-based hardware.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-46922?

CVE-2021-46922 is a high-severity vulnerability in Linux kernel, published on 27 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

KEYS: trusted: Fix TPM reservation for seal/unseal

The original patch 8c657a0590de ("KEYS: trusted: Reserve TPM for seal and unseal operations") was correct on the mailing list:

https://lore.kernel.org/linux-integrity/[email protected]/

But somehow got rebased so that the tpm_try_get_ops() in tpm2_seal_trusted() got lost. This causes an imbalanced put of the TPM ops and causes oopses on TIS based hardware.

This fix puts back the lost tpm_try_get_ops()

Which versions are affected by CVE-2021-46922?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-46922?

Apply the vendor's patch.

Is CVE-2021-46922 being exploited?

There is no known exploitation of CVE-2021-46922 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-46922, GHSA-g9mf-qvgg-vwxr, UBUNTU-CVE-2021-46922.

Is CVE-2021-46922 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free