CVE-2022-2977 Use after free in Linux kernel

High 7.8 Published Updated

A local attacker can exploit a use-after-free in virtualized TPM devices to escalate privileges on systems with this non-default configuration.

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-2022-2977?

CVE-2022-2977 is a high-severity use after free vulnerability in Linux kernel, published on 14 Sep 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A flaw was found in the Linux kernel implementation of proxied virtualized TPM devices. On a system where virtualized TPM devices are configured (this is not the default) a local attacker can create a use-after-free and create a situation where it may be possible to escalate privileges on the system.

Weakness: CWE-416

Which versions are affected by CVE-2022-2977?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-2977?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-2977 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-10967, DEBIAN-CVE-2022-2977, GHSA-c5mq-2wv7-w9f4, UBUNTU-CVE-2022-2977.

Is CVE-2022-2977 in your software?

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

Check your SBOMs for free