Use After Free Vulnerability in Linux Kernel's iSCSI Implementation

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
No i
Unrated
Not published

CVE-2022-50031: Rejected reason: This CVE ID has been rejected or withdrawn by its CVE Numbering Authority. Affects linux versions 5.10.103-1 – 6.9.9-1. 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 a core component of many operating systems, providing essential services for hardware and software interaction. It supports various functionalities, including file management, process scheduling, and network communication. The kernel's iSCSI implementation facilitates the connection of storage devices over a network, allowing for efficient data transfer. However, vulnerabilities in this area can lead to severe security risks, including data corruption and unauthorized access.

Vulnerability Detail

The vulnerability identified as CVE-2022-50031 arises from improper handling of connection removal in the iSCSI class of the Linux kernel. Specifically, if the qla4xxx driver fails to remove a connection before the session is terminated, the iSCSI class attempts to remove the connection, leading to a use-after-free condition. This flaw can result in memory corruption, potentially allowing an attacker to execute arbitrary code or crash the system.

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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patch as soon as possible.

Conclusion

CVE-2022-50031 is a critical vulnerability in the Linux kernel's iSCSI implementation that poses significant risks to system integrity and security. Users are strongly advised to update their systems to the latest patched versions to protect against potential exploits. Regular monitoring and timely updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2022-50031 is a vulnerability in the Linux kernel's iSCSI implementation that can lead to a use-after-free condition, potentially allowing attackers to execute arbitrary code.

If exploited, this vulnerability could lead to memory corruption, system crashes, or unauthorized access to sensitive data.

The vulnerability affects Linux versions in Debian 11, 12, and 13, specifically those prior to version 6.0.2-1.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risk associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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