Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792756527; b=wnO9F3Fq/S3CuTQMNG4DlFpIFoTbKKZequ3e4zg/JKpmN5+JwJGdI0pyD9jBnAZoNKKp Z+LklcItaAwerKbXpwgteoIZqB1p+uZP4sOIH+9K4SCPUF93NdlNRwsf2/oS4POKIfEtd M6j4CQ1h2HRcwgifJqoCsVLH2HewC38LqdnAS4BIVd/AECZs5BYa3AXLnEZiq/yMPrXjJ wFN4eCtokfKGTBGGoRslYVhMCfe9XCxiJ53CUFtWTudVdDuo2VxLVlRwz9y8ossGrBH7W 4qNlGp4p4+0p9/piU73ilsSTGZDcq9H08VqhPHwHP95qe6DcDYaYuhWbTBQPURYkDtQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792756527; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=TA9Bh176WkS6auTh7ycFldas850W++3Y71/DPYXAwoM=; b=uUgXE/qySVElwFmRXXw3V9CRnL9zgwlF2izhuRvtX5Yf5iso2wRTHFVmUH/m9zoC9wyo e8pQp0AJpApPAFrHc0bk4L9aWfiWWGlgwtB9NE/aZmYjyLRLvcW63UivydERlm8asm1zX sIWG4Xc2JGzqy37iwLcynM9d9mk60Yf3UBeBk90jbfmS2bjITvJh4HLM4I3DJkAG3MbLJ aELcK4p3jr3GWY9xk2DpwOtUGlpiCBw4fJdGDuRu7u37Xj/FNWI9hrFOxESS/3qJa34mH NJd3gDOgi4ppTX3N60Uv1O8nIICfMx4Q1NDECmcLC/ifuvKt/g2nFwpNcrO82CVmE0g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=B5NZ0JI6; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C9D6606A327 for ; Fri, 23 Oct 2026 11:55:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=B5NZ0JI6 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A99B61F031E1; Fri, 23 Oct 2026 11:55:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792756527; bh=TA9Bh176WkS6auTh7ycFldas850W++3Y71/DPYXAwoM=; h=From:To:Cc:Subject:Date:Reply-To; b=B5NZ0JI6UeKbzgC4coopCkIjTQJ4FszzjH6Wy5QdjkFOOFo2q2MZDIji8wPs89p8m xe2Dpmn2QQdKKtKCxat5mwtqC6yrXTqTVObBDJGlML/PLUgxLl2YzKSuzxEFsWmNZS I6Ctz2tG+AGF52+2nsq/EyozAkBQNrjQRPvasc6U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98909: net: cpsw_new: unregister devlink on port registration failure Date: Fri, 23 Oct 2026 13:54:22 +0200 Message-ID: <2026102314-CVE-2026-98909-bb74@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2829; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mHW8MCcPymGIDGXM1FxwOe4Je9B8njarOxwBAt1HdQs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3vZ4xNR3tv5U8izfn0IGjxQtm2qx+bF6f8L6m6UWZC FOtu4l7RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEqphhruTbuUHf63K2ndsj ZRls1yz5Ze7LcoZ51qrPmE/4LfEN0Vmh4Moxd3NWqD0XAA== 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: cpsw_new: unregister devlink on port registration failure cpsw_probe() registers devlink before registering the CPSW ports. If cpsw_register_ports() fails, the error path only unregisters the notifiers and then releases the lower level resources. It does not undo the successful cpsw_register_devlink() call, leaving the devlink instance and its parameters registered after probe has failed. Add a devlink cleanup label for the path where devlink registration has already succeeded, and use it when port registration fails. The Linux kernel CVE team has assigned CVE-2026-98909 to this issue. Affected and fixed versions =========================== Fixed in 5.10.271 with commit b020390b4ef39adc40c800301042baf812280da1 Fixed in 5.15.222 with commit 5a5ac0defdd42e566f1c871272370b6a3a8eef5c Fixed in 6.1.189 with commit 43d4af5c5331ea739a49cb1097d41e502ed91ec4 Fixed in 6.6.158 with commit 8af61d5bd87fd1a3bdc81fe948e7acdc8aa5bcf0 Fixed in 6.12.111 with commit 2bcf21ede6b097ca96cb1f7679761acca6510555 Fixed in 6.18.53 with commit 0a44945b0d3422f5d81b49c97e293f3e21a8c585 Fixed in 7.2 with commit b64f763b607426ac97e44b114f0b8844ac3b86dd 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-98909 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/ti/cpsw_new.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/b020390b4ef39adc40c800301042baf812280da1 https://git.kernel.org/stable/c/5a5ac0defdd42e566f1c871272370b6a3a8eef5c https://git.kernel.org/stable/c/43d4af5c5331ea739a49cb1097d41e502ed91ec4 https://git.kernel.org/stable/c/8af61d5bd87fd1a3bdc81fe948e7acdc8aa5bcf0 https://git.kernel.org/stable/c/2bcf21ede6b097ca96cb1f7679761acca6510555 https://git.kernel.org/stable/c/0a44945b0d3422f5d81b49c97e293f3e21a8c585 https://git.kernel.org/stable/c/b64f763b607426ac97e44b114f0b8844ac3b86dd