CVE-2022-49537 Information
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:
this_cpu_ptr() calls smp_processor_id() in a preemptible context.
Fix by using per_cpu_ptr() with raw_smp_processor_id() instead.
Reference
https://git.kernel.org/stable/c/517e0835cfb2007713ff16c4fb8479f08b16aec7 https://git.kernel.org/stable/c/ae373d66c427812754db5292eb1481b181daf9ce https://git.kernel.org/stable/c/cd7f899de4b1b829125d72ee6fbfd878b637b815 https://git.kernel.org/stable/c/d6d45f67a11136cb88a70a29ab22ea6db8ae6bd5
Share on: