CVE-2022-49534
MEDIUMLinux Kernel < 5.18.3 - Use-After-Free in lpfc_ignore_els_cmpl and lpfc_els_rsp_reject
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: scsi: lpfc: Protect memory leak for NPIV ports sending PLOGI_RJT There is a potential memory leak in lpfc_ignore_els_cmpl() and lpfc_els_rsp_reject() that was allocated from NPIV PLOGI_RJT (lpfc_rcv_plogi()'s login_mbox). Check if cmdiocb->context_un.mbox was allocated in lpfc_ignore_els_cmpl(), and then free it back to phba->mbox_mem_pool along with mbox->ctx_buf for service parameters. For lpfc_els_rsp_reject() failure, free both the ctx_buf for service parameters and the login_mbox.
References (2)
Core 2
Scores
CVSS v3
5.5
EPSS
0.0022
EPSS Percentile
11.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-401
Status
published
Products (8)
linux/Kernel
2.6.23 - 5.18.3linux
Linux/Linux
< 2.6.23
Linux/Linux
2.6.23
Linux/Linux
5.18.3 - 5.18.*
Linux/Linux
5.19
Linux/Linux
858c9f6c19c6f9bf86cbbc64ce0d17c61d6131b8 - 672d1cb40551ea9c95efad43ab6d45e4ab4e015f
Linux/Linux
858c9f6c19c6f9bf86cbbc64ce0d17c61d6131b8 - c00df0f34a6d5e14da379f96ea67e501ce67b002
linux/linux_kernel
< 5.18.3
Published
Feb 26, 2025
Tracked Since
Feb 18, 2026