Bug 2347936 (CVE-2022-49521) - CVE-2022-49521 kernel: scsi: lpfc: Fix resource leak in lpfc_sli4_send_seq_to_ulp()
Summary: CVE-2022-49521 kernel: scsi: lpfc: Fix resource leak in lpfc_sli4_send_seq_to...
Keywords:
Status: NEW
Alias: CVE-2022-49521
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:11 UTC by OSIDB Bzimport
Modified: 2025-02-27 09:12 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:11:54 UTC
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.

Comment 1 Avinash Hanwate 2025-02-26 20:51:43 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022611-CVE-2022-49521-64b2@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.