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

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 19% of CVEs (2026-11-30)
- Published: 2024-04-10T18:56:24.383Z
- Modified: 2026-08-05T08:46:32.666Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf before 04c1af683270e4709a594bb1691b8800b945035a; from 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf before 28de48a7cea495ab48082d9ff4ef63f7cb4e563a; from 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf before 1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6; 2.6.38 (not affected: before 2.6.38; from 5.10.241 up to 5.10.*; from 5.15.5 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: before 5.15.5

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

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

## Sources

- CVE List: [CVE-2021-47183](https://www.cve.org/CVERecord?id=CVE-2021-47183), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-47183](https://nvd.nist.gov/vuln/detail/CVE-2021-47183), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-47183 · Whole record: https://cve.day/CVE-2021-47183.json · Rebuilt by cve.day 2026-11-25T22:58:08.706Z
