net/sunrpc: Fix reference count leaks in rpc_sysfs_xprt_state_change
Summary
GSD-2022-1000414: net/sunrpc: fix reference count leaks in rpc_sysfs_xprt_state_change. Affects Kernel versions < 4b22aa42bd4d2d630ef1854c139275c3532937cb. 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/sunrpc package is a part of the Linux Kernel ecosystem. It provides support for the Remote Procedure Call (RPC) protocol, allowing processes to communicate across a network. The rpc_sysfs_xprt_state_change function is responsible for handling state changes in RPC transports. However, a vulnerability has been discovered in this function that leads to reference count leaks.
Vulnerability Detail
The vulnerability in rpc_sysfs_xprt_state_change results in reference count leaks. This means that when certain state changes occur in RPC transports, the function fails to properly release the reference counts, leading to memory leaks. Although the impact and attack plausibility of this vulnerability have not been proven, it has the potential to cause resource exhaustion and stability issues in affected systems.
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 →
Conclusion
In conclusion, the net/sunrpc package in the Linux Kernel is vulnerable to reference count leaks in the rpc_sysfs_xprt_state_change function. This vulnerability can potentially lead to resource exhaustion and stability issues. It is recommended to update the Linux Kernel to version v5.15.24 or later to fix this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can potentially lead to resource exhaustion and stability issues in affected systems due to reference count leaks.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. It requires no signup and uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities.
No specific workaround has been mentioned for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.
You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000414.json
To update the Linux Kernel, you can follow the official documentation provided by your Linux distribution or refer to the Kernel's official website at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ for the latest version and installation instructions.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.