wifi: ath11k: Fix qmi_msg_handler data structure initialization
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.0.166.1.26.2In the Linux kernel, the following vulnerability has been resolved:
wifi: ath11k: Fix qmi_msg_handler data structure initialization
qmi_msg_handler is required to be null terminated by QMI module. There might be a case where a handler for a msg id is not present in the handlers array which can lead to infinite loop while searching the handler and therefore out of bound access in qmi_invoke_handler(). Hence update the initialization in qmi_msg_handler data structure.
Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1
From the CVE record · Linux
The Linux kernel's ath11k QMI handler array was not null-terminated as required. If a message ID has no handler, the search can loop indefinitely and access memory out of bounds. The input does not establish whether an attacker can trigger this, or what access or user interaction would be required.
Engineers running Linux systems that use the ath11k driver should check their kernel; affected versions are not specified.