Integer Overflow Vulnerability in bpf Package

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001526: bpf: Fix integer overflow in prealloc_elems_and_freelist(). Affects Kernel versions >= 557c0c6e7df8e14a46bd7560d193fa5bbc00a858, < f34bcd10c4832d491049905d25ea3f46a410c426. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The bpf package is a component of the Linux Kernel, which is responsible for implementing Berkeley Packet Filters (BPF) in the kernel. BPF provides a way to safely execute user-defined programs inside the kernel, allowing for efficient packet filtering and other network-related operations. This vulnerability affects the bpf package in the Linux Kernel.

Vulnerability Detail

The vulnerability identified in the bpf package is an integer overflow in the prealloc_elems_and_freelist() function. This function is responsible for preallocating elements and creating a freelist for BPF maps. An attacker could exploit this vulnerability by providing malicious input that triggers the integer overflow, leading to unexpected behavior and potential security issues. 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

No specific workaround has been provided for this vulnerability.

Conclusion

The integer overflow vulnerability in the bpf package of the Linux Kernel has been identified and fixed in version v4.14.251. Users are advised to update their Linux 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 package is a component of the Linux Kernel that implements Berkeley Packet Filters (BPF) in the kernel. It allows for efficient packet filtering and other network-related operations.

The impact of this vulnerability is not yet proven. However, if successfully exploited, it could lead to unexpected behavior and potential security issues.

To fix this vulnerability, update your Linux Kernel to version v4.14.251 or later.

No specific workarounds have been provided for this vulnerability.

For more information about this vulnerability, refer to the provided references link.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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