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 774102641FC for ; Fri, 22 Aug 2025 16:02:34 +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=1755878554; cv=none; b=Qs1AwBbGbLxBmEGl46ZRwQ8zt3dw6Y2GuMq8+E8K1zBR5TgibgvYQP9A2YexJf/BHSQYL/2D4ngn4u9mM33urK6R5XkwPCHnIzmUsBs3/5MnZAwNoOKqJn76mk1wKLGY/lz/Hk7AhI+BJ0mGQ3YTB+vQ/5hIBYt9My5/5CNn5uA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755878554; c=relaxed/simple; bh=f1ZxWUb835vxfA2Hf+mc3l7DEi8Vudmr3VDgHGayGKQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W3SZt1UZF3CQty4+llNg6zxu5d6sgpYlx1ctESTivJl0zuHbb+o7PtppE1P5Y/rzpU5MeiPIaks8araLMtPnWIFShdEWLNwXbw6CRp2Of3f623J5YCrIvJVofSsoXz3HLYzHycWkUj3pq2RptF/e/8vjGQRJUqBYNSxETOjwCZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MYZUcyTN; 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="MYZUcyTN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0A04C4CEF4; Fri, 22 Aug 2025 16:02:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755878554; bh=f1ZxWUb835vxfA2Hf+mc3l7DEi8Vudmr3VDgHGayGKQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MYZUcyTNXc3d/Asyb0pXMR85CQpuPqL5ECGVXuYYbHLArY5X3R5jjxEzuJPf9o0Hk yzjTo7DHWUc8bk8N0rPe6WeKboVMYKo0HIk6Dw32JdSHnUA3vbyRjoZGY2SWk9nOTv mzWag6QzjDk8lLHQhtwzU4Bverb94Qkzz3qKBS6E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38656: wifi: iwlwifi: Fix error code in iwl_op_mode_dvm_start() Date: Fri, 22 Aug 2025 18:01:04 +0200 Message-ID: <2025082238-CVE-2025-38656-32f1@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=2025; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KcN3JifL29N+HAXGOFkksNSJYjsWn+t4nKk/gPaZ5+g=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkrpqhNiWDiCi9j9m5d4lB6/UZQkLq41YvggvSnvPtOX 9dwuuDaEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMpmM8wV9qoefubC7vreN9f +16scb9eceuT5QwLFl6ZncnAGnD0YMerO8VBpVb2kvMFAA== 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: iwlwifi: Fix error code in iwl_op_mode_dvm_start() Preserve the error code if iwl_setup_deferred_work() fails. The current code returns ERR_PTR(0) (which is NULL) on this path. I believe the missing error code potentially leads to a use after free involving debugfs. The Linux kernel CVE team has assigned CVE-2025-38656 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1.148 with commit 6663c52608d8d8727bf1911e6d9218069ba1c85e Issue introduced in 6.6.102 with commit ca980f1911a7144d451d1c31298ab8507c6bd88f Issue introduced in 6.12.42 with commit 7dd6350307af6521b6240b295c93b7eec4daebe6 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-38656 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/intel/iwlwifi/dvm/main.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/991e2066f6009d3cb898413058c62dbcc92bd6d2 https://git.kernel.org/stable/c/1d068272c21d886d06526454b68368100ba0a720 https://git.kernel.org/stable/c/cf80c02a9fdb6c5bc8508beb6a0f6a1294fc32f6