netfilter: ipset: Fix oversized kvmalloc() calls in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001713: netfilter: ipset: Fix oversized kvmalloc() calls. Affects Kernel versions < 3213f5f8d4add82c3369f30334d105177a108e39. 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 critical 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 security and stability. The netfilter subsystem within the Kernel is responsible for packet filtering, network address translation, and other network-related operations. One of the components in netfilter is ipset, which provides a framework for managing sets of IP addresses, networks, and ports. However, ipset is vulnerable to oversized kvmalloc() calls, which can lead to memory allocation failures and potential security issues.

Vulnerability Detail

The vulnerability in netfilter's ipset arises from the use of oversized kvmalloc() calls. This can result in memory allocation failures, leading to potential security risks such as denial-of-service attacks or arbitrary code execution. Attackers may exploit this vulnerability to exhaust system memory or execute malicious code with elevated privileges. The impact and attack plausibility of this vulnerability have not been proven yet, but it is crucial to address it to ensure system security.

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 →

Conclusion

The netfilter ipset vulnerability in the Kernel can lead to memory allocation failures and potential security risks. It is crucial to update the Linux Kernel to version v5.14.10 or later to fix this issue. By doing so, you can ensure the proper handling of oversized kvmalloc() calls and mitigate the risk of denial-of-service attacks or arbitrary code execution. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from denial-of-service attacks to arbitrary code execution. Attackers may exploit this issue to exhaust system memory or execute malicious code with elevated privileges.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just a manifest file like package-lock.json.

No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version to address the issue.

You can find more information about this vulnerability in the Open Source Vulnerability database maintained by the Cloud Security Alliance. The vulnerability ID is GSD-2021-1001713.

To update the Linux Kernel, you can follow the official documentation provided by your Linux distribution. Typically, it involves using package managers like apt, yum, or dnf to install the latest Kernel version available for your distribution.

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