CVE-2020-27820 Use after free in kernel

Medium 4.7 Published Updated

A use-after-free in the Linux kernel's nouveau driver allows local attackers to potentially execute code or escalate privileges by unbinding the driver.

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-2020-27820?

CVE-2020-27820 is a medium-severity use after free vulnerability in Fedoraproject Fedora, published on 2 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability was found in Linux kernel, where a use-after-frees in nouveau's postclose() handler could happen if removing device (that is not common to remove video card physically without power-off, but same happens if "unbind" the driver).

Weakness: CWE-416

Which versions are affected by CVE-2020-27820?

It affects 5 products.

Products include Fedoraproject Fedora, Linux kernel, Oracle Communications Cloud Native Core Binding Support Function, Oracle Communications Cloud Native Core Network Exposure Function, Oracle Communications Cloud Native Core Policy.

How do I fix CVE-2020-27820?

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-2020-27820 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-27820, GHSA-gj7j-hrqm-6x5q, UBUNTU-CVE-2020-27820.

Is CVE-2020-27820 in your software?

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

Check your SBOMs for free