wifi: ath11k: fix NULL dereference in ath11k_qmi_m3_load()
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: ath11k: fix NULL dereference in ath11k_qmi_m3_load()
If ab->fw.m3_data points to data, then fw pointer remains null. Further, if m3_mem is not allocated, then fw is dereferenced to be passed to ath11k_err function.
Replace fw->size by m3_len.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
In ath11k_qmi_m3_load(), a NULL-pointer dereference can occur when m3_data is present but m3_mem is not allocated. The input does not establish whether an attacker can trigger it, or whether authentication or user interaction is required.
Engineers running Linux kernels with the ath11k Wi-Fi driver should check their versions; affected versions are not specified.