BPF Program Recursion Vulnerability in Linux Kernel - CVE-2022-49764

linux Updated 02 Oct 2025

Summary

01/05/2025
N/A
No i
Unrated
Not published

CVE-2022-49764: In the Linux kernel, the following vulnerability has been resolved: bpf: Prevent bpf program recursion for raw tracepoint probes We got report from sysbot [1] about warnings that were caused by bpf program attached to co... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. This vulnerability affects the BPF (Berkeley Packet Filter) subsystem, which allows for the execution of user-defined programs in the kernel space, enhancing performance and flexibility in network packet processing. However, this feature can lead to potential recursion issues when improperly managed.

Vulnerability Detail

CVE-2022-49764 is a vulnerability in the Linux kernel's BPF subsystem that allows for recursion of BPF programs attached to raw tracepoints. This issue arises when a BPF program calls the bpf_trace_printk helper, which can trigger the same tracepoint again, leading to a potential infinite loop. The recursion can cause system instability and performance degradation, as it may lead to excessive locking and contention in the kernel, ultimately affecting system responsiveness.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. However, users can avoid attaching BPF programs to raw tracepoints until the patch is applied to mitigate the risk of encountering this issue.

Conclusion

CVE-2022-49764 is a significant vulnerability in the Linux kernel's BPF subsystem that can lead to recursion issues, affecting system stability and performance. Users are advised to update their systems to the latest patched version to mitigate this risk. Monitoring tools like Vulert can assist in identifying vulnerabilities in open-source software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-49764 is a vulnerability in the Linux kernel that allows for recursion of BPF programs, potentially leading to system instability.

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

The vulnerability can lead to performance degradation and system instability due to excessive locking and contention in the kernel.

Yes, a patch is available in version 6.0.10-1 for Debian 12 and Debian 13. Users should update their kernel to this version.

BPF stands for Berkeley Packet Filter, a technology that allows user-defined programs to run in the kernel space for efficient packet processing.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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