{"id":"CVE-2022-50744","aliases":["CVE-2022-50744"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: lpfc: Fix hard lockup when reading the rx_monitor from debugfs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Fix hard lockup when reading the rx_monitor from debugfs\n\nDuring I/O and simultaneous cat of /sys/kernel/debug/lpfc/fnX/rx_monitor, a\nhard lockup similar to the call trace below may occur.\n\nThe spin_lock_bh in lpfc_rx_monitor_report is not protecting from timer\ninterrupts as expected, so change the strength of the spin lock to _irq.\n\nKernel panic - not syncing: Hard LOCKUP\nCPU: 3 PID: 110402 Comm: cat Kdump: loaded\n\nexception RIP: native_queued_spin_lock_slowpath+91\n\n[IRQ stack]\n native_queued_spin_lock_slowpath at ffffffffb814e30b\n _raw_spin_lock at ffffffffb89a667a\n lpfc_rx_monitor_record at ffffffffc0a73a36 [lpfc]\n lpfc_cmf_timer at ffffffffc0abbc67 [lpfc]\n __hrtimer_run_queues at ffffffffb8184250\n hrtimer_interrupt at ffffffffb8184ab0\n smp_apic_timer_interrupt at ffffffffb8a026ba\n apic_timer_interrupt at ffffffffb8a01c4f\n[End of IRQ stack]\n\n apic_timer_interrupt at ffffffffb8a01c4f\n lpfc_rx_monitor_report at ffffffffc0a73c80 [lpfc]\n lpfc_rx_monitor_read at ffffffffc0addde1 [lpfc]\n full_proxy_read at ffffffffb83e7fc3\n vfs_read at ffffffffb833fe71\n ksys_read at ffffffffb83402af\n do_syscall_64 at ffffffffb800430b\n entry_SYSCALL_64_after_hwframe at ffffffffb8a000ad","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: lpfc: Fix hard lockup when reading the rx_monitor from debugfs\n\nDuring I/O and simultaneous cat of /sys/kernel/debug/lpfc/fnX/rx_monitor, a\nhard lockup similar to the call trace below may occur.\n\nThe spin_lock_bh in lpfc_rx_monitor_report is not protecting from timer\ninterrupts as expected, so change the strength of the spin lock to _irq.\n\nKernel panic - not syncing: Hard LOCKUP\nCPU: 3 PID: 110402 Comm: cat Kdump: loaded\n\nexception RIP: native_queued_spin_lock_slowpath+91\n\n[IRQ stack]\n native_queued_spin_lock_slowpath at ffffffffb814e30b\n _raw_spin_lock at ffffffffb89a667a\n lpfc_rx_monitor_record at ffffffffc0a73a36 [lpfc]\n lpfc_cmf_timer at ffffffffc0abbc67 [lpfc]\n __hrtimer_run_queues at ffffffffb8184250\n hrtimer_interrupt at ffffffffb8184ab0\n smp_apic_timer_interrupt at ffffffffb8a026ba\n apic_timer_interrupt at ffffffffb8a01c4f\n[End of IRQ stack]\n\n apic_timer_interrupt at ffffffffb8a01c4f\n lpfc_rx_monitor_report at ffffffffc0a73c80 [lpfc]\n lpfc_rx_monitor_read at ffffffffc0addde1 [lpfc]\n full_proxy_read at ffffffffb83e7fc3\n vfs_read at ffffffffb833fe71\n ksys_read at ffffffffb83402af\n do_syscall_64 at ffffffffb800430b\n entry_SYSCALL_64_after_hwframe at ffffffffb8a000ad","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nscsi: lpfc: Corrección de un bloqueo total al leer el rx_monitor desde debugfs\n\nDurante E/S y la ejecución simultánea de cat en /sys/kernel/debug/lpfc/fnX/rx_monitor, puede ocurrir un bloqueo total similar a la traza de llamadas que se muestra a continuación.\n\nEl spin_lock_bh en lpfc_rx_monitor_report no está protegiendo de las interrupciones del temporizador como se esperaba, por lo tanto, cambie la fuerza del spin lock a _irq.\n\nPánico del kernel - no sincronizando: BLOQUEO total\nCPU: 3 PID: 110402 Comm: cat Kdump: loaded\n\nexcepción RIP: native_queued_spin_lock_slowpath+91\n\n[Pila IRQ]\n native_queued_spin_lock_slowpath at ffffffffb814e30b\n _raw_spin_lock at ffffffffb89a667a\n lpfc_rx_monitor_record at ffffffffc0a73a36 [lpfc]\n lpfc_cmf_timer at ffffffffc0abbc67 [lpfc]\n __hrtimer_run_queues at ffffffffb8184250\n hrtimer_interrupt at ffffffffb8184ab0\n smp_apic_timer_interrupt at ffffffffb8a026ba\n apic_timer_interrupt at ffffffffb8a01c4f\n[Fin de la pila IRQ]\n\n apic_timer_interrupt at ffffffffb8a01c4f\n lpfc_rx_monitor_report at ffffffffc0a73c80 [lpfc]\n lpfc_rx_monitor_read at ffffffffc0addde1 [lpfc]\n full_proxy_read at ffffffffb83e7fc3\n vfs_read at ffffffffb833fe71\n ksys_read at ffffffffb83402af\n do_syscall_64 at ffffffffb800430b\n entry_SYSCALL_64_after_hwframe at ffffffffb8a000ad","source":"nvd"}],"published":"2025-12-24T13:05:41.138Z","modified":"2026-11-10T12:10:00.177Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"21d65b35169112af9b6f873c8eeab972e60107c2","fixed":"2cf66428a2545bb33beb9624124a2377468bb478","status":"affected"},{"type":"git","introduced":"2c9b5b8326b953f2f48338a7c889e6af457d146f","fixed":"cd542900ee5147028bbe603b238efcab8d720838","status":"affected"},{"type":"git","introduced":"bd269188ea94e40ab002cad7b0df8f12b8f0de54","fixed":"39761417ea7b654217d6d9085afbf7c87ba3675d","status":"affected"},{"type":"git","introduced":"bd269188ea94e40ab002cad7b0df8f12b8f0de54","fixed":"c44e50f4a0ec00c2298f31f91bc2c3e9bbd81c7e","status":"affected"},{"type":"git","version":"147d397e08a406f5997f8a1c7f747fe546bf8395","status":"affected"},{"type":"semver","introduced":"5.15.78","fixed":"5.15.86","status":"affected"},{"type":"semver","introduced":"6.0.3","fixed":"6.0.16","status":"affected"},{"type":"semver","introduced":"5.19.17","fixed":"5.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.1","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2cf66428a2545bb33beb9624124a2377468bb478","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd542900ee5147028bbe603b238efcab8d720838","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/39761417ea7b654217d6d9085afbf7c87ba3675d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c44e50f4a0ec00c2298f31f91bc2c3e9bbd81c7e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50744","url":"https://www.cve.org/CVERecord?id=CVE-2022-50744","licence":"CVE Terms of Use","modified":"2026-05-23T15:25:06.550Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50744","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50744","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.344Z","epss":{"score":0.00262,"percentile":0.19209,"date":"2026-12-01T12:00:22.000Z"}}