
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-33200 affects the Linux kernel through version 5.12.7, specifically in the kernel/bpf/verifier.c component. The vulnerability was discovered by Piotr Krysiuk and disclosed on May 27, 2021. The issue stems from incorrect enforcement of limits for pointer arithmetic operations in the BPF verifier, particularly in cases where the off reg causes a masking direction change, resulting in an incorrect final aux->alu_limit (Ubuntu Security, OSS Security).
The vulnerability exists in the BPF verifier's computation of limits for pointer arithmetic operations. The bug was introduced with commit 7fedb63a8307 ("bpf: Tighten speculative pointer arithmetic mask"). The issue occurs in a corner case where the off reg causes a masking direction change, which results in an incorrect final aux->alu_limit calculation. The vulnerability has a CVSS 3.1 score of 7.8 (High), with the vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NetApp Security).
When successfully exploited, this vulnerability can allow an unprivileged local user to perform out-of-bounds reads and writes in kernel memory, potentially leading to local privilege escalation to root. The impact includes the possibility of examining and modifying critical data structures in kernel memory, and attackers can potentially hijack control flow (OSS Security).
The vulnerability can be exploited by unprivileged local users. Proof of Concept (PoC) exploits have been developed that demonstrate the ability to examine and modify critical data structures in kernel memory. One of these PoCs was shared privately to assist with fix development (OSS Security).
The issue has been fixed through a series of patches in the Linux kernel. The fix includes three commits: 3d0220f6861d (wrapping aux data inside bpf_sanitize_info container), bb01a1bba579 (fixing mask direction swap upon off reg sign change), and a7036191277f (removing need to simulate speculative domain for immediates). Various Linux distributions have released updated kernel versions to address this vulnerability (Kernel Git).
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."