Data Race Vulnerability in Linux Kernel: bpf_jit_limit Issue

linux Updated 02 Oct 2025

Summary

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

CVE-2022-49967: In the Linux kernel, the following vulnerability has been resolved: bpf: Fix a data-race around bpf_jit_limit. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is known for its robustness and flexibility, supporting a wide range of hardware architectures. The kernel includes a feature called BPF (Berkeley Packet Filter), which allows for efficient packet filtering and network monitoring. However, a recent vulnerability has been identified in the handling of the bpf_jit_limit, which can lead to data races and potential system instability.

Vulnerability Detail

In the Linux kernel, a data race occurs around the bpf_jit_limit variable. This vulnerability arises because the bpf_jit_limit can be modified concurrently through sysctl while being read. The use of WRITE_ONCE() in the __do_proc_doulongvec_minmax() function without a corresponding READ_ONCE() leads to load-tearing, which can result in inconsistent data being read. This vulnerability can potentially allow attackers to exploit the race condition, leading to unpredictable behavior in the kernel, which may compromise system security and stability.

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. The best course of action is to apply the available patch by updating the package as described in the 'how_to_fix' section.

Conclusion

The vulnerability identified as CVE-2022-49967 in the Linux kernel poses a significant risk due to a data race around the bpf_jit_limit variable. It is essential for users to update their systems to the patched version to ensure security and stability. Monitoring tools like Vulert can assist in identifying and managing such vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The bpf_jit_limit is a configuration parameter in the Linux kernel that controls the limit on the size of JIT-compiled BPF programs.

This vulnerability can lead to data races, causing unpredictable behavior in the kernel, which may compromise system security and stability.

Yes, the vulnerability affects specific versions of the Linux kernel, particularly those prior to the patched version 6.0.2-1.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risks associated with this vulnerability.

You can use tools like Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

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