# CVE-2021-47183: scsi: lpfc: Fix link down processing to address NULL pointer dereference

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 19, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-04-10T18:56:24.383Z
- **Modified:** 2026-08-05T08:46:32.666Z

## Who should check

- Anyone running Linux \>= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, \< 04c1af683270e4709a594bb1691b8800b945035a; \>= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, \< 28de48a7cea495ab48082d9ff4ef63f7cb4e563a; \>= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, \< 1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6
- Anyone running Linux 2.6.38

## Description

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 addresses, outstanding ABTS requests may result in a NULL pointer
dereference. Driver unload requests may hang with repeated "2878" log
messages.

The Link down processing results in ABTS requests for outstanding ELS
requests. The Abort WQEs are sent for the ELSs before the driver had set
the link state to down. Thus the driver is sending the Abort with the
expectation that an ABTS will be sent on the wire. The Abort request is
stalled waiting for the link to come up. In some conditions the driver may
auto-complete the ELSs thus if the link does come up, the Abort completions
may reference an invalid structure.

Fix by ensuring that Abort set the flag to avoid link traffic if issued due
to conditions where the link failed.

## Affected and fixed versions

- Linux: \>= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, \< 04c1af683270e4709a594bb1691b8800b945035a; \>= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, \< 28de48a7cea495ab48082d9ff4ef63f7cb4e563a; \>= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, \< 1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6 (cvelist)
- Linux: 2.6.38 (cvelist)

## Mitigation

- Upgrade Linux to 1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47183. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47183.md
Affected: Linux >= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, < 04c1af683270e4709a594bb1691b8800b945035a; >= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, < 28de48a7cea495ab48082d9ff4ef63f7cb4e563a; >= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, < 1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6; Linux 2.6.38
Fixed in: Linux 04c1af683270e4709a594bb1691b8800b945035a, Linux 28de48a7cea495ab48082d9ff4ef63f7cb4e563a, Linux 1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47183 being exploited?

There is no confirmed exploitation: CVE-2021-47183 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47183?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47183?

Linux \>= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, \< 04c1af683270e4709a594bb1691b8800b945035a; \>= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, \< 28de48a7cea495ab48082d9ff4ef63f7cb4e563a; \>= 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf, \< 1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6; Linux 2.6.38.

### Is there a fix for CVE-2021-47183?

Yes. Fixed in Linux 04c1af683270e4709a594bb1691b8800b945035a, Linux 28de48a7cea495ab48082d9ff4ef63f7cb4e563a, Linux 1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6. Upgrade Linux to 1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6 or later.

### How do I check if I'm affected by CVE-2021-47183?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/28de48a7cea495ab48082d9ff4ef63f7cb4e563a>
- patch: <https://git.kernel.org/stable/c/1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6>
- other: <https://git.kernel.org/stable/c/04c1af683270e4709a594bb1691b8800b945035a>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47183>

HTML: <https://flawdb.com/CVE-2021-47183> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47183>
