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 EF621376A03 for ; Sat, 15 Aug 2026 06:26:44 +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=1786775206; cv=none; b=M5RivuOBrsadSxxiX68fOtOpSWTG9/VP43EtlLvCAIN/XqMzJJ24zs/nwi0mKFp1JCjtvsVzhLqiF5owMt7cNNv6dLdCjEXeoicft1JAbxdzbBxH7PrbYQOHcXhqYWBkLIngyGpI3f+oGS0+tc8wJA3+wiMKjix4pAhPLla7OW4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775206; c=relaxed/simple; bh=w9VKBiNAfMdoou/x0AuFLTwaa6DhaTTQXGftFbvSGpI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tx8YTUFglBhfi2N1cND4eH1Dj8lCQm9a2rB5lt4r3QaGBdORXtEEL7dsd7Qn1U3uSTQBXb3JURPxGPJZX/ZFegZDYIfGP0sGpgg9ltqgr47JTYGc9h+atLNSZq47xEhOhl+G2/w2NPwA250kAaRh+PWjJbyLRfpbx/bDBd0dtZM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=I0HY+0P7; 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="I0HY+0P7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 529241F000E9; Sat, 15 Aug 2026 06:26:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775204; bh=qPROBJwpKR04dYQawSNopq+w77uJHGxHTUwZ4Nl3HBw=; h=From:To:Cc:Subject:Date:Reply-To; b=I0HY+0P7jqHXuanIZoYrjn6e+ojFj6mJCdaUnDro2J2uLjsNqpRLCOc4LQ9IwQWxi 5NsdxgC3OI+wFSTBnUJlHSMYgqYsHnhh6fJFXmrpNwAFTrdZ6h6z1zIdvlhyYh5oLP kBn6hYfELx37RyOVHJdiAvhGchtpl+H3ES5fm7eA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72406: net: sungem: fix probe error cleanup Date: Sat, 15 Aug 2026 15:08:05 +0900 Message-ID: <2026081522-CVE-2026-72406-eb42@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=3973; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=95BV3wn9nqxu7sqomi8nSICaRPkx9l2ZB5uJZJpkOgA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDO/WFRka8PKEWL07//tERFH7+li3KX8Emd+bKu89c 9ZQcb1+RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExE1ZFhDv9xK6nyP8znmFfZ Ndvtm5N0pStZiWF+sYz84+/ZkXNrp086VvPozmlZjavBAA== 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: sungem: fix probe error cleanup gem_init_one() calls gem_remove_one() when register_netdev() fails. gem_remove_one() unregisters and frees resources owned by the net_device, including the DMA block, MMIO mapping, PCI regions, and the net_device itself. gem_init_one() then falls through to its own cleanup labels and frees the same resources again. Keep the register_netdev() error path in gem_init_one(): clear drvdata so PM/remove paths do not see a half-registered device, remove the NAPI instance added during probe, and let the existing cleanup labels release the resources once. The issue was found by a local static-analysis checker for probe error paths. The reported path was manually inspected before sending this fix. Compile-tested with CONFIG_SUNGEM=y. Runtime testing was not performed because no sungem hardware is available. The Linux kernel CVE team has assigned CVE-2026-72406 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.10.261 with commit f3bd60b26814b7c3c57c629abb0857dfc76d214a Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 5.15.212 with commit f1d04fefb0c2a2de32d9cee22cdc2088be3758d1 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.1.178 with commit 331c99029a1cee1111f82f63d15b3cdebefbd341 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.6.145 with commit a63eaf7605d1579cf3f551792e478cfaf5ac37d1 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.12.97 with commit fb73cdc50b6755e5c3a80a195b2708a39ada0230 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 6.18.40 with commit b15a3cc68e2450aa0edd94a74a7bdd45fcc17dd9 Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.1.5 with commit bc49e8746584564dba47d963d1916cc876fc6f6b Issue introduced in 2.6.12 with commit 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and fixed in 7.2-rc1 with commit 36dea2f639249460d13f6ca66b2a9064187cd34d 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-72406 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/sun/sungem.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/f3bd60b26814b7c3c57c629abb0857dfc76d214a https://git.kernel.org/stable/c/f1d04fefb0c2a2de32d9cee22cdc2088be3758d1 https://git.kernel.org/stable/c/331c99029a1cee1111f82f63d15b3cdebefbd341 https://git.kernel.org/stable/c/a63eaf7605d1579cf3f551792e478cfaf5ac37d1 https://git.kernel.org/stable/c/fb73cdc50b6755e5c3a80a195b2708a39ada0230 https://git.kernel.org/stable/c/b15a3cc68e2450aa0edd94a74a7bdd45fcc17dd9 https://git.kernel.org/stable/c/bc49e8746584564dba47d963d1916cc876fc6f6b https://git.kernel.org/stable/c/36dea2f639249460d13f6ca66b2a9064187cd34d