
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-50069 is a NULL pointer dereference vulnerability in the Linux kernel's BPF subsystem, specifically in the bpf_sys_bpf() helper function. It affects Linux kernel versions 5.14 through 5.15.62 and 5.16 through 5.19.3. The vulnerability was published on June 18, 2025, and patches are available. It carries a CVSS v3.1 base score of 5.5 (Medium) (Feedly).
The root cause is a missing validity check on an in-kernel pointer passed to bpf_sys_bpf(), classified as CWE-476 (NULL Pointer Dereference). The bpf_sys_bpf() helper allows an eBPF program to load another eBPF program from within the kernel; in this context, the bpf_attr union pointer and its nested fields (such as insns and license) are kernel-space addresses rather than userspace addresses. The bpfptr_t abstraction is used to distinguish kernel vs. userspace pointers and route memory copies accordingly — using memcpy() for kernel addresses and copy_from_user() for userspace addresses — but the kernel-side pointer is never validated before use. If an eBPF syscall program calls bpf_sys_bpf() with a malformed insns pointer (e.g., 0xdeadbeef), the call chain through __sys_bpf() → bpf_prog_load() → copy_from_bpfptr() will attempt a memcpy() from the invalid address, triggering a kernel crash (Feedly).
Successful exploitation results in a kernel crash, causing a denial of service (system unavailability). The attack vector is local and requires low privileges, meaning any local user with the ability to load and run eBPF syscall programs can trigger the crash. There is no confidentiality or integrity impact; the sole consequence is a high availability impact to the affected system (Feedly).
No public exploit code or in-the-wild exploitation has been reported for CVE-2022-50069. The EPSS score is approximately 0.017%, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access and the ability to execute eBPF syscall programs, which limits the practical attack surface (Feedly).
The Linux kernel maintainers have released patches addressing this vulnerability. Fixed versions include Linux kernel 5.15.63 and 5.19.4, with patches available via the stable kernel tree. Administrators should update to a patched kernel version as soon as possible. As a workaround, restricting unprivileged access to BPF syscalls (e.g., via kernel.unprivileged_bpf_disabled=1 sysctl) can reduce exposure (Kernel Patch 1, Kernel Patch 2, Kernel Patch 3).
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."