Vulnerability in Kernel Package: bpf: Add oversize check before call kvcalloc()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001667: bpf: Add oversize check before call kvcalloc(). Affects Kernel versions < 6345a0bee80139ea00a341c4202ebfd1534b5eb0. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel package is a critical component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The bpf subsystem within the Kernel allows users to write and execute custom programs that run in a restricted environment. These programs can be used for various purposes, including network packet filtering and performance monitoring. However, a vulnerability has been discovered in the bpf subsystem that could potentially be exploited by attackers.

Vulnerability Detail

The vulnerability in the bpf subsystem arises from a missing oversize check before calling the kvcalloc() function. This oversight could lead to memory allocation errors, resulting in potential security vulnerabilities. While the exact impact and attack plausibility have not been proven, it is crucial to address this issue to prevent any potential exploitation. The vulnerability has been fixed in the Linux Kernel version v5.10.70 by commit 6345a0bee80139ea00a341c4202ebfd1534b5eb0.

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. It is advised to update the Kernel package to the fixed version as soon as possible.

Conclusion

The vulnerability in the bpf subsystem of the Kernel package can potentially lead to security vulnerabilities. It is crucial to update the package to the fixed version to mitigate any potential risks. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a critical component of the Linux operating system that provides core functionality and acts as an interface between the hardware and software layers.

The bpf subsystem is a part of the Kernel that allows users to write and execute custom programs in a restricted environment. These programs can be used for various purposes, such as network packet filtering and performance monitoring.

The exact impact of this vulnerability is not yet proven. However, it could potentially lead to memory allocation errors and other security vulnerabilities.

To fix this vulnerability, you should update the Kernel package to version v5.10.70 or later. Follow the official update process provided by your Linux distribution.

There is no specific workaround mentioned for this vulnerability. It is recommended to update the Kernel package to the fixed version.

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