Clearing prog->jited_len along prog->jited in bpf, arm64
Summary
GSD-2022-1003716: bpf, arm64: Clear prog->jited_len along prog->jited. Affects Kernel versions >= db496944fdaaf2a67d2f60529f5dc23abf809506, < e412b3d178ea4bf746f6b8ee086761613704c6be. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
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 →
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.