CVE-2021-20268 Integer overflow in kernel

High 7.8 Published Updated

A local attacker can exploit an integer overflow in the eBPF verifier to crash the system 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-2021-20268?

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

Official description

An out-of-bounds access flaw was found in the Linux kernel's implementation of the eBPF code verifier in the way a user running the eBPF script calls dev_map_init_map or sock_map_alloc. This flaw allows a local user to crash the system or possibly escalate their privileges. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

Weakness: CWE-190, CWE-20

Which versions are affected by CVE-2021-20268?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-20268?

Apply the vendor's patch.

Is CVE-2021-20268 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as A-182986620, DEBIAN-CVE-2021-20268, GHSA-wqqm-p6gj-wr83, PUB-A-182986620, UBUNTU-CVE-2021-20268.

Is CVE-2021-20268 in your software?

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

Check your SBOMs for free