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 C32443CFF4C for ; Mon, 10 Aug 2026 12:10:48 +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=1786363850; cv=none; b=ASZr75e2uRt93zi9+Ui26p0b0YwjK5fX9YW5Ez7JND7YuTmjk2qPDjcWchQAhWqeGGOoLi8MMRo4K9w48ZKfB3w4gWs39l1UvPsXBXIItzrfdKm8cdAPQXHqMoCIEPLDgH+ylGqibdGnDk2HfInddXPOzBy0eGUQRufzt0MJUFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363850; c=relaxed/simple; bh=GdQQAdWVmmErTDrZYoB9pvaDsqUuKdp4VsjFb0EVYZM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nwGgGHu8g50cM1i5ZQgxKG6Va1BqLcE8ydnKiOo1w/29KzAvKY1VIAJ3xXdKJ/S7dMHbYiWLt6QXdfOuCrIzMeErt6R0f0lxx/SfnryHfiuKEFqJpJdE179f98LCYxTuhjuXUFRUKET/hq2Lv0nQ3cx//eQpCbMAj2xWZwjC5qQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=z+aCb/Vl; 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="z+aCb/Vl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45FF61F000E9; Mon, 10 Aug 2026 12:10:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363848; bh=fAYpUts/76VImDZ7PZZOuCJGTTD2D78NINy+mAXF6VU=; h=From:To:Cc:Subject:Date:Reply-To; b=z+aCb/Vl6wJKYDvU6Pw/7Z3hokVlBghfi7ZLJ5+tmouvlnAxoI2RBCCgKwuCApP6c nuluSx2ji4aePBX1C7ZFYcB5m0c5BXtgOR50KgxKwYyCUfAduLaPInet/mVeIGHdNp Qx46kgoEmkKZjSptTKmtjUL6ik/+UB6M1yTcL7ag= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68331: dpaa2-eth: put MAC endpoint device on disconnect Date: Mon, 10 Aug 2026 14:00:48 +0200 Message-ID: <2026081035-CVE-2026-68331-74a7@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=3064; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oNRu+WmNiQVRN6+YIeow7lgxytVYavptQc87wjW7DGk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe9YrvXzs9GHbsVt6D30iqv8Yuawue1adcMXJkdWvo 6NGZYtJRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExksRzDPJ2L6rJiu26+EXvA kL/Mb1fMMmubawzz82IEStnfvz4QHfrG4cyjR3u79TYeBAA= 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-eth: put MAC endpoint device on disconnect fsl_mc_get_endpoint() returns the MAC endpoint device with a reference taken through device_find_child(). The Ethernet 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 disconnects and closes the MAC before freeing 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 after closing the MAC and before freeing the dpaa2_mac object. The Linux kernel CVE team has assigned CVE-2026-68331 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit 71947923089353f23f4f210864903c4dcf2c1696 and fixed in 6.6.148 with commit 915012e923316b8b5d5bf8fc771617b47bd7572d Issue introduced in 5.5 with commit 71947923089353f23f4f210864903c4dcf2c1696 and fixed in 6.12.101 with commit e23e4a3b9dfd893469c731318d409cdf04fb1ddf Issue introduced in 5.5 with commit 71947923089353f23f4f210864903c4dcf2c1696 and fixed in 6.18.42 with commit f112df0744e2d77baa68eeebb860021bbaaa022a Issue introduced in 5.5 with commit 71947923089353f23f4f210864903c4dcf2c1696 and fixed in 7.1.6 with commit a3cecf169cc652b558d08661bb6ce55e4c933ec0 Issue introduced in 5.5 with commit 71947923089353f23f4f210864903c4dcf2c1696 and fixed in 7.2-rc5 with commit b4b201cc93ff70150853aba03e14d314d1980ca0 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-68331 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-eth.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/915012e923316b8b5d5bf8fc771617b47bd7572d https://git.kernel.org/stable/c/e23e4a3b9dfd893469c731318d409cdf04fb1ddf https://git.kernel.org/stable/c/f112df0744e2d77baa68eeebb860021bbaaa022a https://git.kernel.org/stable/c/a3cecf169cc652b558d08661bb6ce55e4c933ec0 https://git.kernel.org/stable/c/b4b201cc93ff70150853aba03e14d314d1980ca0