
Cloud Vulnerability DB
A community-led vulnerabilities database
An out-of-bounds (OOB) memory access vulnerability (CVE-2021-4204) was discovered in the Linux kernel's eBPF due to improper input validation. The vulnerability was discovered and disclosed on January 11, 2022, affecting Linux kernel versions prior to 5.8.0. This vulnerability specifically impacts the handling of eBPF programs in the kernel, where the verifier fails to properly validate the memory size of certain ring buffer operations (Openwall List).
The vulnerability exists within the handling of eBPF programs, specifically in the bpfringbufsubmit and bpfringbufdiscard helper functions. The verifier fails to validate the memory size of arguments passed to these helper functions, leading to potential out-of-bounds memory access. The vulnerability has been assigned a CVSS v3.1 base score of 7.1 (High), with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H (NVD).
When successfully exploited, this vulnerability allows a local attacker with special privileges to either crash the system (denial of service) or leak internal kernel information. The impact is particularly significant in environments where unprivileged BPF access is enabled, though this is disabled by default in most distributions (Debian Tracker).
The primary mitigation is to ensure that kernel.unprivilegedbpfdisabled is set to 1. For affected systems, updates are available through various distribution channels. Multiple Linux distributions have released patches to address this vulnerability. For systems that cannot be immediately patched, the recommended workaround is to disable unprivileged BPF access (Ubuntu Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."