CVE-2024-27011: linux-libc-dev - Fix memleak in map from abort path
Summary
CVE-2024-27011: In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix memleak in map from abort path The delete set command does not rely on the transaction object for element removal, therefore,... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling programs that use the Linux kernel interfaces. It is an essential component for building and running applications on Linux systems. This vulnerability affects the linux-libc-dev package version 6.1.90-1.
Vulnerability Detail
The vulnerability in the linux-libc-dev package is related to netfilter and nf_tables. It allows an attacker to trigger a memory leak in the map from the abort path. Specifically, the delete set command does not properly handle element removal, resulting in a double restoration of the refcount of the mapping when combined with the delete element + delete set from the abort path. This can lead to resource exhaustion and potential denial of service (DoS) attacks. The issue has been resolved by checking for inactive elements in the next generation and skipping state restoration if the next generation bit has already been cleared.
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 recommended to apply the fix by updating the linux-libc-dev package to the latest version.
Conclusion
The linux-libc-dev package version 6.1.90-1 is affected by a vulnerability that allows an attacker to trigger a memory leak in the map from the abort path. This can lead to resource exhaustion and potential denial of service (DoS) attacks. It is recommended to update the linux-libc-dev package to the latest version that includes the fix. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
The linux-libc-dev package provides the necessary header files and libraries for compiling programs that use the Linux kernel interfaces. It is an essential component for building and running applications on Linux systems.
Netfilter is a framework within the Linux kernel that allows various networking-related operations, such as packet filtering, network address translation (NAT), and port translation. nf_tables is a subsystem of netfilter that provides a more flexible and efficient way to configure packet filtering rules.
A memory leak occurs when a program fails to release memory that is no longer needed, leading to a gradual loss of available memory. In this vulnerability, the memory leak in the map from the abort path can result in resource exhaustion and potential denial of service (DoS) attacks.
A refcount, short for reference count, is a mechanism used to track the number of references to a particular resource or object. It helps manage the allocation and deallocation of resources, ensuring that they are properly released when no longer needed. In this vulnerability, the double restoration of the refcount of the mapping can lead to resource exhaustion.
A denial of service (DoS) attack is an attempt to disrupt the normal functioning of a system or network by overwhelming it with a flood of illegitimate requests or by exploiting vulnerabilities to consume system resources. In this vulnerability, the potential DoS attack arises from the memory leak and resource exhaustion caused by the double restoration of the refcount.
Related vulnerabilities
Recent vulnerabilities recorded for linux.