CVE-2022-49534

Source
https://cve.org/CVERecord?id=CVE-2022-49534
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49534.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49534
Downstream
Related
Published
2025-02-26T02:13:52.978Z
Modified
2026-03-20T12:24:38.157198Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
scsi: lpfc: Protect memory leak for NPIV ports sending PLOGI_RJT
Details

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 lpfcignoreelscmpl() and lpfcelsrspreject() that was allocated from NPIV PLOGIRJT (lpfcrcvplogi()'s loginmbox).

Check if cmdiocb->contextun.mbox was allocated in lpfcignoreelscmpl(), and then free it back to phba->mboxmempool along with mbox->ctx_buf for service parameters.

For lpfcelsrspreject() failure, free both the ctxbuf for service parameters and the login_mbox.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49534.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
858c9f6c19c6f9bf86cbbc64ce0d17c61d6131b8
Fixed
c00df0f34a6d5e14da379f96ea67e501ce67b002
Fixed
672d1cb40551ea9c95efad43ab6d45e4ab4e015f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49534.json"