CVE & CISA-KEV Catalog

CVE-2021-34866

HIGH
7.8
CVSS v3
NVD

Description

This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel 5.14-rc3. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the handling of eBPF programs. The issue results from the lack of proper validation of user-supplied eBPF programs, which can result in a type confusion condition. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the kernel. Was ZDI-CAN-14689.

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.70-1CVE-2021-34866
Fixed in:5.14.6-1CVE-2021-34866
Fixed in:5.14.6-1CVE-2021-34866
Fixed in:5.14.6-1CVE-2021-34866
bpftoolRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
bpftoolRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
bpftool-debuginfoRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
bpftool-debuginfoRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernelRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernelRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-abi-stablelistsRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-abi-stablelistsRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-coreRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-coreRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debugRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debugRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debug-coreRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debug-coreRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debug-debuginfoRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debug-debuginfoRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debug-develRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debug-develRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debug-modulesRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debug-modulesRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debug-modules-extraRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debug-modules-extraRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debuginfoRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debuginfoRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debuginfo-common-aarch64Rocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debuginfo-common-aarch64Red Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debuginfo-common-ppc64leRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debuginfo-common-ppc64leRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debuginfo-common-s390xRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debuginfo-common-s390xRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debuginfo-common-x86_64Rocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-debuginfo-common-x86_64Red Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-develRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-develRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-docRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-docRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-modulesRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-modulesRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-modules-extraRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-modules-extraRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-toolsRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-toolsRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-tools-debuginfoRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-tools-debuginfoRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-tools-libsRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-tools-libsRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-tools-libs-develRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-tools-libs-develRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdumpRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdumpRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdump-coreRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdump-coreRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdump-debuginfoRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdump-debuginfoRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdump-develRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdump-develRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdump-modulesRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdump-modulesRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdump-modules-extraRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
kernel-zfcpdump-modules-extraRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
perfRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
perfRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
perf-debuginfoRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
perf-debuginfoRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
python3-perfRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
python3-perfRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
python3-perf-debuginfoRed Hat / RHEL
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
python3-perf-debuginfoRocky
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724
Fixed in:0:4.18.0-372.91.1.el8_6RHSA-2024:0724

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.97%probability of exploitation in 30 days
58thpercentile

Moderate risk: more likely to be exploited than 58% of all known CVEs.

References

Related Vulnerabilities

Other CWE-843 (Type Confusion) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2011-0611High8.899%KEVFix
CVE-2012-0507Critical9.898%KEV + Ransom-
CVE-2017-8291High7.897%KEVFix
CVE-2019-0752High7.582%KEV + Ransom-
CVE-2017-0037High8.180%KEV-
CVE-2016-7201High8.880%KEV-
Embed a live status badge for CVE-2021-34866
CVE-2021-34866 severity badge

Markdown

[![CVE-2021-34866](https://tridentstack.com/cve/badge/CVE-2021-34866.svg)](https://tridentstack.com/cve/CVE-2021-34866)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-34866"><img src="https://tridentstack.com/cve/badge/CVE-2021-34866.svg" alt="CVE-2021-34866"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.