net/smc: Use a mutex for locking "struct smc_pnettable"

Kernel Updated 02 Oct 2025

Summary

18/03/2022
N/A
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Share this vulnerability

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.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback