Page Use-After-Free Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1000971: scsi: target: tcmu: Fix possible page UAF. Affects Kernel versions < a9564d84ed9f6ee71017d062d0d2182154294a4b. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing essential functionality. It serves as an interface between the hardware and software layers, enabling various applications and services to run on Linux-based systems. The scsi target subsystem in the Linux Kernel allows for the creation of SCSI target devices, which can be accessed by SCSI initiators over a network. However, a vulnerability has been discovered in the tcmu driver, which could lead to a page use-after-free issue.

Vulnerability Detail

The vulnerability in the tcmu driver of the scsi target subsystem in the Linux Kernel could result in a page use-after-free (UAF) condition. This vulnerability occurs when a page of memory is freed but still accessed by the program, potentially leading to memory corruption or arbitrary code execution. An attacker could exploit this vulnerability by sending specially crafted requests to a vulnerable system, causing the tcmu driver to access freed memory. The impact of this vulnerability may vary depending on the attacker's capabilities and the context in which the vulnerable system is used.

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 patches or backport the fix to their current kernel version. However, it is strongly advised to update to the latest stable version of the Linux Kernel to ensure comprehensive security improvements and bug fixes.

Conclusion

In conclusion, a page use-after-free vulnerability has been discovered in the tcmu driver of the scsi target subsystem in the Linux Kernel. This vulnerability could potentially lead to memory corruption or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.17.4 or later to mitigate this vulnerability. Applying patches or backporting the fix can serve as a temporary workaround, but updating to the latest stable version is strongly recommended. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The scsi target subsystem in the Linux Kernel allows for the creation of SCSI target devices, which can be accessed by SCSI initiators over a network. It enables the implementation of storage solutions and facilitates communication between storage devices and the operating system.

The tcmu driver is a kernel module that provides a generic target core for the Linux Kernel's scsi target subsystem. It allows for the creation of user-space SCSI target drivers, enabling the development of virtual storage devices that can be accessed by SCSI initiators.

A page use-after-free vulnerability occurs when a page of memory is freed but still accessed by the program. This can lead to memory corruption or arbitrary code execution if an attacker can control the content of the freed memory. Exploiting this vulnerability requires precise timing and knowledge of the memory layout.

The consequences of this vulnerability may vary depending on the attacker's capabilities and the context in which the vulnerable system is used. Possible outcomes include memory corruption, system crashes, privilege escalation, or arbitrary code execution. It is crucial to patch the vulnerability to prevent potential exploitation.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, allowing you to assess the security status of your software without requiring access to the code or installation.

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