Bug 2376046 (CVE-2025-38121) - CVE-2025-38121 kernel: wifi: iwlwifi: mld: avoid panic on init failure
Summary: CVE-2025-38121 kernel: wifi: iwlwifi: mld: avoid panic on init failure
Keywords:
Status: NEW
Alias: CVE-2025-38121
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-03 09:02 UTC by OSIDB Bzimport
Modified: 2025-07-03 19:17 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-03 09:02:07 UTC
In the Linux kernel, the following vulnerability has been resolved:

wifi: iwlwifi: mld: avoid panic on init failure

In case of an error during init, in_hw_restart will be set, but it will
never get cleared.
Instead, we will retry to init again, and then we will act like we are in a
restart when we are actually not.

This causes (among others) to a NULL pointer dereference when canceling
rx_omi::finished_work, that was not even initialized, because we thought
that we are in hw_restart.

Set in_hw_restart to true only if the fw is running, then we know that
FW was loaded successfully and we are not going to the retry loop.

Comment 1 Avinash Hanwate 2025-07-03 19:16:00 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025070327-CVE-2025-38121-5390@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.