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 B8D8D3385B5 for ; Wed, 22 Oct 2025 13:26:36 +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=1761139596; cv=none; b=hs/RTUf73MCT1ddm61oBXMLwBDy2gEySWqig4VpehRNzNJP/t7a3FjVJcAfuLMLfE2x6jJju3IiAXIpgYxEwrH1PiRF6bEci2JGfIaTkjJxeztOCwuDDjF8UpYqDJN1bvsCbJ48jmbBO8PfASE8vCQq1kvpeZFslPdWjt0lf2Ro= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139596; c=relaxed/simple; bh=frpDRGIarUBOPO4fBUQh3dsZIfmzxDNRCuiejMBWOhg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=M/2lBbsNVNytl1Rj1iJm12I3SL3k3GkgeC5n8YBNHS0i3iMr2y8gekjYwhy8YfzFQbpOUtLdl+Q8I5Ivyx8lNONj6YlSMCverjj5CxzK7QAlucHJM/TKYRqtTLU1IaF+nmsDHI9uBRH2NhvsGSgxV5eH17p/woolruXmWc5o/WY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PHAJjLAt; 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="PHAJjLAt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B49DC4CEF5; Wed, 22 Oct 2025 13:26:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761139596; bh=frpDRGIarUBOPO4fBUQh3dsZIfmzxDNRCuiejMBWOhg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=PHAJjLAtl8N2+C64TR5SxlBe4JOHCpoeH6nWLbTGRJJAHSNbCGc4ejDsWy6P+MVYc kH7zKXGKD2Wt+JOWOaBEJCh2SE5r5kmXtv2azyDbbbqf+lPADZHmoUrNY3tFvmjTRi a3tOA75DG1vW/Xt7NibyFeQNvLl5rywoZL6RBPb4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53721: wifi: ath12k: Fix a NULL pointer dereference in ath12k_mac_op_hw_scan() Date: Wed, 22 Oct 2025 15:25:00 +0200 Message-ID: <2025102214-CVE-2023-53721-f0ca@gregkh> X-Mailer: git-send-email 2.51.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1930; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6nc3BQrY4HzRKCUoMDK1p222YbaKdawCTO/OSdNbczE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk/bv17s/qjxd2YT34WmnEXY4LE2WVzCsymvZBlMlx/5 9/2p0faOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi12MZ5nvnPggLPtlX/1ez 0bBfS65j/vmWyQwLzmttsxQPzlGZ+0/niV2h3PKZu853AwA= 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: ath12k: Fix a NULL pointer dereference in ath12k_mac_op_hw_scan() In ath12k_mac_op_hw_scan(), the return value of kzalloc() is directly used in memcpy(), which may lead to a NULL pointer dereference on failure of kzalloc(). Fix this bug by adding a check of arg.extraie.ptr. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 The Linux kernel CVE team has assigned CVE-2023-53721 to this issue. Affected and fixed versions =========================== Fixed in 6.5.5 with commit 5a263df398b581189fe632b4ab8440f3dd76c251 Fixed in 6.6 with commit 8ad314da54c6dd223a6b6cc85019160aa842f659 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-2023-53721 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/ath12k/mac.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/5a263df398b581189fe632b4ab8440f3dd76c251 https://git.kernel.org/stable/c/8ad314da54c6dd223a6b6cc85019160aa842f659