CVE-2021-4159

Summary

CVECVE-2021-4159
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-24 16:15:09 UTC
Updated2026-11-02 19:17:46 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v3.1 4.4 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

EPSS: 0.002480000 probability, percentile 0.162010000 (date 2026-11-02)

Problem Types: CWE-202 | NVD-CWE-Other | CWE-202 CWE-202 - Exposure of Sensitive Information Through Data Queries

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 10.0 All All All
Operating System Linux Linux Kernel All All All All
Operating System Redhat Enterprise Linux 8.0 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na Kernel affected Fixed in v5.7-rc1 Not specified

References

ReferenceSourceLinkTags
Red Hat Customer Portal - Access to 24x7 support and knowledge af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
CVE-2021-4159 af854a3a-2127-422b-91ae-364da2661108 security-tracker.debian.org Third Party Advisory
2036024 – (CVE-2021-4159) CVE-2021-4159 kernel: another kernel ptr leak vulnerability via BPF in coerce_reg_to_size af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking
kernel/git/torvalds/linux.git - Linux kernel source tree af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Mailing List, Patch, Vendor Advisory
[SECURITY] [DLA 3131-1] linux security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 180147 Debian Security Update for linux (CVE-2021-4159)
  • 181091 Debian Security Update for linux (DLA 3131-1)
  • 198980 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5668-1)
  • 198987 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5677-1)
  • 198990 Ubuntu Security Notification for Linux kernel (AWS) Vulnerabilities (USN-5682-1)
  • 199011 Ubuntu Security Notification for Linux kernel (Azure CVM) Vulnerabilities (USN-5706-1)
  • 199090 Ubuntu Security Notification for Linux kernel Vulnerabilities (USN-5790-1)
  • 354071 Amazon Linux Security Advisory for kernel : ALAS-2022-1636
  • 354075 Amazon Linux Security Advisory for kernel : ALAS2-2022-1852
  • 354081 Amazon Linux Security Advisory for kernel : ALAS2KERNEL-5.4-2022-036
  • 377766 Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX2-SA-2022:0049)
  • 377871 Alibaba Cloud Linux Security Update for cloud-kernel (ALINUX2-SA-2023:0001)
  • 671441 EulerOS Security Update for kernel (EulerOS-SA-2022-1366)
  • 671448 EulerOS Security Update for kernel (EulerOS-SA-2022-1450)
  • 671474 EulerOS Security Update for kernel (EulerOS-SA-2022-1429)
  • 671630 EulerOS Security Update for kernel (EulerOS-SA-2022-1647)
  • 671631 EulerOS Security Update for kernel (EulerOS-SA-2022-1661)
  • 751695 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0367-1)
  • 751697 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0366-1)
  • 751700 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:0363-1)
  • 751701 OpenSUSE Security Update for the Linux Kernel (openSUSE-SU-2022:0366-1)
  • 751702 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0371-1)
  • 751703 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0372-1)
  • 753212 SUSE Enterprise Linux Security Update for the Linux Kernel (SUSE-SU-2022:0363-1)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report