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 2711928751F for ; Thu, 10 Jul 2025 07:43:17 +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=1752133397; cv=none; b=RKRguvuSwOlS5S4TOTrn+/aEoYS46khVGLoOdQM4k4yC9+QqV9E7m027ldHxK5Rg8Gd4Ym5rSxhz6bJ2sHPqwr4XF+e1EUmxOruOVGGMkVbOSaNoU7i9pylLPf0OINLHmOqeuCO4dkewX+QWRBqQzmZmwUfYbBpNw5n4EHiSS/Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133397; c=relaxed/simple; bh=WUfbGJsyNlP0vLnOl/2vmDFkatxjmR/d73njpPdkn4A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bHBy5ZVxxdWuy3EilCzzcYVwM1ZhQxb1KWthBdk3lHB46ys7GjLww6+a16F9dGWMYHZKihKSeCtw1dcRp+P0+87rCR3f+thpemCEnVfW0+XdoQ2V19Dp6an7C5xd2dGoKiBDGGhDq7no7Zo2nIoGKZIIWoFk8eiRz/3WisenEeQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mNOVSs6L; 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="mNOVSs6L" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC3FEC4CEE3; Thu, 10 Jul 2025 07:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133397; bh=WUfbGJsyNlP0vLnOl/2vmDFkatxjmR/d73njpPdkn4A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mNOVSs6LTypzI4Klwpf9YZEhuAeOkPfLyV6WmWlnSzC1gxIJ/qphUW6dZTDCsiYXH GdMJov//vYgpSVKVmdEf5w8reZFF6QisvrPUYjnethEwq0OIa2CZZb65FZ4j8NFu1S SagD0Y/nbuGXz7hHVOiJfkw5doOaKQ2oQYPz/mtY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38294: wifi: ath12k: fix NULL access in assign channel context handler Date: Thu, 10 Jul 2025 09:42:35 +0200 Message-ID: <2025071012-CVE-2025-38294-bc36@gregkh> X-Mailer: git-send-email 2.50.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=2276; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hCJIPt+EsMoe50QvazbE+fLdyH1Mf70SC0aAEedqR0s=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5eVfsNyx9tVBH+NeL8zGMiedtU3Y/1Db7/FHHL7HHx N6t5c6ujlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIpk8MC25uvbDzxO29wqHr GwuNd/J6nHV+/J5hvldtu+nqUMaCcr4Vr3+HsS9M//hBEQA= 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 NULL access in assign channel context handler Currently, when ath12k_mac_assign_vif_to_vdev() fails, the radio handle (ar) gets accessed from the link VIF handle (arvif) for debug logging, This is incorrect. In the fail scenario, radio handle is NULL. Fix the NULL access, avoid radio handle access by moving to the hardware debug logging helper function (ath12k_hw_warn). Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 The Linux kernel CVE team has assigned CVE-2025-38294 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 90570ba4610bdb1db39ef45f2b271a9f89680a9d and fixed in 6.15.3 with commit 3f919f76893069ec3c7475acaeb611eb31fca22d Issue introduced in 6.14 with commit 90570ba4610bdb1db39ef45f2b271a9f89680a9d and fixed in 6.16-rc1 with commit ea24531d00f782f4e659e8c74578b7ac144720ca 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-2025-38294 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/3f919f76893069ec3c7475acaeb611eb31fca22d https://git.kernel.org/stable/c/ea24531d00f782f4e659e8c74578b7ac144720ca