From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796046232; b=VhetxU9t4EII8o1zHTDUK8wKY64s3oC34soGV7WL/9UzkCbgj3XYrNTTwbT8lm/9hUgr Csic+qUKAjrtcGUjoQQeRTtu0ny4AR88BIM+qiZ/ncF9rKyqlRUKbcV+vBLx7vhHCg7Wk HmGRmVnDCRwP7JHSTdwNtPOnHwVbNWJF6ney7sFhW7QS6ZKPkUKWwKDvFClqYcyc9GHWx qOvMJCXj3w7k1igIThiz66T4YoqSZfik2EPP0U9Cp6qwYtep6GkXhcUa4PpbiSMmBPb0b Qc7aFY5YGW+bKNTzkTnOmdUZ6A8U07a2zdp7wN35QFkD1deC5yu2yxmnnlL0OSH/qWA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796046232; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=vmtSxBkc85t2UFsrOkvZFp2weBdSL44otoE8rlRh1uM=; b=MTfr91k/s7w5az7XgOn5YoUbhyW374UL4K2dci1mzqUjiz13H4JKXsW+aW//LJnY4dC7 lhgu7exwusScL/XIOAmndo7sN0joC/HMAjJwEtlzvKL9QDqz2QVUKA+12XNcLPelYKSj9 eBSKks+2sm+7yJNGjKpcPcwhT+u0KfPSqOlgf3DQ8oMh/q3PvKvhEWXI4LnOm494EQIj7 hkHr5D/4KlWOObVUj4+rd4Y/CI0rGus+jO74qqT23Y9NRnwGRQDrm2GqMRJ46T2lUJylV sFgt5e1zFxHWPycKZVJuIiLiC0+t6Iza8tp49g5XdL5Yn64nUiJCfGJGZ3iTE6hylFA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=jGcAHgej; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F24DF606A31C for ; Mon, 30 Nov 2026 13:43:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=jGcAHgej Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1055B1F00896; Mon, 30 Nov 2026 13:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796046231; bh=vmtSxBkc85t2UFsrOkvZFp2weBdSL44otoE8rlRh1uM=; h=From:To:Cc:Subject:Date:Reply-To; b=jGcAHgejMomVrx63DP1oI4SBBivWoIbRxYdC/K6xsusokfC5uCd6uZ9Add5Lmjvro xEPaEEz1ej+IpzlgKroXsub8hr5CIpSctCcDE//E56/rkLUJ85e6hLreTKdkYdbphu mwznkppd6DSrR8nZ/sI9sf07Nezth8jdb4zLhbbc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-138886: wifi: mt76: fix memory leak in USB TX path Date: Mon, 30 Nov 2026 14:26:31 +0100 Message-ID: <2026113032-CVE-2026-138886-e209@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3240; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=2zONrRUxMK3YszmqXrHhi2p4KpXDEBYub1fDdpiGCqQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm8lT7NT0q8sk89MDdQOF6ms+yQ042UDW1SSvXzzl1QT ixmn9vQEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOZac2wYNk5exG1eefWbj3u ntZyfrHGmXc3NjDMr9lryMb959zq/86z3e9cma/Wc/WGIwA= 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 in USB TX path When errors occur in mt76u_tx_queue_skb(), the skb is not properly freed, leading to memory leaks. This happens when: - The queue is full - tx_prepare_skb() drops zero-length frames (such as WMM NULL frames) to prevent hardware TX hangs - Buffer setup fails Fix by properly releasing the skb with ieee80211_tx_status_ext() when the queue is full or tx_prepare_skb() fails, and using mt76_tx_complete_skb() when mt76u_tx_setup_buffers() fails (since tx_prepare_skb() has already succeeded and may have allocated resources that need cleanup) The Linux kernel CVE team has assigned CVE-2026-138886 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 6.1.193 with commit c86f258842b5c999b98257de6c4e83a88eb1d806 Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 6.6.163 with commit 027f0e413bb348c99a0cd1029b2fce97f8ad0b09 Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 6.12.117 with commit 5bbfc1573665571ea59a193d40543885cc28619c Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 6.18.63 with commit 001c88ed4a17ea6705b7c00cf00cdd73d60078e7 Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 7.3.4 with commit ad626a35bd7884de79d6a3c27e70089490787838 Issue introduced in 4.19 with commit b40b15e1521f7764ea8c68d5a00ecc971b673d21 and fixed in 7.4-rc1 with commit 82856da2d3b6a30011f4db6ea5f34c13484e0ef8 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-138886 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/usb.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/c86f258842b5c999b98257de6c4e83a88eb1d806 https://git.kernel.org/stable/c/027f0e413bb348c99a0cd1029b2fce97f8ad0b09 https://git.kernel.org/stable/c/5bbfc1573665571ea59a193d40543885cc28619c https://git.kernel.org/stable/c/001c88ed4a17ea6705b7c00cf00cdd73d60078e7 https://git.kernel.org/stable/c/ad626a35bd7884de79d6a3c27e70089490787838 https://git.kernel.org/stable/c/82856da2d3b6a30011f4db6ea5f34c13484e0ef8