Clearing prog->jited_len along prog->jited in bpf, arm64

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003716: bpf, arm64: Clear prog->jited_len along prog->jited. Affects Kernel versions >= db496944fdaaf2a67d2f60529f5dc23abf809506, < e412b3d178ea4bf746f6b8ee086761613704c6be. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. The bpf (Berkeley Packet Filter) subsystem in the Kernel allows users to attach programs to various hooks in the networking stack for packet filtering and manipulation. The arm64 architecture is specifically impacted by this vulnerability. The vulnerability arises from a failure to clear the 'jited_len' field along with the 'jited' field in the 'prog' structure. This can lead to potential security issues.

Vulnerability Detail

The vulnerability occurs in the bpf subsystem of the Kernel, specifically in the arm64 architecture. When a program is attached to a hook in the networking stack, the 'prog' structure is used to store the program's bytecode and other relevant information. However, the 'jited_len' field, which indicates the length of the just-in-time (JIT) compiled code, is not properly cleared when the 'jited' field is cleared. This can result in stale or incorrect data being used, potentially leading to security vulnerabilities. The impact and attack plausibility of this vulnerability have not been proven yet.

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

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the bpf subsystem of the Kernel, specifically in the arm64 architecture, has been identified and fixed in Linux Kernel version v5.4.198. Users are advised to update their Kernel to the latest version to ensure the security of their systems. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The bpf (Berkeley Packet Filter) subsystem in the Kernel allows users to attach programs to various hooks in the networking stack for packet filtering and manipulation.

This vulnerability affects the arm64 architecture.

The impact of this vulnerability is not yet proven. It could potentially lead to security vulnerabilities.

To fix this vulnerability, update your Kernel to the latest version available.

No specific workaround has been mentioned for this vulnerability.

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