CVE-2022-49542
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/02/2025
Last modified:
01/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
scsi: lpfc: Move cfg_log_verbose check before calling lpfc_dmp_dbg()<br />
<br />
In an attempt to log message 0126 with LOG_TRACE_EVENT, the following hard<br />
lockup call trace hangs the system.<br />
<br />
Call Trace:<br />
_raw_spin_lock_irqsave+0x32/0x40<br />
lpfc_dmp_dbg.part.32+0x28/0x220 [lpfc]<br />
lpfc_cmpl_els_fdisc+0x145/0x460 [lpfc]<br />
lpfc_sli_cancel_jobs+0x92/0xd0 [lpfc]<br />
lpfc_els_flush_cmd+0x43c/0x670 [lpfc]<br />
lpfc_els_flush_all_cmd+0x37/0x60 [lpfc]<br />
lpfc_sli4_async_event_proc+0x956/0x1720 [lpfc]<br />
lpfc_do_work+0x1485/0x1d70 [lpfc]<br />
kthread+0x112/0x130<br />
ret_from_fork+0x1f/0x40<br />
Kernel panic - not syncing: Hard LOCKUP<br />
<br />
The same CPU tries to claim the phba->port_list_lock twice.<br />
<br />
Move the cfg_log_verbose checks as part of the lpfc_printf_vlog() and<br />
lpfc_printf_log() macros before calling lpfc_dmp_dbg(). There is no need<br />
to take the phba->port_list_lock within lpfc_dmp_dbg().
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15.46 (excluding) | |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.17.14 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.18 (including) | 5.18.3 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



