powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06
Summary
GSD-2022-1000261: powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06. Affects Kernel versions >= 156d0e290e969caba25f1851c52417c14d141b24, < 3bfbc00587dc883eaed383558ae512a351c2cd09. 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 Kernel package is a critical component of the Linux operating system. It provides the core functionality and interfaces for the system's hardware and software components. The powerpc64/bpf module within the Kernel package is responsible for handling Berkeley Packet Filter (BPF) instructions on powerpc64 processors. BPF is a virtual machine that allows user-defined programs to run within the kernel, enabling efficient packet filtering and network monitoring. However, a vulnerability has been discovered in the powerpc64/bpf module that affects processors not compliant with ISA v2.06.
Vulnerability Detail
The vulnerability in the powerpc64/bpf module allows the 'ldbrx' instruction to be executed on processors that are not compliant with ISA v2.06. This instruction is intended for processors that support the ISA v2.06 specification, and executing it on non-compliant processors can lead to unpredictable behavior and potential security risks. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition on affected systems. The vulnerability was introduced in version v4.8 of the Linux Kernel and has been fixed in version v5.15.19.
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 known workaround for this vulnerability. It is recommended to apply the fix mentioned in the 'how_to_fix' section.
Conclusion
The powerpc64/bpf vulnerability in the Kernel package allows the execution of the 'ldbrx' instruction on non-compliant processors, posing potential security risks. It is crucial to update the Kernel package to version v5.15.19 or later to mitigate these risks. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability allows the execution of the 'ldbrx' instruction on non-compliant processors, which can lead to unpredictable behavior and potential security risks. Attackers could exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition.
Processors that are not compliant with ISA v2.06 are affected by this vulnerability.
You can use the Vulert playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert service will analyze it for open-source vulnerabilities, including this one.
There is no known exploit for this vulnerability at the time of this report. However, it is important to apply the fix as soon as possible to mitigate the risk.
Unfortunately, there is no known workaround for this vulnerability. It is recommended to update the Kernel package to the fixed version as soon as possible.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.