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 C362028751F for ; Thu, 10 Jul 2025 07:43:11 +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=1752133391; cv=none; b=kKrd00y/hHTM2+YTLhxUGBMGOBxrE6rxqMEai/zHbbXvpLBCgln9RpjeOrKv+vyfE8skzf05+wpF1yjzx0Yem0Q2skM6hM++p+15pPIZmJjXurUiiYCBR1TU8N8RlZVCcTEavKLrKPJeie7LAEkuIjQ5dMrIdVKe2B0De0Tr+Hc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133391; c=relaxed/simple; bh=aewNOjhxffQ5VnkemWULDFkgPnIX13zAsCdDUgOusnE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uT2oAJ6iQFvkRfpw47JAAx9P9duUjm8TzPYRSTIxCgZW6IkiyAGSSaJFoY3aVBtlxfr9Jh8WVj68RbELtNUAPezrUwm+CzZrBvOYIl84LbW0yGm/N/A/Yj/fBEmERlzoMiByP8n6DRmaRi/HRLN1Y5rcALecyoEVxPb5MOmnI3M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EPNRFaP3; 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="EPNRFaP3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E930C4CEE3; Thu, 10 Jul 2025 07:43:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133391; bh=aewNOjhxffQ5VnkemWULDFkgPnIX13zAsCdDUgOusnE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=EPNRFaP3CVWtytglKSdMmF8I5DMCGHY8NhUNPjCfSfRKDmVTeHuXe5sIutyrgoC+x RU4YYEqxMJIRQgHYzzesb3mBqtlqnRS44gwGotS/ScYV6r9q0/NwxKnyqbZPTTVRFi 3mEmaeTeToIKmPlCW586XSiG5eAo0lYVxrQJEGLo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38292: wifi: ath12k: fix invalid access to memory Date: Thu, 10 Jul 2025 09:42:33 +0200 Message-ID: <2025071011-CVE-2025-38292-e03a@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=2411; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tvdIo8sQ5jHk/KTXmcDM36UlZTNlsUG7fb1Ij73HH5k=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5eZdZ9nP3Bypa2ncy1M/+Hyc/yfXao90/NkZmiXspB ojWfgjsiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkYLmBYcP5OhXX6x2zOuxGH Rde+tNugynCfm2HBJpuSrA+dEyrWKLNci8roquo/kR0BAA== 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 invalid access to memory In ath12k_dp_rx_msdu_coalesce(), rxcb is fetched from skb and boolean is_continuation is part of rxcb. Currently, after freeing the skb, the rxcb->is_continuation accessed again which is wrong since the memory is already freed. This might lead use-after-free error. Hence, fix by locally defining bool is_continuation from rxcb, so that after freeing skb, is_continuation can be used. Compile tested only. The Linux kernel CVE team has assigned CVE-2025-38292 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.12.34 with commit 371b340affa52f280f6eadfd25fbd43f09f0d5c0 Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.15.3 with commit 5f09d16cd57764c95c8548fe5b70672c9ac01127 Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.16-rc1 with commit 9f17747fbda6fca934854463873c4abf8061491d 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-38292 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/dp_rx.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/371b340affa52f280f6eadfd25fbd43f09f0d5c0 https://git.kernel.org/stable/c/5f09d16cd57764c95c8548fe5b70672c9ac01127 https://git.kernel.org/stable/c/9f17747fbda6fca934854463873c4abf8061491d