# CVE-2022-49521: scsi: lpfc: Fix resource leak in lpfc_sli4_send_seq_to_ulp()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-02-26T02:13:46.812Z
- Modified: 2026-11-05T20:17:06.930Z
- Weaknesses: CWE-401
- 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 resource leak in lpfc_sli4_send_seq_to_ulp()

If no handler is found in lpfc_complete_unsol_iocb() to match the rctl of a
received frame, the frame is dropped and resources are leaked.

Fix by returning resources when discarding an unhandled frame type.  Update
lpfc_fc_frame_check() handling of NOP basic link service.

(As written by CVE List.)

## Affected

- Linux Linux: from 4f774513f7b3fe96648b8936f60f835e6ceaa88e before fa1b509d41c5433672f72c0615cf4aefa0611c99; from 4f774513f7b3fe96648b8936f60f835e6ceaa88e before 40cf4ea4d2d497f7732c87d350ba5c3f5e8a43a1; from 4f774513f7b3fe96648b8936f60f835e6ceaa88e before 08709769ff2fb6c5ffedcda3742700d8ea1618a8; from 4f774513f7b3fe96648b8936f60f835e6ceaa88e before 7860d8f8082605b57596aa82d3d438c1fdad9a9e; from 4f774513f7b3fe96648b8936f60f835e6ceaa88e before 646db1a560f44236b7278b822ca99a1d3b6ea72c; 2.6.31 (not affected: before 2.6.31; from 5.10.121 up to 5.10.*; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 5.10.121; from 5.11 before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## References

- <https://git.kernel.org/stable/c/fa1b509d41c5433672f72c0615cf4aefa0611c99> (patch)
- <https://git.kernel.org/stable/c/40cf4ea4d2d497f7732c87d350ba5c3f5e8a43a1> (patch)
- <https://git.kernel.org/stable/c/08709769ff2fb6c5ffedcda3742700d8ea1618a8> (patch)
- <https://git.kernel.org/stable/c/7860d8f8082605b57596aa82d3d438c1fdad9a9e> (patch)
- <https://git.kernel.org/stable/c/646db1a560f44236b7278b822ca99a1d3b6ea72c> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-49521 · Whole record: https://cve.day/CVE-2022-49521.json · Rebuilt by cve.day 2026-11-25T22:58:20.706Z
