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 8DBBE4F5DFB for ; Thu, 17 Sep 2026 16:27:22 +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=1789662443; cv=none; b=KT8KFsdSx8sl/R3PZl3pyKEKF427yp5hzrw6fljHbg5K7gQHkzYFrPom1tivSgRX6m3DBUN6jxvfWg/s6W1xlxF2vz36UqoMZvWMvxJHPZxJ7/LrLap6eguB+noN27ZGNBbLZA1OfikeWwkOArhTZom+dH2WJ5+/iGFW+Bc8BJg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662443; c=relaxed/simple; bh=KIQ9pX3FHy5zLDUktyw7FWC4IBVq7EoBdUEZ0A8tLrs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tM4fp9sy5fxiIHXqhM/wqNVeUpfsWw9W12yxpkM9PwvzzyJbbKX+pHqxuni5zjZuk+TbfEA7AA4d0NPCSOKpcU3qC2hRzXjX1QmBL5oyc0/1Cm+XhL91SMqpwGwgu7cuG5Yr968qPE4O4dTvUsEpay/zQJ1IbVvQicTZ69oIMpU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CTseBiYJ; 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="CTseBiYJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC4821F000FF; Thu, 17 Sep 2026 16:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662442; bh=gjxmJEZcGOcxFqte0ZtT5GbGodDRA/dmHTMY/Iz45B4=; h=From:To:Cc:Subject:Date:Reply-To; b=CTseBiYJjHSLP/4PmfIDxjBXJsrJ4Ts+nVNBOJJ92zRtsXpNieOaAqxKfAnfhieVu tr+AHCRj0BxNBWwdgS86a9YYgNDxawUzRtDg0HMthvGrN5qeikeLMEUQETwy0nFmcx 4GwgRY0RMmVwmlFLcm3jD1/nNR4YvZ/v9DJnwkq0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90354: wifi: mt76: mt7915: fix double hif2 init on the non-WED path Date: Thu, 17 Sep 2026 17:13:04 +0100 Message-ID: <2026091705-CVE-2026-90354-7ad2@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=3221; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DON/pgYfKPKRWo0415b55Czwvnr87n3BONt0HR58y/o=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBBZGCZurfdpt0alh8dGzcPn+G13T1uyd8yXPy8jLy Pp+yZOIjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIjRDDglviO7eXvvQud+ab WvnnRvFU8QuXNzAsaGQ4Vvbi8i4lYU/P75r9Wr5mO88tAQA= 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: mt7915: fix double hif2 init on the non-WED path mt7915_pci_init_hif2() was called unconditionally and again inside the WED-inactive branch. The helper increments the global hif_idx, writes the PCIe RECOG_ID register and takes a get_device() reference via mt7915_pci_get_hif2(), while removal only drops one reference. On non-WED dual-hif hardware this double-incremented hif_idx, wrote RECOG_ID twice and leaked a device reference. Only the call inside the WED-inactive branch is correct; drop the unconditional one. hif2 is already initialised to NULL. The Linux kernel CVE team has assigned CVE-2026-90354 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit cacdd67812c6df824704ac078f1770188a485ff9 and fixed in 6.1.188 with commit eac18fadc791928379b179e54636494b92f8cf86 Issue introduced in 5.18 with commit cacdd67812c6df824704ac078f1770188a485ff9 and fixed in 6.6.157 with commit 927fe8c0eb8c10295bc0018c8faa4d91f8fe98c6 Issue introduced in 5.18 with commit cacdd67812c6df824704ac078f1770188a485ff9 and fixed in 6.12.110 with commit bd2e8f535ae35beb45a7fcc17ec9bbf8dc4db5fe Issue introduced in 5.18 with commit cacdd67812c6df824704ac078f1770188a485ff9 and fixed in 6.18.52 with commit 249cbaa1873550689fab136b74982cbba74c4169 Issue introduced in 5.18 with commit cacdd67812c6df824704ac078f1770188a485ff9 and fixed in 7.2.6 with commit 29fbc5256c2d8448f084ff179d2e5092ecd1fc54 Issue introduced in 5.18 with commit cacdd67812c6df824704ac078f1770188a485ff9 and fixed in 7.3-rc1 with commit 3ae8ad277e2819a281b0e36b55633c8515c16ce7 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-90354 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/mt7915/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/eac18fadc791928379b179e54636494b92f8cf86 https://git.kernel.org/stable/c/927fe8c0eb8c10295bc0018c8faa4d91f8fe98c6 https://git.kernel.org/stable/c/bd2e8f535ae35beb45a7fcc17ec9bbf8dc4db5fe https://git.kernel.org/stable/c/249cbaa1873550689fab136b74982cbba74c4169 https://git.kernel.org/stable/c/29fbc5256c2d8448f084ff179d2e5092ecd1fc54 https://git.kernel.org/stable/c/3ae8ad277e2819a281b0e36b55633c8515c16ce7