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

Published Oct 21, 2024
·
Updated

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

scsi: fnic: Move flushwork initialization out of if block

After commit 379a58caa199 ("scsi: fnic: Move fnicfnicflushtx() 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 queuework+0x373/0x410 kernel: <IRQ> kernel: queueworkon+0x3a/0x50 kernel: fnicwqcopycmplhandler+0x54a/0x730 [fnic 62fbff0c42e7fb825c60a55cde2fb91facb2ed24] kernel: fnicisrmsixwqcopy+0x2d/0x60 [fnic 62fbff0c42e7fb825c60a55cde2fb91facb2ed24] kernel: handleirqeventpercpu+0x36/0x1a0 kernel: handleirqeventpercpu+0x30/0x70 kernel: handleirqevent+0x34/0x60 kernel: handleedgeirq+0x7e/0x1a0 kernel: commoninterrupt+0x3b/0xb0 kernel: commoninterrupt+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 fnicprobe().

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=6.8<6.11.4
Linux Linux kernel=6.12-rc1
Linux Linux kernel=6.12-rc2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Oct 21, 2024
CVE Published
via MITRE·07:39 PM
Data Sourced
via MITRE·07:39 PM
Description
Feb 20, 2025
Data Sourced
via Launchpad·12:46 AM
Description
May 7, 2025
Data Sourced
via Ubuntu·01:04 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·01:04 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-50025?

CVE-2024-50025 is considered a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-50025?

To address CVE-2024-50025, update the Linux kernel to a fixed version such as 6.12.12-1 or later.

3

Which versions of the Linux kernel are affected by CVE-2024-50025?

CVE-2024-50025 affects Linux kernel versions from 6.8 to 6.11.4, as well as 6.12-rc1 and 6.12-rc2.

4

What does CVE-2024-50025 impact in the Linux kernel?

CVE-2024-50025 impacts the SCSI fnic driver related to uninitialized work queues.

5

Is there a patch available for CVE-2024-50025?

Yes, patches for CVE-2024-50025 are included in the recent updates to the Linux kernel as of versions 5.10.223-1 and later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203