CVE-2025-38121

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux7391b2a4f7dbb7be7dd763bc87506c10f570a8d3 < a26ec8e16958b6dd37dac9daf5fb6978fe0cb0b8affected
LinuxLinux7391b2a4f7dbb7be7dd763bc87506c10f570a8d3 < 960c7e6d388034d219dafffa6da0a5c2ccd5ff30affected
LinuxLinux6.14affected
LinuxLinux0 < 6.14unaffected
LinuxLinux6.15.3 <= 6.15.*unaffected
LinuxLinux6.16 <= *unaffected

Weaknesses

References