CVE-2022-49537

scsi: lpfc: Fix call trace observed during I/O with CMF enabled

published February 26, 2025

CVSS
—
EPSS
0%
Percentile
18.0
In the wild
Unconfirmed
What it is

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

scsi: lpfc: Fix call trace observed during I/O with CMF enabled

The following was seen with CMF enabled:

BUG: using smp_processor_id() in preemptible

code: systemd-udevd/31711

kernel: caller is lpfc_update_cmf_cmd+0x214/0x420 [lpfc]

kernel: CPU: 12 PID: 31711 Comm: systemd-udevd

kernel: Call Trace:

kernel: <TASK>

kernel: dump_stack_lvl+0x44/0x57

kernel: check_preemption_disabled+0xbf/0xe0

kernel: lpfc_update_cmf_cmd+0x214/0x420 [lpfc]

kernel: lpfc_nvme_fcp_io_submit+0x23b4/0x4df0 [lpfc]

this_cpu_ptr() calls smp_processor_id() in a preemptible context.

Fix by using per_cpu_ptr() with raw_smp_processor_id() instead.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00268 · 18.0th percentile
Published
2025-02-26T02:13Z
EPSS history
Timeline
  • 26 FEB 02:13Z
    scsi: lpfc: Fix call trace observed during I/O with CMF enabled
    cvelistv5