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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2022-01-2516:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.x | ≥ 5.11, < 5.13.14 | 5.13.14 | NVD |
| 5.x | ≥ 5.8, < 5.10.62 | 5.10.62 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
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 KernelAffected
- = 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
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
Red Hat Security Advisory: kernel security and bug fix update
Fix
- Update Linux linux kernel to 5.13.14 · 5.10.62
- 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.
- 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 …
- No fix available, says the vendor Red Hat Product Security CVE-2021-34866 · 48 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2021-34866 · 28 productsOut of support scope
- 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
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- 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
- EUVD-2021-21513same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-mrjq-f7fw-fmg2same flawGitHub Advisory Database · CC-BY-4.0
- PUB-A-217307370same flawAndroid Security Bulletins · CC-BY-4.0
- openSUSE-SU-2021:3641-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2021:3675-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2024:0724advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2021:3641-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3642-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3675-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3718-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3738-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2021:3742-1advisory covering several CVEsSUSE · LicenseRef-unstated
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?
Is CVE-2021-34866 actively exploited?
What is the CVSS score for CVE-2021-34866?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-mrjq-f7fw-fmg2
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0