Vulnerabilities · 2021 · Linux
CVE-2021-4159
Linux Kernel vulnerability
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.
Affected products
Linux Kernel, Enterprise Linux, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=294f2fc6da27620a506e · Patch
- access.redhat.com/security/cve/CVE-2021-4159 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/10/msg00000.html · Third Party Advisory
- security-tracker.debian.org/tracker/CVE-2021-4159 · Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2036024
- nvd.nist.gov/vuln/detail/CVE-2021-4159
- cve.org/CVERecord?id=CVE-2021-4159
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.