CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2021-41864 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41864?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41864?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-41864 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| linux:linux_kernel | from 4.6 before 4.9.287 |
| linux:linux_kernel | from 4.10 before 4.14.251 |
| linux:linux_kernel | from 4.15 before 4.19.211 |
| linux:linux_kernel | from 4.20 before 5.4.153 |
| linux:linux_kernel | from 5.5 before 5.10.73 |
| linux:linux_kernel | from 5.11 before 5.14.12 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | linux | 4.9.290-1 | DLA-2843-1 |
| Debian | 9 | linux-4.19 | 4.19.232-1~deb9u1 | DLA-2941-1 |
| Debian | 10 | linux | 4.19.232-1 | DSA-5096-1 |
| Debian | 12, 13, 14 | linux | 5.14.12-1 | DEBIAN-CVE-2021-41864 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2021-41864 |
| Ubuntu | 18.04:LTS | linux | 4.15.0-166.174 | UBUNTU-CVE-2021-41864 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-aws | 4.15.0-1118.125 | UBUNTU-CVE-2021-41864 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-aws-5.4 | 5.4.0-1061.64~18.04.1 | UBUNTU-CVE-2021-41864 USN-5210-1 |
| Ubuntu | 18.04:LTS | linux-azure-4.15 | 4.15.0-1129.142 | UBUNTU-CVE-2021-41864 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-azure-5.4 | 5.4.0-1065.68~18.04.1 | UBUNTU-CVE-2021-41864 USN-5210-1 |
| Ubuntu | 18.04:LTS | linux-dell300x | 4.15.0-1033.38 | UBUNTU-CVE-2021-41864 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 11 more | no fix listed | UBUNTU-CVE-2021-41864 |
| Ubuntu | 18.04:LTS | linux-gcp-4.15 | 4.15.0-1114.128 | UBUNTU-CVE-2021-41864 USN-5209-1 |
| Ubuntu | 18.04:LTS | linux-gcp-5.4, linux-oracle-5.4 | 5.4.0-1059.63~18.04.1 | UBUNTU-CVE-2021-41864 USN-5210-1 |
| Ubuntu | 18.04:LTS | linux-gke-5.4 | 5.4.0-1057.60~18.04.1 | UBUNTU-CVE-2021-41864 USN-5210-1 |
| Ubuntu | 18.04:LTS | linux-gkeop-5.4 | 5.4.0-1029.30~18.04.2 | UBUNTU-CVE-2021-41864 USN-5210-1 |
| 42 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:8::baseos | perf, kernel, bpftool and 30 more | 0:4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat | enterprise_linux:8::crb | perf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more | 0:4.18.0-372.9.1.el8 | RHSA-2022:1988 |
| Red Hat | enterprise_linux:8::nfv | kernel-rt, kernel-rt-kvm, kernel-rt-core and 12 more | 0:4.18.0-372.9.1.rt7.166.el8 | RHSA-2022:1975 |
| Red Hat | enterprise_linux:8::realtime | kernel-rt, kernel-rt-core, kernel-rt-debug and 10 more | 0:4.18.0-372.9.1.rt7.166.el8 | RHSA-2022:1975 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 more | kernel-obs-build | 4.12.14-197.102.1 | SUSE-SU-2021:3876-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 2 more | kernel-docs, kernel-syms, kernel-source and 1 more | 4.12.14-197.102.2 | SUSE-SU-2021:3876-1 |
| SUSE | Linux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4 | kernel-default | 4.12.14-95.83.2 | SUSE-SU-2021:3972-1 |
| SUSE | Linux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5 | kernel-default | 4.12.14-122.98.1 | SUSE-SU-2021:3748-1 |
| SUSE | Linux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15 | kernel-default | 4.12.14-150.78.1 | SUSE-SU-2021:3969-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1 | kernel-default | 4.12.14-197.102.2 | SUSE-SU-2021:3876-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Micro 5.0 and 1 more | kernel-default | 5.3.18-24.93.1 | SUSE-SU-2021:3754-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 more | kernel-default | 5.3.18-59.34.1 | SUSE-SU-2021:3675-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 more | kernel-docs, kernel-obs-build | 4.12.14-150.78.2 | SUSE-SU-2021:3969-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15 | kernel-syms, kernel-source, kernel-default and 1 more | 4.12.14-150.78.1 | SUSE-SU-2021:3969-1 |
| SUSE | Linux Enterprise Live Patching 12 SP4 | kgraft-patch-SLE12-SP4_Update_17 | 13-2.2 | SUSE-SU-2021:3684-1 |
| SUSE | Linux Enterprise Live Patching 12 SP4 | kgraft-patch-SLE12-SP4_Update_18 | 12-2.2 | SUSE-SU-2021:3684-1 |
| 73 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.2 | kernel-default-base | 5.3.18-lp152.102.1.lp152.8.49.1 | openSUSE-SU-2021:1477-1 |
| openSUSE | Leap 15.2 | kernel-docs, kernel-syms, kernel-debug and 6 more | 5.3.18-lp152.102.1 | openSUSE-SU-2021:1477-1 |
| openSUSE | Leap 15.3 | dtb-aarch64, kernel-64kb, kernel-docs and 9 more | 5.3.18-59.34.1 | openSUSE-SU-2021:3675-1 |
| openSUSE | Leap 15.3 | kernel-azure, kernel-source-azure | 5.3.18-38.28.2 | openSUSE-SU-2021:3641-1 |
| openSUSE | Leap 15.3 | kernel-debug, kernel-default, kernel-vanilla and 2 more | 4.12.14-197.102.2 | openSUSE-SU-2021:3876-1 |
| openSUSE | Leap 15.3 | kernel-default-base | 5.3.18-59.34.1.18.21.1 | openSUSE-SU-2021:3675-1 |
| openSUSE | Leap 15.3 | kernel-syms-azure | 5.3.18-38.28.1 | openSUSE-SU-2021:3641-1 |
| AlmaLinux | 8 | perf, kernel, bpftool and 17 more | 4.18.0-372.9.1.el8 | ALSA-2022:1988 |
| Rocky Linux | 8 | kernel | 0:4.18.0-372.9.1.el8 | RLSA-2022:1988 |
| Rocky Linux | 8 | kernel-rt | 0:4.18.0-372.9.1.rt7.166.el8 | RLSA-2022:1975 |
| Azure Linux | 2 | kernel | 5.10.78.1-1 | AZL-6597 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
The 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 Linux 7 the eBPF for unprivileged users is always disabled.
For the Red Hat Enterprise Linux 8 to confirm the current state, inspect the sysctl with the command:
~~~
# cat /proc/sys/kernel/unprivileged_bpf_disabled
~~~
The setting of 1 would mean that unprivileged users can not use eBPF, mitigating the flaw.
A kernel update will be required to mitigate the flaw for the root or users with CAP_SYS_ADMIN capabilities.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-372.9.1.rt7.166.el8 | Fixed 2022-05-10 | RHSA-2022:1975 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-372.9.1.el8 | Fixed 2022-05-10 | RHSA-2022:1988 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | |
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Out of support scope | |
| Red Hat Enterprise Linux 7 | kernel-rt | Out of support scope | |
| Red Hat Enterprise Linux 9 | kernel | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-41864.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.