# CVE-2024-50025: scsi: fnic: Move flush_work initialization out of if block

- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-10-21T19:39:29.845Z
- Modified: 2026-06-17T08:03:24.350Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

scsi: fnic: Move flush_work initialization out of if block

After commit 379a58caa199 ("scsi: fnic: Move fnic_fnic_flush_tx() to a
work queue"), it can happen that a work item is sent to an uninitialized
work queue.  This may has the effect that the item being queued is never
actually queued, and any further actions depending on it will not
proceed.

The following warning is observed while the fnic driver is loaded:

kernel: WARNING: CPU: 11 PID: 0 at ../kernel/workqueue.c:1524 __queue_work+0x373/0x410
kernel:  <IRQ>
kernel:  queue_work_on+0x3a/0x50
kernel:  fnic_wq_copy_cmpl_handler+0x54a/0x730 [fnic 62fbff0c42e7fb825c60a55cde2fb91facb2ed24]
kernel:  fnic_isr_msix_wq_copy+0x2d/0x60 [fnic 62fbff0c42e7fb825c60a55cde2fb91facb2ed24]
kernel:  __handle_irq_event_percpu+0x36/0x1a0
kernel:  handle_irq_event_percpu+0x30/0x70
kernel:  handle_irq_event+0x34/0x60
kernel:  handle_edge_irq+0x7e/0x1a0
kernel:  __common_interrupt+0x3b/0xb0
kernel:  common_interrupt+0x58/0xa0
kernel:  </IRQ>

It has been observed that this may break the rediscovery of Fibre
Channel devices after a temporary fabric failure.

This patch fixes it by moving the work queue initialization out of
an if block in fnic_probe().

(As written by CVE List.)

## Affected

- Linux Linux: from 379a58caa19930e010b7efa1c1f3b9411d3d2ca3 before 6b7836b80061bf1accc5d78b12bc086aed252388; from 379a58caa19930e010b7efa1c1f3b9411d3d2ca3 before f30e5f77d2f205ac14d09dec40fd4bb76712f13d; 6.8 (not affected: before 6.8; from 6.11.4 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.8 before 6.11.4; 6.12

## References

- <https://git.kernel.org/stable/c/6b7836b80061bf1accc5d78b12bc086aed252388> (patch)
- <https://git.kernel.org/stable/c/f30e5f77d2f205ac14d09dec40fd4bb76712f13d> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-50025 · Whole record: https://cve.day/CVE-2024-50025.json · Rebuilt by cve.day 2026-11-25T22:58:47.103Z
