Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ABB952C3254 for ; Tue, 30 Dec 2025 12:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097345; cv=none; b=iE5Fe2oebaVzkb3k1bXHslDovO+qN286in5+CTDKvaWyR9stwHgAgAUIlyU8XHotjOpTvtnQVn8SF9e94SZ9rRJrDuu2HlmnR6jnDaI19MHVxNMN4fk2UemnSrRns3rLO47zneA4mYDYZnjKD0sXBjeslFSl+SMIs6+pN3CsDfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097345; c=relaxed/simple; bh=uqCRtmNzIZ+MTwj/0eEKoledXeUqWsXHUA5OILpQhH4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ezCm+PO6M+cXKsLcrmjVWW9TJReh4ulxTRtXC7rBI9vwRCK4mYG93WQEU0H0lDy/gdCyz7fNvZnHcDoawYvqLAaTjOI6flWsaZjJ5zMbqHpwNU4aLCH5LZZbeZk9rS/+NhxkOYQ0AV7sfaNoGRi+h9mlOOb1eF07NHtoFYYn02s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hEwvH3hL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hEwvH3hL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39006C4CEFB; Tue, 30 Dec 2025 12:22:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097345; bh=uqCRtmNzIZ+MTwj/0eEKoledXeUqWsXHUA5OILpQhH4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=hEwvH3hLHE6n+81wbLEtn8fKHqsSEiv+5XRfDVxXQYRA9cWy4+MAJoYiEnJnMtvhJ DRKg7CoAyEvRT+EmmR23U6nMtNXY83c2cUi//XU9FCmEiEyKF52DoaQV5K+J7L6dMy 7ixRXfcAB+yp/zG4n2L0vNmZrAF8r+aVL37HBIk4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50871: wifi: ath11k: Fix qmi_msg_handler data structure initialization Date: Tue, 30 Dec 2025 13:20:07 +0100 Message-ID: <2025123051-CVE-2022-50871-c4e0@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2181; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jqCcTMS7gWighq2lNKdFJUmx38hMhR/77oy6cH3E87A=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBh9PNlG/tFryVpSGoO/2Xfyvn4hKNK7dfTDjFsW2tw Y6fPvO4O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiB5sY5mfvj+47a/7d46n3 vwc8bEdu6Dyw5WOYZzPF6NiTe+c7rna93R9Xpjpnt7laHgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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