From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 857E054A7DD for ; Fri, 11 Sep 2026 19:46:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789155987; cv=none; b=r+CuQEFlO/hV/NeLf+ONr5GN9PXs4LHt2clmSlzxpVnixA1linWIyVQ1+OMmlimwqx/li/DKMCJDT4hbFWcwUKqRFtWI5PcNYnEu8pWfG+U5AE13A35hDABxefjCxFsM8et0ALjKUa9XjS7UZROWZXsCQQrURwbRPulsZaa2edw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789155987; c=relaxed/simple; bh=boIvwKNTcYARdUyX/DXmVmDp38CU8PmXT3BGM8NIImg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H8TS/iimbDShBHkxHlbUkVHdH2Lyr7I6I7HtpuWRY8N0ZeULNN2pxORFmpI6GwXzCVw+eJtMSdAPLzRYyDbOY3irGG//R7mWcsbQmUs+FHyr3NLevVfcNWuFRu8U8fw3fL7Ymm7/AIM3Lav44rK6bqh4B3zuIu/1dG/HwmedSHw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yOZf5aHg; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yOZf5aHg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E0951F00893; Fri, 11 Sep 2026 19:46:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789155971; bh=P8RFtqHEkexDw6fqQEZTQD6UVQ6AfUZAHsY9jP309w4=; h=From:To:Cc:Subject:Date:Reply-To; b=yOZf5aHgdRJ1b3Q60lC8ywAgDRxEVeHXxQB46DBXW1+vpGhSSR9M79rQ2Y7kOebTh u0hMavEWoEVc2sbEoguFurl/vaMa8Py9zDJHi7tNAqrKqGWogkEkVdXbhEqVjpFc3r nH2dvXCHc/2D7f/6BIH91oRJXg7N/iYy3nnhyXyk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80944: wifi: mwifiex: Detach sync cmd buffer on interrupted wait Date: Fri, 11 Sep 2026 21:40:50 +0200 Message-ID: <2026091138-CVE-2026-80944-a213@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4000; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cvT44MRGI4SFbFuQ2ciyDLY7yw2R8AY5nON6qLp4SO4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIs02y6UXHU90r5yxO1XaPX3KmlaTD1sueYrdf/g9v itJ+nFQRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkIZthfnDIL+aif7OP1tv0 f2Y613tCKWttFcM89ceNJa3PBfazrtjzI/VXvpvnvmMlAA== 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: mwifiex: Detach sync cmd buffer on interrupted wait mwifiex synchronous commands keep the caller-provided data buffer in cmd_node->data_buf. Several callers pass stack-allocated objects there. If wait_event_interruptible_timeout() is interrupted, the caller can return and release that stack object while the firmware command is still the current command. A late firmware response then reaches the normal response handler, which can copy data through cmd_node->data_buf into the stale stack address. This fixes a stack corruption observed during repeated association and disassociation cycles. The panic trace showed the command wait being interrupted immediately before a bad pointer dereference: cmd_wait_q terminated: -512 Unable to handle kernel paging request at virtual address 002c583837384662 Kernel panic - not syncing: stack-protector: Kernel stack is corrupted ... Tainted: [M]=MACHINE_CHECK The fault address decodes as little-endian ASCII: 0x002c583837384662 -> "bF878X,\0" which is a fragment of the VERSION_EXT firmware string exposed as debugfs "verext": w8997o-V4, RF878X, FP92, 16.92.21.p153.7 The same runs also showed corrupted control data containing: 0x2400372e333531 -> "153.7\0$" which is the tail of the same VERSION_EXT string. This points at a late VERSION_EXT response writing through a stale stack-backed data_buf after the interrupted wait returned. After cancelling pending commands on an interrupted or timed-out wait, detach the caller-owned data buffer from the still-current command. This preserves the existing command cancellation behaviour while preventing a late response from writing through a pointer whose lifetime ended with the waiting caller. Tested on an i.MX8MP board using an 88W8997. The Linux kernel CVE team has assigned CVE-2026-80944 to this issue. Affected and fixed versions =========================== Issue introduced in 3.15 with commit 3d026d09b28dda24777129a931634949c75a9181 and fixed in 6.12.109 with commit 20ee9c03f261bf6ac59331e2ca7b46b23646412a Issue introduced in 3.15 with commit 3d026d09b28dda24777129a931634949c75a9181 and fixed in 6.18.50 with commit b1bbeb8970eeb6c6bf3cd5314138103f7b69446d Issue introduced in 3.15 with commit 3d026d09b28dda24777129a931634949c75a9181 and fixed in 7.2.4 with commit d29a165588b6a0cf7a38db5cbd602aef7ef8c658 Issue introduced in 3.15 with commit 3d026d09b28dda24777129a931634949c75a9181 and fixed in 7.3-rc1 with commit ef06882c7d8a7400b67d0d003b1008093dd589ed 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-2026-80944 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/marvell/mwifiex/sta_ioctl.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/20ee9c03f261bf6ac59331e2ca7b46b23646412a https://git.kernel.org/stable/c/b1bbeb8970eeb6c6bf3cd5314138103f7b69446d https://git.kernel.org/stable/c/d29a165588b6a0cf7a38db5cbd602aef7ef8c658 https://git.kernel.org/stable/c/ef06882c7d8a7400b67d0d003b1008093dd589ed