Incorrect Locking in nvmet-tcp State Change Callback

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000428: nvmet-tcp: fix incorrect locking in state_change sk callback. Affects Kernel versions >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 999d606a820c36ae9b9e9611360c8b3d8d4bb777. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The nvmet-tcp package is a component of the Linux Kernel, which is responsible for handling NVMe over TCP transport. NVMe is a protocol used for accessing solid-state drives (SSDs) over a network. The nvmet-tcp package provides the necessary functionality to establish and manage TCP connections for NVMe communication. It is an integral part of the Linux Kernel and is widely used in various systems and applications.

Vulnerability Detail

The vulnerability identified in nvmet-tcp is related to incorrect locking in the state_change socket callback. This vulnerability can potentially lead to race conditions and other synchronization issues when handling state changes in TCP connections. An attacker could exploit these issues to cause denial of service (DoS) conditions or potentially execute arbitrary code in the context of the affected system. The vulnerability was introduced in version v5.0 of the Linux Kernel and has been fixed in version v5.4.119.

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 this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is strongly advised to update to the patched version to ensure the security and stability of the system.

Conclusion

The vulnerability in nvmet-tcp, related to incorrect locking in the state_change socket callback, can have serious security implications. It is crucial to update the Linux Kernel to the patched version to mitigate the risk of exploitation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

nvmet-tcp is a component of the Linux Kernel that handles NVMe over TCP transport, allowing communication with solid-state drives over a network.

The vulnerability in nvmet-tcp can lead to race conditions and synchronization issues, potentially resulting in denial of service or arbitrary code execution.

To fix this vulnerability, update the Linux Kernel to version v5.4.119 or later, which includes the necessary patches.

No, there is no specific workaround available. Updating to the patched version is the recommended solution.

The updated Linux Kernel can be obtained from the official Linux Kernel repository or through the package management system of your Linux distribution.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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