{"id":"CVE-2022-49534","published":"2025-02-26T02:13:52Z","modified":"2026-05-11T19:01:47Z","title":"scsi: lpfc: Protect memory leak for NPIV ports sending PLOGI_RJT","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Protect memory leak for NPIV ports sending PLOGI_RJT\n\nThere is a potential memory leak in lpfc_ignore_els_cmpl() and\nlpfc_els_rsp_reject() that was allocated from NPIV PLOGI_RJT\n(lpfc_rcv_plogi()'s login_mbox).\n\nCheck if cmdiocb->context_un.mbox was allocated in lpfc_ignore_els_cmpl(),\nand then free it back to phba->mbox_mem_pool along with mbox->ctx_buf for\nservice parameters.\n\nFor lpfc_els_rsp_reject() failure, free both the ctx_buf for service\nparameters and the login_mbox.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00234,"percentile":0.14535,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/c00df0f34a6d5e14da379f96ea67e501ce67b002","tags":[]},{"url":"https://git.kernel.org/stable/c/672d1cb40551ea9c95efad43ab6d45e4ab4e015f","tags":[]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":2.91},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 858c9f6c19c6f9bf86cbbc64ce0d17c61d6131b8, < c00df0f34a6d5e14da379f96ea67e501ce67b002",">= 858c9f6c19c6f9bf86cbbc64ce0d17c61d6131b8, < 672d1cb40551ea9c95efad43ab6d45e4ab4e015f"]},{"vendor":"Linux","product":"Linux","versions":["2.6.23"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:37:49.137797Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54697","exploited":false,"provenance":"source"}}