← CVE Intelligence

CVE-2025-38121

wifi: iwlwifi: mld: avoid panic on init failure PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 7391b2a4f7dbb7be7dd763bc87506c10f570a8d3 before a26ec8e16958b6dd37dac9daf5fb6978fe0cb0b8; affected 7391b2a4f7dbb7be7dd763bc87506c10f570a8d3 before 960c7e6d388034d219dafffa6da0a5c2ccd5ff30
Linux / Linuxaffected 6.14; unaffected 0 before 6.14; unaffected 6.15.3 through 6.15.*; unaffected 6.16 through *

CWE

No CWE identifiers supplied.

References