Vulnerability in Kernel: scsi: target: tcmu: Avoid holding XArray lock when calling lock_page

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003442: scsi: target: tcmu: Avoid holding XArray lock when calling lock_page. Affects Kernel versions >= 04be468ec13f4c9e4091c922c83ee920964e17df, < ff876b6cf5785e9604cd407022db917734b5d7ad. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Kernel is a critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between software components, and ensures the overall stability and security of the system. The scsi target subsystem is responsible for handling SCSI target devices, allowing the system to act as a storage server. Within this subsystem, the tcmu module provides support for userspace programs to emulate SCSI devices. However, a vulnerability has been discovered in the tcmu module that could potentially lead to security issues.

Vulnerability Detail

The vulnerability in the tcmu module of the Kernel arises from a flaw in the handling of XArray locks when calling lock_page. By avoiding holding the XArray lock during this operation, an attacker could potentially exploit race conditions and gain unauthorized access to sensitive information or execute arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet, but it is crucial to address it to prevent potential security breaches.

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 a workaround, users can apply the patch manually to the affected Kernel version. The patch can be obtained from the commit ff876b6cf5785e9604cd407022db917734b5d7ad in the Linux Kernel repository. However, it is strongly advised to update to the latest stable version of the Kernel to ensure comprehensive security fixes and improvements.

Conclusion

In conclusion, a vulnerability has been identified in the tcmu module of the Kernel that could potentially lead to security breaches. It is crucial to update the Kernel to the latest stable version or apply the provided patch to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a critical component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software.

The scsi target subsystem is responsible for handling SCSI target devices, allowing the system to act as a storage server.

The tcmu module within the scsi target subsystem provides support for userspace programs to emulate SCSI devices.

The impact of this vulnerability is not yet proven, but it could potentially lead to unauthorized access to sensitive information or arbitrary code execution.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.46 or later.

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