# CVE-2024-50025: scsi: fnic: Move flush\_work initialization out of if block

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **Published:** 2024-10-21T19:39:29.845Z
- **Modified:** 2026-06-17T08:03:24.350Z

## Who should check

- Anyone running Linux \>= 379a58caa19930e010b7efa1c1f3b9411d3d2ca3, \< 6b7836b80061bf1accc5d78b12bc086aed252388; \>= 379a58caa19930e010b7efa1c1f3b9411d3d2ca3, \< f30e5f77d2f205ac14d09dec40fd4bb76712f13d
- Anyone running Linux 6.8

## 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().

## Affected and fixed versions

- Linux: \>= 379a58caa19930e010b7efa1c1f3b9411d3d2ca3, \< 6b7836b80061bf1accc5d78b12bc086aed252388; \>= 379a58caa19930e010b7efa1c1f3b9411d3d2ca3, \< f30e5f77d2f205ac14d09dec40fd4bb76712f13d (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50025. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50025.md
Affected: Linux >= 379a58caa19930e010b7efa1c1f3b9411d3d2ca3, < 6b7836b80061bf1accc5d78b12bc086aed252388; >= 379a58caa19930e010b7efa1c1f3b9411d3d2ca3, < f30e5f77d2f205ac14d09dec40fd4bb76712f13d; Linux 6.8
Fixed in: Linux 6b7836b80061bf1accc5d78b12bc086aed252388

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50025 being exploited?

There is no confirmed exploitation: CVE-2024-50025 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50025?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-50025?

Linux \>= 379a58caa19930e010b7efa1c1f3b9411d3d2ca3, \< 6b7836b80061bf1accc5d78b12bc086aed252388; \>= 379a58caa19930e010b7efa1c1f3b9411d3d2ca3, \< f30e5f77d2f205ac14d09dec40fd4bb76712f13d; Linux 6.8.

### Is there a fix for CVE-2024-50025?

Yes. Fixed in Linux 6b7836b80061bf1accc5d78b12bc086aed252388. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-50025?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50025>

HTML: <https://flawdb.com/CVE-2024-50025> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50025>
