Kernel Memory Access Vulnerability in Linux Package - CVE-2022-50069

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
Yes i
Unrated
Not published

CVE-2022-50069: In the Linux kernel, the following vulnerability has been resolved: BPF: Fix potential bad pointer dereference in bpf_sys_bpf() The bpf_sys_bpf() helper function allows an eBPF program to load another eBPF program from w... Affects linux versions < 6.0.2-1. Fixed in 6.0.2-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to applications. It supports a wide range of functionalities, including process management, memory management, and device control. The kernel is critical for system stability and security. This vulnerability specifically affects the BPF (Berkeley Packet Filter) subsystem, which allows for the execution of user-defined programs in the kernel space, enhancing network packet filtering and monitoring capabilities.

Vulnerability Detail

CVE-2022-50069 is a vulnerability in the Linux kernel's BPF subsystem that arises from improper handling of pointers in the bpf_sys_bpf() function. This function allows an eBPF program to load another eBPF program from within the kernel. The vulnerability occurs when a bad pointer (e.g., 0xdeadbeef) is provided in the bpf_attr union, leading to a potential bad pointer dereference. This can cause a page fault and result in a kernel oops, which can compromise system stability and security. The issue stems from the lack of validity checks on in-kernel pointers, which should not occur since the eBPF program is already verified.

How To Fix

Minimum fixed version

6.0.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patch by updating the Linux package as described above.

Conclusion

CVE-2022-50069 is a significant vulnerability in the Linux kernel's BPF subsystem that can lead to severe system instability if exploited. It is essential to update to the patched version of the Linux package to protect your system from potential attacks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-50069 is a vulnerability in the Linux kernel's BPF subsystem that can lead to a bad pointer dereference, causing system instability.

If exploited, this vulnerability can cause kernel oops and page faults, potentially leading to system crashes and security risks.

Yes, a patch is available in version 6.0.2-1 of the Linux package. It is recommended to update to this version.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

While there are no specific workarounds, it is crucial to prioritize updating your package to mitigate the risk associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

6.0.2-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback