CVE-2020-14351 Use after free in kernel

High 7.8 Published Updated

A local attacker with perf monitoring permissions can exploit a use-after-free flaw in the Linux kernel to corrupt memory and escalate privileges.

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-14351?

CVE-2020-14351 is a high-severity use after free vulnerability in Debian Debian Linux, published on 3 Dec 2020. 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. A use-after-free memory flaw was found in the perf subsystem allowing a local attacker with permission to monitor perf events to corrupt memory and possibly escalate privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Weakness: CWE-416

Which versions are affected by CVE-2020-14351?

It affects 3 products.

Linux distribution packages (17)
kernel Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-abi-whitelists Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-debug Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-debug-debuginfo Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-debug-devel Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-debuginfo Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-devel Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-doc Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-tools Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-tools-debuginfo Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-tools-libs Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
kernel-tools-libs-devel Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
perf Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
perf-debuginfo Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
python-perf Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7
python-perf-debuginfo Red Hat:rhel_aus:7.3::serverAll versions0:3.10.0-514.86.1.el7

Products include Debian Debian Linux, Linux kernel, Redhat Enterprise Linux.

How do I fix CVE-2020-14351?

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

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-14351, GHSA-969c-xcr8-6f87, RHSA-2021:0848, UBUNTU-CVE-2020-14351.

Is CVE-2020-14351 in your software?

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

Check your SBOMs for free