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=1792756618; b=rUIvXyzdyluHgZzPvhA+oLhNT3gk9TbDi6U0U4bhMb80oHbeDtZCUEaR6FJUDCLxcN3m OhetpzjGRaLytgBVHuQOX8aQDPiZT/acFVEA849Ai2nRNHDegkYWL83DU5gT2QukS/tAi /CJIIcnEK1nU9eG1dlMdA/owRieCi2iUWiShNLsYaXzEtq5b4l1h2fx9XJW8hY1ECvF2S ib9tul22e2tanRJnHGAhXFDDhbgqRLx5JZlMtt0rwyui/lSyLTlc1wwgrF5ymiZejk8vh gUrAIwKoHfAXurZxbWNdks7TKjls47oWVF0s3LV7JuNlS2wrOmJ1TgkLZ2G/EnUKX4g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792756618; 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=liUqX+7hyhU8zjkdDQP1oC2ivTJ4lGz6ThrdLor8j1M=; b=MhDUvkm1DS46K9EaYpfQqswl6ssCEeokc2h0H3CpxebtqG3CKi8PxHcHt688hDglXIZY mdd5hPyeQJzaLsGRoMeV+wdQH6z0gDMr0r2s33p21lnfmuSrKkAt8jGuHRRp6n83mc+GV t2hRMC5FYi9vNj+NAT1b8lu9lgdEF6ZHkrTfNQdbKBH1Njz/1YPQiYiu0Su/JYwijOqjt 0rLqySR2DpNrb8Hd66bROfOOA7tX0sgcpNbAwBTMrS6a9p8GVbX5IdAG1qHk+pzUOOttu cS8tVDtYicLcJdDu/LpKYmzLwIgBnoSSbuN9ZrnQSwmxBooZr4eEGfWVpY5+GIS6rXg== 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=YSZJPEua; 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 AEF80606A322 for ; Fri, 23 Oct 2026 11:56:57 +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=YSZJPEua Received: by smtp.kernel.org (Postfix) with ESMTPSA id B201F1F01825; Fri, 23 Oct 2026 11:56:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792756617; bh=liUqX+7hyhU8zjkdDQP1oC2ivTJ4lGz6ThrdLor8j1M=; h=From:To:Cc:Subject:Date:Reply-To; b=YSZJPEuaB4/EwfrC5lj/Uj955+AsAUHyGBfhyK1RFRY1wnaVizoBZhyIxIWekmiCG gAThMEpIMO7DqxrYWeUUP027GgklO5YDOR2vWVPvNXxM7lTuDW6kwhHz/R49cCiYAE UeEx/aZZvxCybhdtX5ELbJ2YG6E9uAshuto2oTXM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98913: net: thunderx: fix PTP device ref leak in nicvf_probe() Date: Fri, 23 Oct 2026 13:54:26 +0200 Message-ID: <2026102315-CVE-2026-98913-fb45@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=2342; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qsmXyn8JdbGGmLf3one3HnYFORDzITko5sPywmbSjB4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3vZ4LhWmonOH2tL1RWrSw4cLk7F3hW27+ubWiserkL QNxnwjPjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI1xGG+X43L28z/jZ3jdBq 7Y23J5f5XGS8+JRhwbkjaQcmdd/sCxLtL0ks87r3bLFoOwA= 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: thunderx: fix PTP device ref leak in nicvf_probe() cavium_ptp_get() acquires a reference to the PTP PCI device through pci_get_device(). If any initialization step fails after cavium_ptp_get(), the PTP PCI device reference is leaked. Add a common error path to release the PTP reference before returning from probe failures. The Linux kernel CVE team has assigned CVE-2026-98913 to this issue. Affected and fixed versions =========================== Fixed in 6.1.189 with commit 3a2eedb172e777f2c8608395eec42250fb355dae Fixed in 6.6.158 with commit c8bc44a1d86d5b432ec7f5a6f30b4e719a047374 Fixed in 6.12.111 with commit df3d586ecc580623edadec71a6ffdf4c79e2a8e8 Fixed in 6.18.53 with commit 916d74343cd60ef7c3d433bd417d26ba31642c09 Fixed in 7.2 with commit 2bcf59eefb9f00a2b1d426b639ee49c305a80695 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-98913 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/cavium/thunder/nicvf_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/3a2eedb172e777f2c8608395eec42250fb355dae https://git.kernel.org/stable/c/c8bc44a1d86d5b432ec7f5a6f30b4e719a047374 https://git.kernel.org/stable/c/df3d586ecc580623edadec71a6ffdf4c79e2a8e8 https://git.kernel.org/stable/c/916d74343cd60ef7c3d433bd417d26ba31642c09 https://git.kernel.org/stable/c/2bcf59eefb9f00a2b1d426b639ee49c305a80695