CVE-2021-31829 Information disclosure in n/a

Medium 5.5 Published Updated

A local attacker can exploit speculative execution flaws in the Linux kernel BPF verifier to read sensitive uninitialized stack data via side-channel attacks.

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

CVE-2021-31829 is a medium-severity vulnerability in Debian Debian Linux, published on 6 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

kernel/bpf/verifier.c in the Linux kernel through 5.12.1 performs undesirable speculative loads, leading to disclosure of stack content via side-channel attacks, aka CID-801c6058d14a. The specific concern is not protecting the BPF stack area against speculative loads. Also, the BPF stack can contain uninitialized data that might represent sensitive information previously operated on by the kernel.

Weakness: CWE-863

Which versions are affected by CVE-2021-31829?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Linux kernel.

How do I fix CVE-2021-31829?

Apply the vendor's patch.

Is CVE-2021-31829 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-6557, DEBIAN-CVE-2021-31829, GHSA-f8g9-h6rj-mq5j, UBUNTU-CVE-2021-31829.

Is CVE-2021-31829 in your software?

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

Check your SBOMs for free