CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NMedium (5.5) in linux linux kernel. 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:N/A:NExplain CVE-2021-45402 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-45402?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-45402?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-45402 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 | before 5.16 |
| linux:linux_kernel | 5.16:rc1 |
| linux:linux_kernel | 5.16:rc2 |
| linux:linux_kernel | 5.16:rc3 |
| linux:linux_kernel | 5.16:rc4 |
| linux:linux_kernel | 5.16:rc5 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | linux | 5.15.15-1 | DEBIAN-CVE-2021-45402 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2021-45402 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 10 more | no fix listed | UBUNTU-CVE-2021-45402 |
| Ubuntu | 20.04:LTS | linux-aws-5.13 | 5.13.0-1019.21~20.04.1 | UBUNTU-CVE-2021-45402 USN-5337-1 |
| Ubuntu | 20.04:LTS | linux-azure-5.13 | 5.13.0-1021.24~20.04.1 | UBUNTU-CVE-2021-45402 USN-5368-1 |
| Ubuntu | 20.04:LTS | linux-gcp-5.13 | 5.13.0-1021.25~20.04.1 | UBUNTU-CVE-2021-45402 USN-5337-1 |
| Ubuntu | 20.04:LTS | linux-hwe-5.13 | 5.13.0-37.42~20.04.1 | UBUNTU-CVE-2021-45402 USN-5337-1 |
| Ubuntu | 20.04:LTS | linux-oem-5.14 | 5.14.0-1022.24 | UBUNTU-CVE-2021-45402 |
| Ubuntu | 20.04:LTS | linux-oracle-5.13 | 5.13.0-1025.30~20.04.1 | UBUNTU-CVE-2021-45402 USN-5368-1 |
| Ubuntu | 20.04:LTS | linux-riscv, linux-raspi2, linux-aws-5.8 and 15 more | no fix listed | UBUNTU-CVE-2021-45402 |
| 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-150300.59.60.4 | SUSE-SU-2022:1039-1 |
| SUSE | Linux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Module for Legacy 15 SP4 and 1 more | kernel-default | 5.14.21-150400.24.11.1 | SUSE-SU-2022:2520-1 |
| SUSE | Linux Enterprise Live Patching 15 SP3 | kernel-livepatch-SLE15-SP3_Update_16 | 1-150300.7.5.3 | SUSE-SU-2022:1039-1 |
| SUSE | Linux Enterprise Live Patching 15 SP4 | kernel-livepatch-SLE15-SP4_Update_1 | 1-150400.9.5.3 | SUSE-SU-2022:2520-1 |
| SUSE | Linux Enterprise Micro 5.1 | kernel-rt | 5.3.18-150300.82.1 | SUSE-SU-2022:1038-1 |
| SUSE | Linux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3 | kernel-default-base | 5.3.18-150300.59.60.4.150300.18.37.5 | SUSE-SU-2022:1039-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP3 | kernel-64kb, kernel-source, kernel-default and 2 more | 5.3.18-150300.59.60.4 | SUSE-SU-2022:1039-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP4 | kernel-64kb, kernel-source, kernel-default and 1 more | 5.14.21-150400.24.11.1 | SUSE-SU-2022:2520-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP4 | kernel-default-base | 5.14.21-150400.24.11.1.150400.24.3.6 | SUSE-SU-2022:2520-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP3 | kernel-docs, kernel-syms, kernel-source and 2 more | 5.3.18-150300.59.60.4 | SUSE-SU-2022:1039-1 |
| SUSE | Linux Enterprise Module for Development Tools 15 SP4 | kernel-docs, kernel-syms, kernel-source and 1 more | 5.14.21-150400.24.11.1 | SUSE-SU-2022:2520-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP3 | kernel-azure, kernel-syms-azure, kernel-source-azure | 5.3.18-150300.38.53.1 | SUSE-SU-2022:1163-1 |
| 3 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.3 | dtb-aarch64, kernel-64kb, kernel-docs and 9 more | 5.3.18-150300.59.60.4 | openSUSE-SU-2022:1039-1 |
| openSUSE | Leap 15.3 | kernel-azure, kernel-syms-azure, kernel-source-azure | 5.3.18-150300.38.53.1 | SUSE-SU-2022:1163-1 |
| openSUSE | Leap 15.3 | kernel-default-base | 5.3.18-150300.59.60.4.150300.18.37.5 | openSUSE-SU-2022:1039-1 |
| openSUSE | Leap 15.4 | dtb-aarch64, kernel-64kb, kernel-docs and 8 more | 5.14.21-150400.24.11.1 | SUSE-SU-2022:2520-1 |
| openSUSE | Leap 15.4 | kernel-azure, kernel-syms-azure, kernel-source-azure | 5.14.21-150400.14.7.1 | SUSE-SU-2022:2615-1 |
| openSUSE | Leap 15.4 | kernel-default-base | 5.14.21-150400.24.11.1.150400.24.3.6 | SUSE-SU-2022:2520-1 |
| Azure Linux | 2 | kernel | 5.15.26.1-1 | AZL-8605 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Low.
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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel-alt | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 8 | kernel | Fix deferred | |
| Red Hat Enterprise Linux 8 | kernel-rt | Fix deferred | |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix deferred |
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-45402.