wifi: ath11k: Avoid buffer overread in ath11k_wmi_tlv_op_rx()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d5c65159f2895379e11ca13f62feabe93278985d · < 72a5e45f606ec454ef556a68ffd92e06b0677f44| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: Avoid buffer overread in ath11k_wmi_tlv_op_rx()
Currently, in ath11k_wmi_tlv_op_rx(), the firmware buffer is read without first verifying that the buffer has enough data to hold a header. This could result in a buffer overread.
Add an upfront length check before dereferencing skb->data as a wmi_cmd_hdr. The check is placed before the trace_ath11k_wmi_event() call to preserve the existing trace semantics (tracing the full raw WMI event including the header), unlike the analogous ath12k fix which could use skb_pull_data() directly.
Compile tested only.
From the CVE record · Linux
The Linux kernel's ath11k_wmi_tlv_op_rx() reads a firmware buffer without first checking that it contains a full header, which can cause a buffer overread. The input does not specify whether an attacker can trigger this, or any network, authentication, or user-interaction requirements.
Engineers running the Linux kernel with the ath11k Wi-Fi driver should check their kernel version against the vendor advisory; affected versions are not specified.