CVE-2025-38602: iwlwifi: Add missing check for alloc_ordered_workqueue
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
iwlwifi: Add missing check for alloc_ordered_workqueue
Add check for the return value of alloc_ordered_workqueue since it may return NULL pointer.
The Linux kernel CVE team has assigned CVE-2025-38602 to this issue.
Affected and fixed versions
===========================
Issue introduced in 2.6.24 with commit b481de9ca074528fe8c429604e2777db8b89806a and fixed in 6.1.148 with commit 6663c52608d8d8727bf1911e6d9218069ba1c85e Issue introduced in 2.6.24 with commit b481de9ca074528fe8c429604e2777db8b89806a and fixed in 6.6.102 with commit ca980f1911a7144d451d1c31298ab8507c6bd88f Issue introduced in 2.6.24 with commit b481de9ca074528fe8c429604e2777db8b89806a and fixed in 6.12.42 with commit 7dd6350307af6521b6240b295c93b7eec4daebe6 Issue introduced in 2.6.24 with commit b481de9ca074528fe8c429604e2777db8b89806a and fixed in 6.15.10 with commit c0e43c3f6c0a79381b468574c241065998412b7c Issue introduced in 2.6.24 with commit b481de9ca074528fe8c429604e2777db8b89806a and fixed in 6.16.1 with commit 70a1b527eaea9430b1bd87de59f3b9f6bd225701 Issue introduced in 2.6.24 with commit b481de9ca074528fe8c429604e2777db8b89806a and fixed in 6.17-rc1 with commit 90a0d9f339960448a3acc1437a46730f975efd6a
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-38602
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/intel/iwlwifi/dvm/main.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/6663c52608d8d8727bf1911e6d9218069ba1c85e https://git.kernel.org/stable/c/ca980f1911a7144d451d1c31298ab8507c6bd88f https://git.kernel.org/stable/c/7dd6350307af6521b6240b295c93b7eec4daebe6 https://git.kernel.org/stable/c/c0e43c3f6c0a79381b468574c241065998412b7c https://git.kernel.org/stable/c/70a1b527eaea9430b1bd87de59f3b9f6bd225701 https://git.kernel.org/stable/c/90a0d9f339960448a3acc1437a46730f975efd6a