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 A74C53264CB for ; Wed, 24 Jun 2026 16:40:03 +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=1782319204; cv=none; b=QRZvti+A5SJFWAJzuqJs++H64Ta8koPqalfTc365UrOZggytV6N3Cebp/i8OU0z4RgvHNnonHENmbpQiCwDEImGhtUa3Gx8HDagnRo6WxkyoZtwm4DNQpY+nSxgEbZmnRffj2Ih6QksSWBEAUR3LPmLXO16aTYrbNHXJBuyI6iQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319204; c=relaxed/simple; bh=NttRzJHAuPRgkNCRl+9JUSE+QS8b2mIRPwvYAhBHHMk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JPOG5wCuYPRMVc7yAzR9PHM/QXnxqgz9wN0h3CfJyA2KU7+/TZ/WtngxYCgdNY0pAk4csKsyxPUuJLuneRDLR2Mcom5o+wwb9i3w2zkFVGWZ5gUkGFx77JcYZyEMsnx8o7ikuUtdBzndQDFue80JgVHILzHzOHhSIMth3/+j8r0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QIqY1hE7; 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="QIqY1hE7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC8411F00A3A; Wed, 24 Jun 2026 16:40:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319203; bh=yhl7XXk1wt5BZz5iFs8zfMoNDfmdazF6oza5Btw2vAo=; h=From:To:Cc:Subject:Date:Reply-To; b=QIqY1hE7mmWsSNIoqUyb7W40beZn19o5Kt6e5QM9qhR9bafD0nH79JqI1Z0fFCvx2 GCoKMy9zYhMrqxuPpIFpatyZlonTB2PIIutBP3jn321PUJeDYr1Jsw/irJgqO4t8L/ a4KUQJkKaZO5qVmO8qO0PJNW/021DoEMknrk4TCE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53102: wifi: mt76: Fix memory leak after mt76_connac_mcu_alloc_sta_req() Date: Wed, 24 Jun 2026 17:32:06 +0100 Message-ID: <2026062412-CVE-2026-53102-14ff@gregkh> X-Mailer: git-send-email 2.54.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=2543; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=atkNOE1pX7939antNUk7ZcSzYLZSMdyhEQxv7E/r1ZQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bCKdLHukH8yMvNJ8LHmh51Fp9U8fupd3xRdZ/A914 Cxpt5/YEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMxVWJYcKYkjXmR4OE/Df9Z pt0ubj+175SgIcP84NSV+tOSDgROVcg69CdqxoXp59V7AA== 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: Fix memory leak after mt76_connac_mcu_alloc_sta_req() mt76_connac_mcu_alloc_sta_req() allocates an skb which is expected to be freed eventually by mt76_mcu_skb_send_msg(). However, currently if an intermediate function fails before sending, the allocated skb is leaked. Specifically, mt76_connac_mcu_sta_wed_update() and mt76_connac_mcu_sta_key_tlv() may fail, leading to an immediate memory leak in the error path. Fix this by explicitly freeing the skb in these error paths. Commit 7c0f63fe37a5 ("wifi: mt76: mt7996: fix memory leak on mt7996_mcu_sta_key_tlv error") made a similar change. Compile tested only. Issue found using a prototype static analysis tool and code review. The Linux kernel CVE team has assigned CVE-2026-53102 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 6683d988089ce0e80bd859a9493333b6b272420e and fixed in 7.0.10 with commit eb466406d2094deefadc2cd6ddb4f6eeb086d1b4 Issue introduced in 5.18 with commit 6683d988089ce0e80bd859a9493333b6b272420e and fixed in 7.1 with commit c41075ce8cf05ed8c0e7b7efef000dce548ffc42 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-53102 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/mt76_connac_mcu.c drivers/net/wireless/mediatek/mt76/mt7915/mcu.c drivers/net/wireless/mediatek/mt76/mt7925/mcu.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/eb466406d2094deefadc2cd6ddb4f6eeb086d1b4 https://git.kernel.org/stable/c/c41075ce8cf05ed8c0e7b7efef000dce548ffc42