Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D12E83A1E89 for ; Wed, 25 Mar 2026 10:28:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434481; cv=none; b=den5ktFmS6oFVlC7V+6r/BWYU6A0eFWVMjNgEj0N4m+4E200HpSF6jMGAR9G9/opIJnaqXxCkfo/hIvGgJ8Im3iQPASDAshD4WLROX3jn2vq3QrbNof9VK7IvjdEyLQ9gjH4GSzT/LTozq3BPqixflmmsKzkbgJa8D71UGvApsc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434481; c=relaxed/simple; bh=jX5qX6dmPimYCp7W6X9COj7fL1l6ZseeJRM6aSySwWs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ikz7oI09cxxXYSwU2+P/D+4U1PRGIZJvS/v34t4+uIJgRz+pODX77JtBSWPk5ZlFKVqM2rNqFIhXkIkEAucYxpit4psST027DBBSrn8blFFb9gw3JanFMR2aqw3dMyIz0fJmT4yxHS08c+oKh2HIUKTjfQWWZ+qOAYXh7Qxlfto= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xv1bXFb4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xv1bXFb4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23D7BC4CEF7; Wed, 25 Mar 2026 10:28:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434481; bh=jX5qX6dmPimYCp7W6X9COj7fL1l6ZseeJRM6aSySwWs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=xv1bXFb4sgOHWtdnz4z9qnFcqVFApdg2XJFyticpdRFPv50Kie5hSisgVL0mRVkZU eyMuoRl47NgFfU7eMYNgL0x9+ZmvDHJRmUY3x2jCaJxoC3BmmjgdR+6qODnArLJT7C i+6kIuqA3E6ABc2hxdBNb5Lb5AR1JmM6taWW4A6M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23284: net: ethernet: mtk_eth_soc: Reset prog ptr to old_prog in case of error in mtk_xdp_setup() Date: Wed, 25 Mar 2026 11:26:28 +0100 Message-ID: <2026032523-CVE-2026-23284-ca53@gregkh> X-Mailer: git-send-email 2.53.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=2849; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=b5HYVr3R+7RYfo5icleFjuL7uUXQbe6ZhbVFaWjmPjw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd/hf4Pi1ikNrMTtTfNNB7cvFglsvzjqowHLCbHL3c a1tmr83dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEVtYwLLj67cbGDXHhzsrn XRj7vLKna0+1O8owT2fmkl1N6lo8+ZWTzM8JqgZsNDnrAgA= 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: net: ethernet: mtk_eth_soc: Reset prog ptr to old_prog in case of error in mtk_xdp_setup() Reset eBPF program pointer to old_prog and do not decrease its ref-count if mtk_open routine in mtk_xdp_setup() fails. The Linux kernel CVE team has assigned CVE-2026-23284 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 7c26c20da5d420cde55618263be4aa2f6de53056 and fixed in 6.1.167 with commit 8c2d76a9658a4dbfcf02f2693a97e2d5ff42197a Issue introduced in 6.0 with commit 7c26c20da5d420cde55618263be4aa2f6de53056 and fixed in 6.6.130 with commit 29629dd7d37349e9fb605375a75de44ac8926ea9 Issue introduced in 6.0 with commit 7c26c20da5d420cde55618263be4aa2f6de53056 and fixed in 6.12.77 with commit b73dfe1ea7be7a072482434643b517d7726f4c8d Issue introduced in 6.0 with commit 7c26c20da5d420cde55618263be4aa2f6de53056 and fixed in 6.18.17 with commit 6f95b59520278a72df9905db791b7ea31375fbc1 Issue introduced in 6.0 with commit 7c26c20da5d420cde55618263be4aa2f6de53056 and fixed in 6.19.7 with commit ff14cd44c85c20ad69479db73698185de291550c Issue introduced in 6.0 with commit 7c26c20da5d420cde55618263be4aa2f6de53056 and fixed in 7.0-rc3 with commit 0abc73c8a40fd64ac1739c90bb4f42c418d27a5e 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-23284 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/ethernet/mediatek/mtk_eth_soc.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/8c2d76a9658a4dbfcf02f2693a97e2d5ff42197a https://git.kernel.org/stable/c/29629dd7d37349e9fb605375a75de44ac8926ea9 https://git.kernel.org/stable/c/b73dfe1ea7be7a072482434643b517d7726f4c8d https://git.kernel.org/stable/c/6f95b59520278a72df9905db791b7ea31375fbc1 https://git.kernel.org/stable/c/ff14cd44c85c20ad69479db73698185de291550c https://git.kernel.org/stable/c/0abc73c8a40fd64ac1739c90bb4f42c418d27a5e