CVE-2021-47183

scsi: lpfc: Fix link down processing to address NULL pointer dereference

State
Published
Severity
8.8 High
Published
Apr 10, 2024
Updated
Aug 5, 2026
Reserved
Mar 25, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf to before 04c1af683270e4709a594bb1691b8800b945035aAffected
  • 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf to before 28de48a7cea495ab48082d9ff4ef63f7cb4e563aAffected
  • 70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf to before 1854f53ccd88ad4e7568ddfafafffe71f1ceb0a6Affected
LinuxLinux
  • 2.6.38Affected
  • before 2.6.38Not affected
  • 5.10.241 through 5.10.*Not affected
  • 5.15.5 through 5.15.*Not affected
  • 5.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.