Vulnerability in Kernel package: scsi: lpfc: Address NULL pointer dereference after starget_to_rport()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1002577: scsi: lpfc: Address NULL pointer dereference after starget_to_rport(). Affects Kernel versions >= bb21fc9911eea92afd476f7e64b327716e042a25, < 68fcff1127e4995ddbd4b6861892a25c23db3f70. 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 package is a fundamental component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices, including storage controllers. The scsi: lpfc module within the Kernel package is responsible for handling SCSI (Small Computer System Interface) commands for Fibre Channel storage devices. This vulnerability specifically affects the scsi: lpfc module and involves a NULL pointer dereference after the starget_to_rport() function.

Vulnerability Detail

The vulnerability arises due to a NULL pointer dereference in the scsi: lpfc module after the execution of the starget_to_rport() function. This can lead to a system crash or potential privilege escalation if exploited by an attacker. The vulnerability was introduced in version v5.18 of the Linux Kernel and has been fixed in version v5.18.4. 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

No workaround has been mentioned for this vulnerability.

Conclusion

In conclusion, the scsi: lpfc module in the Kernel package is vulnerable to a NULL pointer dereference after the starget_to_rport() function. It is recommended to update the Linux Kernel to version v5.18.4 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The scsi: lpfc module is a component of the Linux Kernel package that handles SCSI commands for Fibre Channel storage devices.

A NULL pointer dereference occurs when a program attempts to access or manipulate data using a pointer that points to a NULL (empty) memory address. This can lead to crashes or security vulnerabilities.

The impact of this vulnerability can range from a system crash to potential privilege escalation if exploited by an attacker.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will provide real-time alerts for open-source vulnerabilities.

For more information about this vulnerability, you can refer to the source link provided in the database_specific section of the vulnerability details.

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