netfilter: ipset: Fix oversized kvmalloc() calls in Kernel
Summary
GSD-2021-1001510: netfilter: ipset: Fix oversized kvmalloc() calls. Affects Kernel versions < c3a2856d3ddd0bbf05390e411f692b7e07239cb8. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The Kernel is a critical component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the security and stability of the system. The netfilter subsystem within the Kernel is responsible for packet filtering and network address translation. It includes the ipset module, which allows the creation and management of large sets of IP addresses, networks, and ports. However, a vulnerability has been discovered in the ipset module that involves oversized kvmalloc() calls.
Vulnerability Detail
The vulnerability in the ipset module arises from the use of oversized kvmalloc() calls. This can lead to memory allocation failures, potentially resulting in a denial-of-service (DoS) condition or other memory-related issues. An attacker could exploit this vulnerability by sending specially crafted packets or performing other malicious activities that trigger the oversized kvmalloc() calls. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v4.9.285 by commit c3a2856d3ddd0bbf05390e411f692b7e07239cb8.
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.
Conclusion
In conclusion, the netfilter ipset module in the Kernel is vulnerable to oversized kvmalloc() calls, which can result in memory allocation failures and potential security issues. It is crucial to update the Linux Kernel to version v4.9.285 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven. However, it could potentially lead to a denial-of-service (DoS) condition or other memory-related issues.
An attacker could exploit this vulnerability by sending specially crafted packets or performing other malicious activities that trigger the oversized kvmalloc() calls.
Yes, this vulnerability has been fixed in Linux Kernel version v4.9.285 by commit c3a2856d3ddd0bbf05390e411f692b7e07239cb8.
To update the Linux Kernel, you can obtain the updated source code from the official Git repository and compile it according to the provided instructions. Alternatively, you can wait for your Linux distribution to release an updated package containing the fixed Kernel version.
You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry with ID GSD-2021-1001510.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.