# CVE-2022-49537: scsi: lpfc: Fix call trace observed during I/O with CMF enabled

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 14% of CVEs (2026-11-30)
- Published: 2025-02-26T02:13:54.542Z
- Modified: 2026-06-17T05:18:22.920Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 02243836ad6f384284f10302e6b820b893960d1c before ae373d66c427812754db5292eb1481b181daf9ce; from 02243836ad6f384284f10302e6b820b893960d1c before cd7f899de4b1b829125d72ee6fbfd878b637b815; from 02243836ad6f384284f10302e6b820b893960d1c before 517e0835cfb2007713ff16c4fb8479f08b16aec7; from 02243836ad6f384284f10302e6b820b893960d1c before d6d45f67a11136cb88a70a29ab22ea6db8ae6bd5; 5.15 (not affected: before 5.15; from 5.15.46 up to 5.15.*; from 5.17.14 up to 5.17.*; from 5.18.3 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: before 5.15.46; from 5.16 before 5.17.14; from 5.18 before 5.18.3

## References

- <https://git.kernel.org/stable/c/ae373d66c427812754db5292eb1481b181daf9ce> (patch)
- <https://git.kernel.org/stable/c/cd7f899de4b1b829125d72ee6fbfd878b637b815> (patch)
- <https://git.kernel.org/stable/c/517e0835cfb2007713ff16c4fb8479f08b16aec7> (patch)
- <https://git.kernel.org/stable/c/d6d45f67a11136cb88a70a29ab22ea6db8ae6bd5> (patch)

## Sources

- CVE List: [CVE-2022-49537](https://www.cve.org/CVERecord?id=CVE-2022-49537), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49537](https://nvd.nist.gov/vuln/detail/CVE-2022-49537), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49537 · Whole record: https://cve.day/CVE-2022-49537.json · Rebuilt by cve.day 2026-11-25T22:58:20.716Z
