CVE-2022-50069
BaseFortify
Publication date: 2025-06-18
Last updated on: 2025-11-17
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's bpf_sys_bpf() function, which allows an eBPF program to load another eBPF program from within the kernel. The issue arises because the function accepts a pointer that can be either a userspace or kernel address, but it does not properly validate kernel pointers. If a bad kernel pointer (e.g., 0xdeadbeef) is provided, the kernel attempts to dereference it without checking validity, leading to a kernel crash (oops) due to an un-handleable page fault. This happens despite the eBPF program being verified, which should normally prevent such memory errors.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash or become unstable when an eBPF program attempts to load another program using a bad kernel pointer. This can lead to denial of service (DoS) conditions, where the system becomes unresponsive or requires a reboot, potentially impacting availability and reliability of services running on the affected system.