net/smc: Fix Connection Leak in Linux Kernel
Summary
GSD-2022-1000699: net/smc: fix connection leak. Affects Kernel versions >= 39f41f367b08650e9aa314e3a13fb6dda1e9eec7, < e98d46ccfa84b35a9e4b1ccdd83961b41a5d7ce5. 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 net/smc package is a part of the Linux Kernel, which is responsible for managing the SMC (System Management Controller) protocol. SMC is a high-performance, low-latency communication protocol used for interconnecting servers in a data center. It provides efficient data transfer and is widely used in modern networking infrastructure.
Vulnerability Detail
The vulnerability in net/smc involves a connection leak issue. When a connection is established using the SMC protocol, the kernel fails to properly release the resources associated with the connection after it is closed. This can lead to a gradual depletion of system resources, potentially causing performance degradation or even denial of service if the system runs out of available resources. The vulnerability was introduced in version v5.3 of the Linux Kernel and has been fixed in version v5.16.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 monitor the system resources and restart the affected services periodically to release any leaked connections. However, this is not a permanent solution and should only be considered as a temporary measure until the kernel update can be applied.
Conclusion
The net/smc package in the Linux Kernel is vulnerable to a connection leak issue, which can lead to resource depletion and potential performance degradation or denial of service. It is crucial to update the kernel to version v5.16.13 or later to mitigate this vulnerability. Users can also use the Vulert Playground to check if their system is affected and receive real-time alerts for open-source vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
net/smc is a package in the Linux Kernel that handles the SMC protocol, which is used for efficient inter-server communication in data centers.
The vulnerability can lead to a gradual depletion of system resources, potentially causing performance degradation or denial of service if resources are completely exhausted.
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 provide real-time alerts for open-source vulnerabilities.
Yes, you can periodically restart the affected services to release any leaked connections. However, this is not a permanent solution and should be followed by applying the kernel update as soon as possible.
You can refer to the commit e98d46ccfa84b35a9e4b1ccdd83961b41a5d7ce5 in the Linux Kernel repository for more details about the fix.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.