CVE-2020-8835 Linux kernel bpf verifier vulnerability

High 7.8 Published Updated

A flaw in the Linux kernel BPF verifier allows out-of-bounds memory access, enabling local attackers to execute arbitrary code or 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-8835?

CVE-2020-8835 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 2 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel 5.5.0 and newer, the bpf verifier (kernel/bpf/verifier.c) did not properly restrict the register bounds for 32-bit operations, leading to out-of-bounds reads and writes in kernel memory. The vulnerability also affects the Linux 5.4 stable series, starting with v5.4.7, as the introducing commit was backported to that branch. This vulnerability was fixed in 5.6.1, 5.5.14, and 5.4.29. (issue is aka ZDI-CAN-10780)

Weakness: CWE-787, CWE-125

Which versions are affected by CVE-2020-8835?

It affects 27 products.

Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Linux kernel, Netapp 8300 Firmware, Netapp 8700 Firmware, Netapp A220 Firmware and 21 more.

How do I fix CVE-2020-8835?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-8835 being exploited?

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

Public exploit code: 7 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-8835, GHSA-774r-wvx9-mm68, UBUNTU-CVE-2020-8835, USN-4313-1.

Is CVE-2020-8835 in your software?

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

Check your SBOMs for free