cve.bz

CVE-2021-4159

4.4 mediumEPSS 0.2%Fix available

Medium (4.4). EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
A vulnerability was found in the Linux kernel's EBPF verifier when handling internal data structures. Internal memory locations could be returned to userspace. A local attacker with the permissions to insert eBPF code to the kernel can use this to leak internal kernel memory details defeating some of the exploit mitigations in place for the kernel.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-202 Exposure of Sensitive Information Through Data Queries
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-4159 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4159?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4159?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-4159 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.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelbefore 5.7
redhat:enterprise_linux8.0
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10linux4.19.260-1DLA-3131-1
Debian12, 13, 14linux5.7.6-1DEBIAN-CVE-2021-4159
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2021-4159
Ubuntu18.04:LTSlinux4.15.0-201.212UBUNTU-CVE-2021-4159 USN-5790-1
Ubuntu18.04:LTSlinux-aws4.15.0-1147.159UBUNTU-CVE-2021-4159 USN-5790-1
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1086.93~18.04.1UBUNTU-CVE-2021-4159 USN-5682-1
Ubuntu18.04:LTSlinux-azure-4.154.15.0-1158.173UBUNTU-CVE-2021-4159 USN-5790-1
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1094.100~18.04.1UBUNTU-CVE-2021-4159
Ubuntu18.04:LTSlinux-dell300x4.15.0-1058.63UBUNTU-CVE-2021-4159 USN-5790-1
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2021-4159
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1142.158UBUNTU-CVE-2021-4159 USN-5790-1
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1092.101~18.04.1UBUNTU-CVE-2021-4159
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-128.144~18.04.1UBUNTU-CVE-2021-4159 USN-5668-1
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1034.38~18.04.1UBUNTU-CVE-2021-4159 USN-5668-1
37 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.261.1SUSE-SU-2025:01983-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_691-8.3.1SUSE-SU-2025:01983-1
SUSELinux Enterprise Module for Public Cloud 15 SP3kernel-azure, kernel-source-azure5.3.18-150300.38.40.4SUSE-SU-2022:0363-1
SUSELinux Enterprise Module for Public Cloud 15 SP3kernel-syms-azure5.3.18-150300.38.40.1SUSE-SU-2022:0363-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5kernel-syms, kernel-source, kernel-default4.12.14-122.261.1SUSE-SU-2025:01983-1
openSUSELeap 15.3kernel-azure, kernel-source-azure5.3.18-150300.38.40.4openSUSE-SU-2022:0363-1
openSUSELeap 15.3kernel-syms-azure5.3.18-150300.38.40.1openSUSE-SU-2022:0363-1

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options does not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelOut of support scope
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelWill not fix
Red Hat Enterprise Linux 7kernel-rtWill not fix
Red Hat Enterprise Linux 8kernelAffected
Red Hat Enterprise Linux 8kernel-rtAffected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected
Red Hat Enterprise MRG 2kernelUnder investigation

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-4159.

References

Check your stackJSON