Skip to main content
No exploitation reportedFix available

CVE-2021-34866

No exploitation reported by the sources we read.

  • Published2022-01-25
  • Fixed in5.13.14 · 5.10.62
  • WeaknessCWE-843

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2022-01-2516:15CVE publishedNVD

Versions per branch

NVD
Linux linux kernel
BranchAffectedFixed in
5.x≥ 5.11, < 5.13.145.13.14
5.x≥ 5.8, < 5.10.625.10.62
Netapp h300e firmwareversion to verify
BranchAffectedFixed in
—all versionsno fix published
Netapp h300s firmwareversion to verify
BranchAffectedFixed in
—all versionsno fix published

6 more products in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As zdi, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linux Kernel
    Affected
    • = 5.14-rc3no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-02-17

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • :linux_kernel:Androidfrom :0 · fixed in :2022-04-05
  • dtb-aarch64openSUSE:Leap 15.3all versions · fixed in 5.3.18-59.34.1and 11 other packages
  • kernelTuxCare:CentOS:8.5all versions · fixed in 4.18.0-348.7.1.el8_5.tuxcare.els42and 21 other packages
  • kernelTuxCare:CentOS:8.4all versions · fixed in 4.18.0-305.25.1.el8_4.tuxcare.els42and 21 other packages
  • kernelRed Hat:rhel_eus:8.6::baseosall versions · fixed in 0:4.18.0-372.91.1.el8_6and 32 other packages
  • kernel-64kbSUSE:Linux Enterprise Module for Basesystem 15 SP3all versions · fixed in 5.3.18-59.34.1and 4 other packages
  • kernel-azureSUSE:Linux Enterprise Module for Public Cloud 15 SP3all versions · fixed in 5.3.18-38.28.2and 1 other package
  • kernel-azureopenSUSE:Leap 15.3all versions · fixed in 5.3.18-38.28.2and 1 other package

34 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-34866 Red Hat Product Security129 products fixed · 183 known affected

    kernel: eBPF verification flaw

    bpftool as a component of Red Hat Enterprise Linux 7 · kernel as a component of Red Hat Enterprise Linux 7 · kernel-abi-whitelists as a component of Red Hat Enterprise Linux 7 · +180 more

  • RHSA-2024:0724 Red Hat Product Security129 products fixed

    Red Hat Security Advisory: kernel security and bug fix update

Full record on NVD

Fix

  1. Update Linux linux kernel to 5.13.14 · 5.10.62
  2. Vendor fix Red Hat Product Security RHSA-2024:0724 · 129 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The system must be rebooted for this update to take effect.
  3. Workaround from the vendor Red Hat Product Security RHSA-2024:0724 · 129 productsThe default Red Hat Enterprise Linux kernel prevents unprivileged users from being able to use eBPF by the kernel.unprivileged_bpf_disabled sysctl. This would require a privileged user with CAP_SYS_ADMIN or root to be able to abuse this flaw reducing its attack space. For the Red Hat Enterprise …
  4. No fix available, says the vendor Red Hat Product Security CVE-2021-34866 · 48 productsAffected
  5. No fix planned, says the vendor Red Hat Product Security CVE-2021-34866 · 28 productsOut of support scope
  6. No fix planned, says the vendor Red Hat Product Security CVE-2021-34866 · 107 productsWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-10-08
  • NVDCVSS 3.17.8read 2026-10-23
  • CNACVSS 3.08.8known since 2026-10-23
  • NVDCVSS 2.07.2read 2026-10-23
  • CNAweakness (CWE)CWE-843known since 2026-10-23
  • NVDweakness (CWE)CWE-843read 2026-10-23
  • FIRST EPSSEPSS score1.0 %2026-11-18
  • OSVaffected packages—
  • GitHub Advisoriesadvisory—

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2022-01-25
Last Modified
2026-10-08
NVD status
Modified
GitHub Advisory
GHSA-mrjq-f7fw-fmg2

Frequently asked questions

What is CVE-2021-34866?

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.

Is CVE-2021-34866 actively exploited?

Active exploitation of CVE-2021-34866 has not been confirmed. Its EPSS score was 1.0% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-34866?

CVE-2021-34866 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record