CVE-2022-49534

published 26 Feb 2025 · updated 11 May 2026

scsi: lpfc: Protect memory leak for NPIV ports sending PLOGI_RJT

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 672d1cb40551ea9c95efad43ab6d45e4ab4e015f and Kernel c00df0f34a6d5e14da379f96ea67e501ce67b002.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=2.6.23, >=858c9f6c19c6f9bf86cbbc64ce0d17c61d6131b8 <672d1cb40551ea9c95efad43ab6d45e4ab4e015f, >=858c9f6c19c6f9bf86cbbc64ce0d17c61d6131b8 <c00df0f34a6d5e14da379f96ea67e501ce67b002672d1cb40551ea9c95efad43ab6d45e4ab4e015f, c00df0f34a6d5e14da379f96ea67e501ce67b002

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49534 severity on Zeptric[![CVE-2022-49534](https://zeptric.io/badge/cve/CVE-2022-49534.svg)](https://zeptric.io/cve/CVE-2022-49534)