wifi: iwlwifi: mvm: avoid NULL pointer dereference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: iwlwifi: mvm: avoid NULL pointer dereference
iwl_mvm_tx_skb_sta() and iwl_mvm_tx_mpdu() verify that the mvmvsta pointer is not NULL. It retrieves this pointer using iwl_mvm_sta_from_mac80211, which is dereferencing the ieee80211_sta pointer. If sta is NULL, iwl_mvm_sta_from_mac80211 will dereference a NULL pointer. Fix this by checking the sta pointer before retrieving the mvmsta from it. If sta is not NULL, then mvmsta isn't either.
From the CVE record · Linux
The Linux kernel's iwlwifi mvm code can dereference a NULL pointer when sta is NULL in the affected transmit functions. This can cause a crash; the input does not establish how an attacker could trigger it or whether access or user interaction is required.
Engineers running the Linux kernel with iwlwifi should check whether their kernel includes the fix; affected versions are not specified.