[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025123051-CVE-2022-50871-c4e0@gregkh>
Date: Tue, 30 Dec 2025 13:20:07 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50871: wifi: ath11k: Fix qmi_msg_handler data structure initialization
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In 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
The Linux kernel CVE team has assigned CVE-2022-50871 to this issue.
Affected and fixed versions
===========================
Fixed in 6.0.16 with commit d5d71de448f36e34592f7c81b5e300d3e8dbb735
Fixed in 6.1.2 with commit a10e1530c424bb277b4edc7def0195857a548495
Fixed in 6.2 with commit ed3725e15a154ebebf44e0c34806c57525483f92
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50871
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/ath/ath11k/qmi.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/d5d71de448f36e34592f7c81b5e300d3e8dbb735
https://git.kernel.org/stable/c/a10e1530c424bb277b4edc7def0195857a548495
https://git.kernel.org/stable/c/ed3725e15a154ebebf44e0c34806c57525483f92
Powered by blists - more mailing lists