net/smc: Use a mutex for locking "struct smc_pnettable"
Summary
GSD-2022-1000739: net/smc: Use a mutex for locking "struct smc_pnettable". Affects Kernel versions >= 64e28b52c7a6616217bee67ba2ad886f478f9737, < 8507fba18161ef1cab9e627f44b9bb22da29f7e8. 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 Kernel is an open-source monolithic Unix-like computer operating system kernel. It provides the essential services for the computer's hardware and software to communicate. The 'net/smc' module in the Linux Kernel is responsible for managing the SMC (System Management Controller) protocol, which is used for communication between systems. The 'struct smc_pnettable' is a data structure used by the 'net/smc' module to store information about the SMC protocol. However, this data structure is not properly protected, leading to potential concurrency issues and race conditions.
Vulnerability Detail
The vulnerability in the 'net/smc' module arises from the lack of proper locking for the 'struct smc_pnettable'. Without proper locking mechanisms, multiple threads or processes accessing and modifying the 'struct smc_pnettable' concurrently can lead to data corruption, inconsistent states, and potential crashes. An attacker could potentially exploit this vulnerability to manipulate the 'struct smc_pnettable' and disrupt the normal operation of the SMC protocol, leading to denial of service or other security issues.
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
The 'net/smc' module in the Linux Kernel is vulnerable to concurrency issues and race conditions due to the lack of proper locking for the 'struct smc_pnettable'. This vulnerability can lead to data corruption, inconsistent states, and potential crashes. It is recommended to update to the fixed version of the Linux Kernel (v5.16.12 or later) to mitigate the vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to data corruption, inconsistent states, and potential crashes in the 'net/smc' module. It can also be exploited by attackers to disrupt the normal operation of the SMC protocol, leading to denial of service or other security issues.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, and you can upload your manifest file (e.g., package-lock.json) to check if the vulnerability is present.
No specific workaround is mentioned for this vulnerability. It is recommended to update to the fixed version of the Linux Kernel (v5.16.12 or later) to mitigate the vulnerability.
There are no known exploits for this vulnerability at the moment. However, it is important to apply the fix as soon as possible to prevent any potential exploitation.
You can find more information about this vulnerability in the GSD-2022-1000739 entry of the GSD Database maintained by the Cloud Security Alliance. The entry provides details about the vulnerability, its fix, and references to the relevant commits in the Linux Kernel source code.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.