CVE-2021-29154 Code injection in n/a

High 7.8 Published Updated

Incorrect BPF JIT branch displacement calculations allow arbitrary code execution in kernel context, enabling privilege escalation.

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

CVE-2021-29154 is a high-severity code injection vulnerability in Debian Debian Linux, published on 8 Apr 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

BPF JIT compilers in the Linux kernel through 5.11.12 have incorrect computation of branch displacements, allowing them to execute arbitrary code within the kernel context. This affects arch/x86/net/bpf_jit_comp.c and arch/x86/net/bpf_jit_comp32.c.

Weakness: CWE-77

Which versions are affected by CVE-2021-29154?

It affects 13 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel, Netapp Cloud Backup, Netapp H300e Firmware, Netapp H300s Firmware and 7 more.

How do I fix CVE-2021-29154?

Apply the vendor's patch.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-29154 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as A-185462528, AZL-6544, DEBIAN-CVE-2021-29154, GHSA-q7mp-r58x-5fjf, PUB-A-185462528, UBUNTU-CVE-2021-29154.

Is CVE-2021-29154 in your software?

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

Check your SBOMs for free