cve.bz

CVE-2021-45402 linux linux kernel: Exposure of Resource to Wrong Sphere

5.5 mediumExploit referenceEPSS 0.4%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
The check_alu_op() function in kernel/bpf/verifier.c in the Linux kernel through v5.16-rc5 did not properly update bounds while handling the mov32 instruction, which allows local users to obtain potentially sensitive address information, aka a "pointer leak."

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 36th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-668 Exposure of Resource to Wrong Sphere
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain 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.

Badge for a README or a site

CVE-2021-45402

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-45402](https://cve.bz/cve/badge/CVE-2021-45402.svg)](https://cve.bz/cve/CVE-2021-45402)

HTML:

<a href="https://cve.bz/cve/CVE-2021-45402"><img src="https://cve.bz/cve/badge/CVE-2021-45402.svg" alt="CVE-2021-45402"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.16
linux:linux_kernel5.16:rc1
linux:linux_kernel5.16:rc2
linux:linux_kernel5.16:rc3
linux:linux_kernel5.16:rc4
linux:linux_kernel5.16:rc5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.15.15-1DEBIAN-CVE-2021-45402
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-45402
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 10 moreno fix listedUBUNTU-CVE-2021-45402
Ubuntu20.04:LTSlinux-aws-5.135.13.0-1019.21~20.04.1UBUNTU-CVE-2021-45402 USN-5337-1
Ubuntu20.04:LTSlinux-azure-5.135.13.0-1021.24~20.04.1UBUNTU-CVE-2021-45402 USN-5368-1
Ubuntu20.04:LTSlinux-gcp-5.135.13.0-1021.25~20.04.1UBUNTU-CVE-2021-45402 USN-5337-1
Ubuntu20.04:LTSlinux-hwe-5.135.13.0-37.42~20.04.1UBUNTU-CVE-2021-45402 USN-5337-1
Ubuntu20.04:LTSlinux-oem-5.145.14.0-1022.24UBUNTU-CVE-2021-45402
Ubuntu20.04:LTSlinux-oracle-5.135.13.0-1025.30~20.04.1UBUNTU-CVE-2021-45402 USN-5368-1
Ubuntu20.04:LTSlinux-riscv, linux-raspi2, linux-aws-5.8 and 15 moreno fix listedUBUNTU-CVE-2021-45402
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 1 morekernel-default5.3.18-150300.59.60.4SUSE-SU-2022:1039-1
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Module for Legacy 15 SP4 and 1 morekernel-default5.14.21-150400.24.11.1SUSE-SU-2022:2520-1
SUSELinux Enterprise Live Patching 15 SP3kernel-livepatch-SLE15-SP3_Update_161-150300.7.5.3SUSE-SU-2022:1039-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_11-150400.9.5.3SUSE-SU-2022:2520-1
SUSELinux Enterprise Micro 5.1kernel-rt5.3.18-150300.82.1SUSE-SU-2022:1038-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3kernel-default-base5.3.18-150300.59.60.4.150300.18.37.5SUSE-SU-2022:1039-1
SUSELinux Enterprise Module for Basesystem 15 SP3kernel-64kb, kernel-source, kernel-default and 2 more5.3.18-150300.59.60.4SUSE-SU-2022:1039-1
SUSELinux Enterprise Module for Basesystem 15 SP4kernel-64kb, kernel-source, kernel-default and 1 more5.14.21-150400.24.11.1SUSE-SU-2022:2520-1
SUSELinux Enterprise Module for Basesystem 15 SP4kernel-default-base5.14.21-150400.24.11.1.150400.24.3.6SUSE-SU-2022:2520-1
SUSELinux Enterprise Module for Development Tools 15 SP3kernel-docs, kernel-syms, kernel-source and 2 more5.3.18-150300.59.60.4SUSE-SU-2022:1039-1
SUSELinux Enterprise Module for Development Tools 15 SP4kernel-docs, kernel-syms, kernel-source and 1 more5.14.21-150400.24.11.1SUSE-SU-2022:2520-1
SUSELinux Enterprise Module for Public Cloud 15 SP3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.53.1SUSE-SU-2022:1163-1
3 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-64kb, kernel-docs and 9 more5.3.18-150300.59.60.4openSUSE-SU-2022:1039-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.53.1SUSE-SU-2022:1163-1
openSUSELeap 15.3kernel-default-base5.3.18-150300.59.60.4.150300.18.37.5openSUSE-SU-2022:1039-1
openSUSELeap 15.4dtb-aarch64, kernel-64kb, kernel-docs and 8 more5.14.21-150400.24.11.1SUSE-SU-2022:2520-1
openSUSELeap 15.4kernel-azure, kernel-syms-azure, kernel-source-azure5.14.21-150400.14.7.1SUSE-SU-2022:2615-1
openSUSELeap 15.4kernel-default-base5.14.21-150400.24.11.1.150400.24.3.6SUSE-SU-2022:2520-1
Azure Linux2kernel5.15.26.1-1AZL-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

Red Hat rates this Low.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelFix deferred
Red Hat Enterprise Linux 8kernel-rtFix deferred
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix 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.

References

Check your stackJSON