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 962163CF942 for ; Mon, 10 Aug 2026 12:10:55 +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=1786363856; cv=none; b=g1RPIwZq2+Q6smEWD4pzdmn4oUcx0W50EJgcWVDhm8bnOnF+3osRUiRg11K/e7uMXT5Q8Cn9Pr2HiKryxwLKUXZEOLM35EmiWJ54vxIZ5dhnboDDkOlaTGgpTGwd6KDH+5487c9xYK0YYhO+pHMdEXzY5At/n8AG1VlysO3mIQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363856; c=relaxed/simple; bh=wJJEX2bCjdlfl6PMo4k79O75N7kKsanvDUg71ldpho4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kVqy9A42hvPkq5Z7iD6Q378bqRp6QK07NylAnF7innufVDvFiJ7xlBNrpD5MV9tmM57YSPFlsfu3ThW1s35iVrazmWUw5jhkCOVh05dlo29q/PvB8vDkI8IPc2sUCo8Z2ma2W+SpAsNKxJ6NxjO0FTlNv0rrvzFA53dydUvE1Ek= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xldTBhnF; 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="xldTBhnF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 193831F000E9; Mon, 10 Aug 2026 12:10:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363855; bh=C03hIB6w1atMI5ubP0L76HE0SxMioKBs8T0vfwzcUrw=; h=From:To:Cc:Subject:Date:Reply-To; b=xldTBhnFf9fLVRGdp0Li7pFbulIY9BPCILT1qSrGNHWIpH6evJzaqZN6UPJDT09tN CEKzEfwamg9EHzWZ7KdGNr/vFPW1gvBTCchH9gjtIqJJwD0N4xMG/4Kg0aL57Km0Vn d8sCj0OAq8lReWbOf//Ovr81E6GCIqddvKrx5ou0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68333: dpaa2-switch: put MAC endpoint device on disconnect Date: Mon, 10 Aug 2026 14:00:50 +0200 Message-ID: <2026081035-CVE-2026-68333-f526@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=3030; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VDI+qf1QdusmN7NY4hg5PRLmVRHDU1rvM7eKqurvJGQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe9ZfFUls+32cN/Hm6pmTZ26OVzgoZbJ58XuR7o0ZY lKnNzAf74hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ/M5iWHDxbG+dhl1szzI9 nwP+UWyXVutPqmRYcO7+HsOH2uuiLDht3Uv+PFudsV44DQA= 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: dpaa2-switch: put MAC endpoint device on disconnect fsl_mc_get_endpoint() returns the MAC endpoint device with a reference taken through device_find_child(). The switch port connect path stores that device in mac->mc_dev and keeps it for the lifetime of the connected MAC object. However, the disconnect path only closes the MAC and frees the dpaa2_mac object. It does not drop the endpoint device reference stored in mac->mc_dev, so every successful connect leaks that device reference when the MAC is later disconnected. Drop the endpoint device reference before freeing the dpaa2_mac object. The Linux kernel CVE team has assigned CVE-2026-68333 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 84cba72956fddf29ba666f885c39ed147024c125 and fixed in 6.6.148 with commit 1f4ca61b7a93de3dfa5161bcd38ecb99bb091c38 Issue introduced in 5.15 with commit 84cba72956fddf29ba666f885c39ed147024c125 and fixed in 6.12.101 with commit 680eecc850d36a280df9780496bc603fec17b2d6 Issue introduced in 5.15 with commit 84cba72956fddf29ba666f885c39ed147024c125 and fixed in 6.18.42 with commit 26ac2d3602347f0377fbcd5214bc28a9d735ae68 Issue introduced in 5.15 with commit 84cba72956fddf29ba666f885c39ed147024c125 and fixed in 7.1.6 with commit c27694ff6748e08fcd2fdba89018439d75b8198f Issue introduced in 5.15 with commit 84cba72956fddf29ba666f885c39ed147024c125 and fixed in 7.2-rc5 with commit 4c1eabbef7a1707635652e956e39db1269c3af2b 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-68333 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/freescale/dpaa2/dpaa2-switch.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/1f4ca61b7a93de3dfa5161bcd38ecb99bb091c38 https://git.kernel.org/stable/c/680eecc850d36a280df9780496bc603fec17b2d6 https://git.kernel.org/stable/c/26ac2d3602347f0377fbcd5214bc28a9d735ae68 https://git.kernel.org/stable/c/c27694ff6748e08fcd2fdba89018439d75b8198f https://git.kernel.org/stable/c/4c1eabbef7a1707635652e956e39db1269c3af2b