Null Pointer Dereference in lpfc_prep_els_iocb() in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000276: scsi: lpfc: Fix null pointer dereference in lpfc_prep_els_iocb(). Affects Kernel versions >= 4430f7fd09ecb037570119e0aacbf0c17b8f98b2, < 9bdcfbed2a9fe24d2c7eaa1bad7c705e18de8cc7. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a fundamental component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The lpfc driver in the Kernel is used for managing SCSI devices. It allows the system to communicate with storage devices connected via the SCSI protocol. However, a vulnerability has been identified in the lpfc_prep_els_iocb() function, which can lead to a null pointer dereference.

Vulnerability Detail

The null pointer dereference vulnerability in lpfc_prep_els_iocb() occurs when a null pointer is accessed, leading to a system crash or potential privilege escalation. An attacker could exploit this vulnerability by sending specially crafted input to trigger the null pointer dereference. The impact of this vulnerability could range from denial of service to potential execution of arbitrary code with elevated privileges. The vulnerability was introduced in Kernel version v5.11 and has been fixed in version v5.12.4.

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 avoid the vulnerability by not using the lpfc driver or disabling the affected functionality. However, this may result in the loss of SCSI device communication and should only be considered as a temporary measure until the Kernel is updated.

Conclusion

The null pointer dereference vulnerability in lpfc_prep_els_iocb() can have severe consequences, including system crashes and potential privilege escalation. It is crucial to update the Kernel to version v5.12.4 or later to mitigate this vulnerability. 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 crucial component of the Linux operating system that manages system resources and facilitates communication between hardware and software.

The lpfc driver is a component of the Kernel that enables communication with SCSI devices connected to the system.

A null pointer dereference occurs when a program attempts to access memory using a null pointer, leading to a crash or potential security vulnerability.

Privilege escalation refers to the act of gaining elevated privileges on a system, allowing an attacker to perform actions beyond their originally assigned permissions.

To update the Kernel, you can obtain the updated source code from the official Git repository and compile it according to the provided instructions.

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