# CVE-2022-49504: scsi: lpfc: Inhibit aborts if external loopback plug is inserted

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.24% (percentile 9, 2026-11-26)
- **Published:** 2025-02-26T02:13:36.829Z
- **Modified:** 2026-06-17T05:18:15.920Z

## Who should check

- Anyone running Linux \>= 1b51197d0fd0c06877c6df1bba84ac4008a7fc60, \< a1516930cb605caee3bc7b4f3b7994b88c0b8505; \>= 1b51197d0fd0c06877c6df1bba84ac4008a7fc60, \< ead76d4c09b89f4c8d632648026a476a5a34fde8
- Anyone running Linux 3.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Inhibit aborts if external loopback plug is inserted

After running a short external loopback test, when the external loopback is
removed and a normal cable inserted that is directly connected to a target
device, the system oops in the llpfc\_set\_rrq\_active() routine.

When the loopback was inserted an FLOGI was transmit. As we're looped back,
we receive the FLOGI request. The FLOGI is ABTS'd as we recognize the same
wppn thus understand it's a loopback. However, as the ABTS sends address
information the port is not set to (fffffe), the ABTS is dropped on the
wire. A short 1 frame loopback test is run and completes before the ABTS
times out. The looback is unplugged and the new cable plugged in, and the
an FLOGI to the new device occurs and completes. Due to a mixup in ref
counting the completion of the new FLOGI releases the fabric ndlp. Then the
original ABTS completes and references the released ndlp generating the
oops.

Correct by no-op'ing the ABTS when in loopback mode (it will be dropped
anyway). Added a flag to track the mode to recognize when it should be
no-op'd.

## Affected and fixed versions

- Linux: \>= 1b51197d0fd0c06877c6df1bba84ac4008a7fc60, \< a1516930cb605caee3bc7b4f3b7994b88c0b8505; \>= 1b51197d0fd0c06877c6df1bba84ac4008a7fc60, \< ead76d4c09b89f4c8d632648026a476a5a34fde8 (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49504.md
Affected: Linux >= 1b51197d0fd0c06877c6df1bba84ac4008a7fc60, < a1516930cb605caee3bc7b4f3b7994b88c0b8505; >= 1b51197d0fd0c06877c6df1bba84ac4008a7fc60, < ead76d4c09b89f4c8d632648026a476a5a34fde8; Linux 3.3
Fixed in: no fixed version listed yet

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-2022-49504 being exploited?

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

### How serious is CVE-2022-49504?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49504?

Linux \>= 1b51197d0fd0c06877c6df1bba84ac4008a7fc60, \< a1516930cb605caee3bc7b4f3b7994b88c0b8505; \>= 1b51197d0fd0c06877c6df1bba84ac4008a7fc60, \< ead76d4c09b89f4c8d632648026a476a5a34fde8; Linux 3.3.

### Is there a fix for CVE-2022-49504?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-49504?

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/a1516930cb605caee3bc7b4f3b7994b88c0b8505>
- patch: <https://git.kernel.org/stable/c/ead76d4c09b89f4c8d632648026a476a5a34fde8>

## 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-2022-49504>

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