Vulnerability in Kernel: bpf: Fix combination of jit blinding and pointers to bpf subprogs

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002865: bpf: Fix combination of jit blinding and pointers to bpf subprogs. Affects Kernel versions >= 69c087ba6225b574afb6e505b72cb75242a3d844, < d106a3e96fca30e44081eae9c27aab28fc132a46. 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 Kernel is a fundamental component of the Linux operating system that provides core functionalities and acts as an interface between the hardware and software layers. It manages system resources, facilitates communication between different software components, and ensures the security and stability of the system. The Kernel is responsible for executing system calls, managing processes, and handling device drivers.

The vulnerability in question affects the Kernel's BPF (Berkeley Packet Filter) subsystem. BPF is a virtual machine that allows users to define and execute custom programs for packet filtering and network monitoring. It is widely used for network analysis, security monitoring, and performance optimization.

The vulnerability arises from a combination of two features: jit blinding and pointers to BPF subprograms. Jit blinding is a security mechanism that randomizes the layout of just-in-time (JIT) compiled code to mitigate certain types of attacks. However, when used in conjunction with pointers to BPF subprograms, this combination can lead to potential security issues.

Vulnerability Detail

The vulnerability occurs when jit blinding is enabled and pointers to BPF subprograms are used. It can potentially be exploited by attackers to bypass security measures and execute arbitrary code within the Kernel's BPF subsystem. This could lead to privilege escalation, unauthorized access to sensitive information, or the compromise of the entire system.

The vulnerability was introduced in version v5.13 of the Linux Kernel and has been fixed in version v5.18.2. The fix involves modifying the code to ensure that the combination of jit blinding and pointers to BPF subprograms does not create any security vulnerabilities.

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

As a workaround, users can disable jit blinding in the Kernel's BPF subsystem. This can be achieved by modifying the Kernel's configuration file and setting the 'CONFIG_BPF_JIT_BLINDING' option to 'n'. However, it is important to note that disabling jit blinding may reduce the effectiveness of certain security mitigations and should only be considered as a temporary measure until the Kernel can be updated to a fixed version.

Conclusion

The vulnerability in the Kernel's BPF subsystem, resulting from the combination of jit blinding and pointers to BPF subprograms, can potentially allow attackers to execute arbitrary code and compromise the system. It is crucial to update the Kernel to version v5.18.2 or later to mitigate this vulnerability. In the meantime, users can consider disabling jit blinding as a temporary workaround. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially allow attackers to execute arbitrary code within the Kernel's BPF subsystem, leading to privilege escalation, unauthorized access to sensitive information, or the compromise of the entire system.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.

Yes, a workaround is available. Users can disable jit blinding in the Kernel's BPF subsystem by modifying the Kernel's configuration file. However, it is recommended to update the Kernel to a fixed version as soon as possible.

This vulnerability was discovered through a combination of manual code review and automated vulnerability scanning techniques.

There are no known instances of this vulnerability being exploited in the wild. However, it is important to apply the necessary fixes and security updates to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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