CVE-2022-49730

Source
https://cve.org/CVERecord?id=CVE-2022-49730
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49730.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49730
Downstream
DEBIAN (1)
ROOT (1)
SUSE (7)
UBUNTU (1)
Related
Published
2025-02-26T02:24:40Z
Modified
2026-04-10T04:53:30Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
scsi: lpfc: Resolve NULL ptr dereference after an ELS LOGO is aborted
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: lpfc: Resolve NULL ptr dereference after an ELS LOGO is aborted

A use-after-free crash can occur after an ELS LOGO is aborted.

Specifically, a nodelist structure is freed and then ndlp->vport->cfg_log_verbose is dereferenced in lpfc_nlp_get() when the discovery state machine is mistakenly called a second time with NLP_EVT_DEVICE_RM argument.

Rework lpfc_cmpl_els_logo() to prevent the duplicate calls to release a nodelist structure.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49730.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
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
5e83869e29448958f8ae2c6911f350318f75e4fc
Fixed
eea34ce23dc3a595695856dc73bb132a9c5a2902
Fixed
b1b3440f437b75fb2a9b0cfe58df461e40eca474

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
5.15.49
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.18.6

Database specific

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