Vulnerability in Kernel package: sctp: use call_rcu to free endpoint
Summary
GSD-2022-1000054: sctp: use call_rcu to free endpoint. Affects Kernel versions >= d25adbeb0cdb860fb39e09cdd025e9cfc954c5ab, < 75799e71df1da11394740b43ae5686646179561d. 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 package is a critical component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability in question affects the sctp (Stream Control Transmission Protocol) module within the Kernel package.
Vulnerability Detail
The vulnerability arises from the improper handling of endpoint freeing in the sctp module. Specifically, the endpoint is not properly freed, leading to potential memory leaks and resource exhaustion. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges. The vulnerability was introduced in version v4.14 of the Linux Kernel and has been fixed in version v5.15.13.
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
As a workaround, users can apply a patch or backport the fix to their current Kernel version. The patch can be obtained from the commit 75799e71df1da11394740b43ae5686646179561d in the Linux Kernel repository. Users should carefully review the patch and apply it to their Kernel source code before rebuilding and reinstalling the Kernel.
Conclusion
The vulnerability in the Kernel package's sctp module can lead to memory leaks, resource exhaustion, and potential code execution with elevated privileges. It is crucial to update the Kernel to version v5.15.13 or later to mitigate this vulnerability. Alternatively, users can apply the provided patch or backport the fix to their current Kernel version. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially lead to memory leaks and resource exhaustion, causing a denial-of-service (DoS) condition. It may also allow an attacker to execute arbitrary code with elevated privileges.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.
At the time of this report, there are no known public exploits for this vulnerability. However, it is important to apply the necessary patches or updates to mitigate the risk.
While updating the Kernel to the fixed version is the recommended approach, you can apply the provided patch or backport the fix to your current Kernel version as a temporary mitigation measure. However, it is still advisable to update to the latest stable version to ensure comprehensive security.
You can find more information about this vulnerability in the official Linux Kernel repository. The commit 75799e71df1da11394740b43ae5686646179561d provides detailed information about the fix and the associated security impact.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.