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

Kernel Updated 02 Oct 2025

Summary

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

UVI-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 is a fundamental component of the Linux operating system that manages system resources and provides an interface for software to interact with the hardware. It plays a crucial role in maintaining the security and stability of the system. 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 involves a missing oversize check before calling the kvcalloc() function. This oversight could lead to memory allocation failures and subsequent crashes or other unexpected behavior. While the impact and attack plausibility have not been proven, it is essential to address this vulnerability to ensure the stability and security of the system. The vulnerability has been fixed in 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. The recommended approach is to apply the fix by updating the Linux Kernel.

Conclusion

The vulnerability in the bpf subsystem of the Kernel can be addressed by updating to the fixed version of the Linux Kernel. It is crucial to apply this fix to ensure the stability and security of the system. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a fundamental component of the Linux operating system that manages system resources and provides an interface for software to interact with the hardware.

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, including network packet filtering and performance monitoring.

kvcalloc() is a function used for allocating memory in the Kernel. The vulnerability in the bpf subsystem involves a missing oversize check before calling this function.

The potential consequences of this vulnerability include crashes, memory allocation failures, and other unexpected behavior in the system.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.70 or later.

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