[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025071012-CVE-2025-38294-bc36@gregkh>
Date: Thu, 10 Jul 2025 09:42:35 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38294: wifi: ath12k: fix NULL access in assign channel context handler
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists