Critical NULL Pointer Dereference in Linux Kernel (CVE-2021-47183)

linux Updated 02 Oct 2025

Summary

10/04/2024
N/A
No i
Medium
5.5

CVE-2021-47183: In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Fix link down processing to address NULL pointer dereference If an FC link down transition while PLOGIs are outstanding to fabric well known... 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 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 many operating systems, managing hardware resources and providing essential services for software applications. It is widely used across various platforms, including servers, desktops, and embedded systems. This vulnerability affects the SCSI lpfc driver, which is responsible for managing Fibre Channel connections. The issue arises during link down transitions, potentially leading to system instability and driver hang-ups.

Vulnerability Detail

CVE-2021-47183 is a vulnerability in the Linux kernel's SCSI lpfc driver that can lead to a NULL pointer dereference. This occurs when an FC link goes down while outstanding PLOGIs are still active. The driver attempts to send Abort requests for outstanding ELS requests before properly setting the link state to down, which can cause the Abort requests to reference invalid structures if the link comes back up. This can result in system crashes or hangs, particularly during driver unload operations.

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 temporary workaround, avoid performing operations that may trigger link down transitions while PLOGIs are outstanding. Monitor the system logs for repeated '2878' messages, which indicate potential issues with driver unload requests.

Conclusion

CVE-2021-47183 is a critical vulnerability in the Linux kernel's SCSI lpfc driver that can lead to serious system issues. It is essential for users to update their systems to the recommended versions to mitigate the risks associated with this vulnerability. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2021-47183 is a vulnerability in the Linux kernel's SCSI lpfc driver that can lead to a NULL pointer dereference during link down transitions.

The vulnerability can cause system crashes, hangs during driver unload operations, and instability in systems using the affected driver.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected by this vulnerability.

The vulnerability affects Linux kernel versions prior to 5.15.5-1 on Debian 12 and 13.

Yes, the permanent fix is to update the Linux kernel to version 5.15.5-1 or later, which resolves the issue.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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