Race Condition Vulnerability in Linux Kernel's Netfilter Package
Summary
DEBIAN-CVE-2024-39503: In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type Lion Ackermann reported that there is a race condition between namespac... Affects linux versions < 5.10.221-1. Fixed in 5.10.221-1. 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 Linux kernel is the core component of the Linux operating system, responsible for managing hardware resources and providing essential services to software applications. The netfilter framework within the kernel allows for packet filtering, network address translation, and other packet mangling. This vulnerability specifically affects the ipset component of netfilter, which is used to manage sets of IP addresses, enabling efficient network traffic management. The vulnerability arises from a race condition during namespace cleanup, potentially leading to severe security implications.
Vulnerability Detail
In the Linux kernel, a race condition exists between the namespace cleanup process in ipset and the garbage collection of the list:set type. This flaw allows the namespace cleanup to destroy the list:set type of sets while the garbage collector is still waiting to run in RCU (Read-Copy-Update) cleanup. Consequently, the garbage collector may attempt to access data from a destroyed set, leading to a use-after-free scenario. This vulnerability can be exploited to cause system instability or unauthorized access to sensitive data.
How To Fix
Minimum fixed version
5.10.221-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patches as soon as possible.
Conclusion
The race condition vulnerability in the Linux kernel's netfilter ipset component poses significant security risks. It is crucial for users to update their systems to the patched versions to mitigate these risks. Regular monitoring and updates are essential to maintain system security.
See every vulnerability recorded for linux →
FAQ
The vulnerability is a race condition in the Linux kernel's netfilter ipset component, which can lead to use-after-free errors.
You can use the Vulert platform to check if your application is affected by this vulnerability. Simply upload your manifest file like package-lock.json to monitor for open-source vulnerabilities.
Exploitation of this vulnerability could lead to system instability, unauthorized access to sensitive data, or even complete system compromise.
Yes, patches are available for various Debian versions. Ensure you update to the specified patched versions to mitigate the risk.
You can use Vulert to monitor your applications for vulnerabilities in real-time without needing to access the code or installation.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.