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 EBEFE3515DA for ; Thu, 17 Sep 2026 16:28:30 +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=1789662512; cv=none; b=Ho9EB8x92tWyVzLtGJodMA6K7QDIDQ86Co+VmWXOrilHxd8+AsiGrFYRn3rBm7bt3/qUiIFdHJbUD6z/WNfGLnDncG5GS7CZDiTGnYClDxnyCNuT2KNEoP+nayQY7zJKTR8D5sItAxafJ1vyEzgjZH9bcryFoZ+9y9zTNeCoov0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662512; c=relaxed/simple; bh=HbZVNJxdx3oQwNpNL50ByGBSKl05UL/AgOisvw/BwsM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I/6zM59RNYNnFW1cbAkzgntV1EQEvyfYtby7oSgHpvcFVG6YWVO3oRGvcMxyboMhYA1NXLLfoaOi0CRxttx4ikLMkjtcaDjYelwmhkQOPrllg8rg5xO8WuK/4XD3qfHFmNzNTuegESorN+brPpAv5oKKFzZ/yB3YNy2UPmyoByQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=enJI2Gq4; 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="enJI2Gq4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B0701F00898; Thu, 17 Sep 2026 16:28:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662510; bh=Oze0SBmBCiAUbowq7BqR4Pk6pGkK4fBQaM5qjhMfywk=; h=From:To:Cc:Subject:Date:Reply-To; b=enJI2Gq430pd584HtHJSV4kKUz66dB3KfkBMBnYA3Gr+ZKqs5/sR9bs3XfWtAS5C4 IHtpiqlwnBcLD3xEVkpe1hH/C1u0Nd+aYvmzZk4ywzszEXJ/cJaJNTo/Q3ad41yvmP LPSddFaqPu9tKj7V1CPdUVEpO1/pszQ59scbZwDI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90379: wifi: mt76: mt7921: Add PCIe AER handler support to prevent system crash Date: Thu, 17 Sep 2026 17:13:29 +0100 Message-ID: <2026091710-CVE-2026-90379-4ebb@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=4486; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uYgzLaU/lFW5W2wfz+3CKzFGmeni9hWoSKsOLF/twbA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBJbZeEUtLPA33Sk1L+Lpz2r9GtdFAXmPg0rszuUwR U2vWBjVEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOZOolhnu3tZS7SZV35HVO1 qlkedfptK/3OyDA/cDmHe8JCtSU8Pif/L1dpP7FrnaQQAA== 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: mt76: mt7921: Add PCIe AER handler support to prevent system crash When an AER error occurs and the bus is hung, the register reads return 0xFFFFFFFF, causing the DMA queue state to be corrupted and resulting in an invalid memory access when accessing q->desc[] or q->entry[]. Unable to handle kernel paging request at virtual address ffffffc01099eac0 pc : mt76_dma_add_buf+0x124/0x188 [mt76] lr : mt76_dma_rx_fill+0x11c/0x1d8 [mt76] sp : ffffffc016d9bbf0 x29: ffffffc016d9bc10 x28: 0000000000000000 x27: 0000000000000000 x26: ffffffb7855e50b8 x25: ffffffb80d04f000 x24: 0000000000000000 x23: 0000000000000ec0 x22: ffffffb796803648 x21: ffffffb796801f80 x20: ffffffb7968035f8 x19: 0000000000000ec0 x18: 0000000000000000 x17: 000000004ec00000 x16: 000000000ec00000 x15: ffffffc01099eac0 x14: 000000004ec00000 x13: 00000000ffc5a000 x12: ffffffc016d9bc32 x11: 00000000ffffffff x10: 0000000000000002 x9 : 0000000000000000 x8 : 000000000000b4ac x7 : 0000000000000a20 x6 : ffffffb6c1806400 x5 : 0000000000000000 x4 : ffffffb80d04f000 x3 : 0000000000000000 x2 : 0000000000000001 x1 : 000000000ec04000 x0 : ffffffb7968035f8 Call trace: mt76_dma_add_buf+0x124/0x188 [mt76 (HASH:1029 4)] mt76_dma_rx_reset+0xe8/0xfc [mt76 (HASH:1029 4)] mt7921_wpdma_reset+0x188/0x1b0 [mt7921e (HASH:ee48 5)] mt7921e_mac_reset+0x128/0x418 [mt7921e (HASH:ee48 5)] mt7921_mac_reset_work+0xac/0x1a8 [mt7921_common (HASH:f721 6)] process_one_work+0x188/0x514 worker_thread+0x12c/0x300 kthread+0x140/0x1fc ret_from_fork+0x10/0x30 Fix the invalid memory access by validating the DMA index read from the hardware before it is used as a queue index. An out-of-range value, such as the 0xFFFFFFFF returned while the bus is hung, is now clamped so it can no longer corrupt q->head or q->tail. In addition, check the bus_hung flag in mt7921_mac_reset_work() before attempting the reset sequence, reject MCU messages while the bus is hung, and install no-op bus operations when an unrecoverable AER error is detected, preventing further invalid hardware accesses. Due to hardware limitations - such as the lack of a connected hardware reset pin or the absence of host re-probe functionality - affected Wi-Fi devices may not fully recover to a normal operational state after certain errors, even with AER enabled. The Linux kernel CVE team has assigned CVE-2026-90379 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit 17f1de56df051229988aab37e01971c9713c4a31 and fixed in 6.18.52 with commit 670b3dc4e3713542a9f002d38fb9d1740b9e342b Issue introduced in 4.16 with commit 17f1de56df051229988aab37e01971c9713c4a31 and fixed in 7.2.6 with commit f544bcba4721e1074e9bc6666f0ef4f8b96ddba8 Issue introduced in 4.16 with commit 17f1de56df051229988aab37e01971c9713c4a31 and fixed in 7.3-rc1 with commit 915672c5ae32deeb72f4572856d123f314791136 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-90379 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/mediatek/mt76/dma.c drivers/net/wireless/mediatek/mt76/mcu.c drivers/net/wireless/mediatek/mt76/mt76_connac.h drivers/net/wireless/mediatek/mt76/mt7921/mac.c drivers/net/wireless/mediatek/mt76/mt7921/pci.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/670b3dc4e3713542a9f002d38fb9d1740b9e342b https://git.kernel.org/stable/c/f544bcba4721e1074e9bc6666f0ef4f8b96ddba8 https://git.kernel.org/stable/c/915672c5ae32deeb72f4572856d123f314791136