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 37F86493658 for ; Fri, 25 Sep 2026 10:30:58 +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=1790332259; cv=none; b=RN8TRG2EfHHD2TNX8jpQXkSVLVwKTpGH3MyQRkTHP6INcSib72DrebzA8VnAgKqjBZdyk/ILaXeEYoK1UaoSI+U8vULaWq5pdrnrj8Awb6E/lWvaZa16KSuCuoIBWvVoQBOP9xPVb1d08eeNJsBe16MhfNJEE/k51mBPFQnsIMc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332259; c=relaxed/simple; bh=dcG1jxC1r3t12gtjXNOf15JCNjB5+0KxQU0QXTrQKX4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uN1J+bVvgjCxnIoq/S376+KCmsYcaN6Gh0n3Xzdn6Bw/PVooqiWV+RfoogAEXhddZ8YXrwJZCyAtNjprg7vTp9myG3P/ud8OgUKS3oQiolTHE49w5+8ltt0HOhbX1+Tibihl42zbeXYLaA9ngEt5I9uVcSOMDa/gLAUuEYFAB7Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BHy3evU6; 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="BHy3evU6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F80D1F000FF; Fri, 25 Sep 2026 10:30:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332258; bh=G2vkoYihRRnDz5RbAmnmTdL7OErcs6Z9JnKSPAZ7J9M=; h=From:To:Cc:Subject:Date:Reply-To; b=BHy3evU6BnHVsjiI2P5LJiJ2XMqGcNQjpmp9CZ+SyMScIU59YFf24+Foz56mcrG7J CDY9Smawci3EsJ8v61vdmN347S9LyEIfZDyG52NX1eJ+k4Oma6L4W7L2HKVex0QsLy OYIzEogZ1f1sG0LEjXOadtogBpfvf9jiNSRv/VOE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97973: net: macb: destroy the phylink instance on the probe error path Date: Fri, 25 Sep 2026 12:24:36 +0200 Message-ID: <2026092518-CVE-2026-97973-8b12@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=2587; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6Iie/ye2BrkXoYdx6k7SOFSzgRlYJ3V6b1UPM89T7IY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvKM+rNwrqxdvsDEt7tZSMwGm13WdD25L2vCk2bv38 THlTbTpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImc5WBYMDc75sf/7Hvrs0Qe TJ5R6a0W+/xlOsN8F87s5tDgZ8wHsidN/8v5Um3R3Tt7AQ== 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: macb: destroy the phylink instance on the probe error path macb_mii_init() creates a phylink instance on both of its success paths, but the probe unwind frees the netdev without destroying it, so a failing macb_alloc_tieoff() or register_netdev() leaks the instance. Destroy it at err_out_unregister_mdio, which is only reachable once macb_mii_init() has succeeded, so bp->phylink is valid there. The Linux kernel CVE team has assigned CVE-2026-97973 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 and fixed in 6.12.111 with commit 23b6a44ffea1c54a4232aa86ee470b21422a8cc5 Issue introduced in 5.5 with commit 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 and fixed in 6.18.53 with commit e92a45b872b035c79acde8dd0da096a72b61ff2f Issue introduced in 5.5 with commit 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 and fixed in 7.2.7 with commit 8558e3195664113c14a4d8fcf221b3caff41fed1 Issue introduced in 5.5 with commit 7897b071ac3b45a5788d084fc7f8a8ee9e5f07f0 and fixed in 7.3-rc3 with commit 7d059f390750152b9bd69df934198651b94fc26d 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-97973 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/cadence/macb_main.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/23b6a44ffea1c54a4232aa86ee470b21422a8cc5 https://git.kernel.org/stable/c/e92a45b872b035c79acde8dd0da096a72b61ff2f https://git.kernel.org/stable/c/8558e3195664113c14a4d8fcf221b3caff41fed1 https://git.kernel.org/stable/c/7d059f390750152b9bd69df934198651b94fc26d