Incorrect Locking in nvmet-tcp State Change Callback

Kernel Updated 02 Oct 2025

Summary

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

UVI-2021-1000369: nvmet-tcp: fix incorrect locking in state_change sk callback. Affects Kernel versions >= 872d26a391da92ed8f0c0f5cb5fef428067b7f30, < 60ade0d56b06537a28884745059b3801c78e03bc. 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 nvmet-tcp package is a component of the Linux Kernel, which is responsible for handling NVMe over TCP transport. It provides the necessary functionality for communication between NVMe devices and hosts over a TCP/IP network. The package allows for efficient and reliable data transfer, ensuring the integrity and security of NVMe commands and responses. However, a vulnerability has been identified in the state_change socket callback function of nvmet-tcp, which can lead to incorrect locking and potential security risks.

Vulnerability Detail

The vulnerability arises from incorrect locking in the state_change socket callback function of nvmet-tcp. This flaw can be exploited by an attacker to manipulate the locking mechanism and potentially gain unauthorized access or cause a denial of service. The vulnerability was introduced in version v5.0 of the Linux Kernel and has been fixed in version v5.10.37. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.

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 the Kernel to the recommended version to eliminate the vulnerability.

Conclusion

In conclusion, the nvmet-tcp package in the Linux Kernel is vulnerable to incorrect locking in the state_change socket callback function. This vulnerability can potentially lead to unauthorized access or denial of service. It is crucial to update the Kernel to version v5.10.37 or later to mitigate the vulnerability. 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 enables NVMe over TCP transport, facilitating communication between NVMe devices and hosts over a TCP/IP network.

The impact of this vulnerability is not yet proven. However, it has the potential to allow unauthorized access or cause a denial of service if exploited.

You can use tools like Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Vulert Playground allows you to analyze your manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.

No, there is no specific workaround available for this vulnerability. Updating the Linux Kernel to the recommended version is the best course of action.

You can find more information about this vulnerability in the Linux Kernel's official repository. The vulnerability is tracked under the ID UVI-2021-1000369.

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