CVE-2022-49504
Last modified
CVE-2022-49504 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 5.18.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49504?
How severe is CVE-2022-49504?
How do I fix CVE-2022-49504?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49499In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-4950Several WordPress plugins developed by Cool Plugins are vuln…8.8
- CVE-2022-49500In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49501In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49502In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49503In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49505In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49506In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49507In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49508In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49509In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2022-49510In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49504?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
