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 64826383305 for ; Sat, 15 Aug 2026 06:35:08 +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=1786775709; cv=none; b=gNGZwkKtaZP6EZHO7K6rF+RQr4zA8VG2Ny9yugiRj5ReSAatnpCMNcg/yRNTcsN89gBBole9PkUT6Koa4HD0pExTPrekiHUqqvuKajl7vlCclIhKDS/xOFRbyyvB/jacb3o3TVHs1W7np5LtPQYN9G7KviIyWpvYute4qqshKRQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775709; c=relaxed/simple; bh=7aGDo8DMReDNnFNmQ3radlYpJdTY8UgvImJSij2uIto=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Q7BwkTCw6dcXrwwTwi+rffNqkRV5dKmRRGnt8nOpcIv7PT5q0sMyYf/1WRrtgyaa60I12jFI+eQNUjf53510uREdNV+xmEG1KAqOOsWYvPuYPd726bjLFfrGJ6MaRvBOkzFzamUSReSYWrXVkwvMxoZgQet4+PvrAkVexpb+mN4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tgB+gO8c; 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="tgB+gO8c" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5CA71F000E9; Sat, 15 Aug 2026 06:35:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775708; bh=asiJxlBFAxVstUI8yWXEKpH7mY93kRAX766coaPl8mM=; h=From:To:Cc:Subject:Date:Reply-To; b=tgB+gO8cVP220hktxdnS4ESBlKJRpNnrscmTfmkVLkHv+2xsa6xqBSutRiawkI9DK ogJt22PZ9//aig72ImwLMqULT69fTenJjV1dGHiHffRJHinjNTddVdVg7O+K4V9hhg Uz078LwqWcmKwRxdZJvJUotpbhVqh8yqzVfgu5JY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74326: wifi: mt76: mt7921: fix resource leak in probe error path Date: Sat, 15 Aug 2026 15:10:53 +0900 Message-ID: <2026081554-CVE-2026-74326-72b3@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=2111; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JaAv4b6w3aCgLSNUwF1i+Faa1BVGXUdw2tXNow4MRWE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjHwFsYrSqw4LTj8755JQpl/tLP897LeufN+W3LXw4 I2z6tu+dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEXmYzzLOtrRFew2Lz1OcY Y2HDs/lGt99n+zDMs3PZbj39s9S5x3+Cql5o/N1jemDbXgA= 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: fix resource leak in probe error path When pcim_iomap_region() or devm_kmemdup() fail, the code returns directly without cleaning up previously allocated resources: - mt76_device allocated by mt76_alloc_device() - pci irq vectors allocated by pci_alloc_irq_vectors() Fix this by jumping to the existing error cleanup path instead of returning directly. The Linux kernel CVE team has assigned CVE-2026-74326 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit ee5bb35d2b83fadc6920aa2478326fb50ea653a9 and fixed in 7.1.5 with commit 79a307b2730e4b4e060cf3e19a6c21b87116ee78 Issue introduced in 7.1 with commit ee5bb35d2b83fadc6920aa2478326fb50ea653a9 and fixed in 7.2-rc1 with commit 346dac35b1384af9338b34b6835e82e634ea4d2c 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-74326 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/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/79a307b2730e4b4e060cf3e19a6c21b87116ee78 https://git.kernel.org/stable/c/346dac35b1384af9338b34b6835e82e634ea4d2c