CVE-2025-38121

Source
https://cve.org/CVERecord?id=CVE-2025-38121
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38121.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38121
Downstream
Published
2025-07-03T08:35:27Z
Modified
2026-08-12T03:51:11Z
Summary
wifi: iwlwifi: mld: avoid panic on init failure
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38121.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7391b2a4f7dbb7be7dd763bc87506c10f570a8d3
Fixed
a26ec8e16958b6dd37dac9daf5fb6978fe0cb0b8
Fixed
960c7e6d388034d219dafffa6da0a5c2ccd5ff30

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38121.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.15.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38121.json"