Array Overflow Vulnerability in bpf_trampoline_get_progs() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003181: bpf: Fix potential array overflow in bpf_trampoline_get_progs(). Affects Kernel versions >= 88fd9e5352fe05f7fe57778293aebd4cd106960b, < 32c4559c61652f24c9fdd5440342196fe37453bc. 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 Kernel is a crucial component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the security and stability of the system. The bpf_trampoline_get_progs() function is a part of the Kernel's Berkeley Packet Filter (BPF) subsystem, which enables efficient packet filtering and network monitoring. This vulnerability affects the Kernel package in the Linux ecosystem.

Vulnerability Detail

The bpf_trampoline_get_progs() function in the Kernel is susceptible to an array overflow vulnerability. This vulnerability was introduced in version v5.7 of the Kernel by commit 88fd9e5352fe05f7fe57778293aebd4cd106960b and fixed in version v5.17.13 by commit 32c4559c61652f24c9fdd5440342196fe37453bc. The vulnerability could potentially allow an attacker to trigger an array overflow, leading to memory corruption and potential code execution. However, the actual impact and attack plausibility 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

As a workaround, users can disable the affected functionality or restrict access to the vulnerable code. However, it is strongly advised to apply the official fix by updating the Kernel package to ensure comprehensive security.

Conclusion

In conclusion, the bpf_trampoline_get_progs() function in the Kernel is vulnerable to an array overflow issue. It is crucial to update the Kernel package to version v5.17.13 or later to mitigate this vulnerability. Users can also apply the specific fix commit 32c4559c61652f24c9fdd5440342196fe37453bc or use Vulert's playground at https://vulert.com/scanner to check for vulnerability impact. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially lead to memory corruption and code execution, although the actual impact and attack plausibility have not been proven yet.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will provide real-time monitoring and alerts for open-source vulnerabilities.

Yes, a workaround is available. Users can disable the affected functionality or restrict access to the vulnerable code. However, it is recommended to apply the official fix by updating the Kernel package to ensure comprehensive security.

To update the Kernel package, you can pull the latest updates from the official Linux Kernel repository. Alternatively, you can apply the specific commit 32c4559c61652f24c9fdd5440342196fe37453bc to your existing Kernel version.

You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry GSD-2022-1003181 at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003181.json

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