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 05F6D39182A for ; Sun, 18 Oct 2026 15:35:16 +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=1792337717; cv=none; b=OcIl2ooVafsoRjKNsEXFWkMYcxwefTBrHIvQUxP6fs2aL+dtlZG8Od11psn8bEGmGIKZ/rglZ9ewhzUwgsBwH9ftsJSWC1drpTCML4AiOLDLRwjnSpsi4IlVGTU09Qvi4sP/JLK3yjhx5gNU0JsE11cClk0cQzX/IUX6ziGhbUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337717; c=relaxed/simple; bh=Qwmgtc6a44ZRjx5dm8T7twFtaRS5vZyx3WL0HDCwUKk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VA1/PU4TxJY70+v95eu33sFn/I4mCQaR9fFv1KoEQjS5r3twS9BoYbgUzJe5vThx3czJNnOwo8F2Vli61v2bUYwbL0gzV9+wn0+NJS470Xe7jYD1TJbteJpZv5Tk/KnT4593YO6qVwqFZZ/dLuLEmsgqKj5k3k/hD8q1gDpu7KI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zAUSJCkF; 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="zAUSJCkF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34C331F000C4; Sun, 18 Oct 2026 15:35:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337715; bh=WGaU2yme07mRhfhPNlasZb1VMmJfy+uLjY6lRmp6JU8=; h=From:To:Cc:Subject:Date:Reply-To; b=zAUSJCkFOvQLR+Zbhz4bhf06vAfT6zZsmQBcMindbMsnwYD+fY6bl7bhDnYaV0RVa H/UR0F5je3MOe+y6VIyKzJE2C/FW3YAtZPlMd5bXQtkNbln7TLxmMtTyqWg18TTKTg 0Vq7KgQoFffgsHhIX2RNlacN/LJoaORNSuacfWro= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98619: net: ethtool: keep rtnl_lock for the ioctl self test Date: Sun, 18 Oct 2026 17:18:03 +0200 Message-ID: <2026101841-CVE-2026-98619-0544@gregkh> X-Mailer: git-send-email 2.56.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=3661; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rO0yeuJ+yY0N+NcOd+kq3N8W676Srl5z0KfM7yePqb4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHs113LPqvc1J48eNNV52NypO26h/LH5beMf0aPq/s lmFtvf5OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi19gZ5qes9t3p/ev77OK5 FZ+chGaU90tftWeYHzhn0srW+f1PZGQFTA7tub5+1fMHNgA= 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: ethtool: keep rtnl_lock for the ioctl self test An offline self test that brings the interface down and back up with netif_close() / netif_open() requires rtnl_lock for both. Since the ethtool IOCTL path became rtnl-optional for ops-locked drivers, the ETHTOOL_TEST ioctl runs holding only the netdev instance lock, so on an ops-locked driver the self test now tears the device down without rtnl_lock. With lockdep this reproduces deterministically on every offline self test on such a driver; note the sole lock held is the instance lock, not rtnl: WARNING: suspicious RCU usage net/core/netpoll.c:207 suspicious rcu_dereference_protected() usage! 1 lock held by ethtool/107: #0: (&dev->lock){+.+.}, at: dev_ethtool Call Trace: netpoll_poll_disable __dev_close_many netif_close_many netif_close fbnic_self_test dev_ethtool_locked dev_ethtool dev_ioctl sock_ioctl __x64_sys_ioctl Without lockdep the same condition trips ASSERT_RTNL() in __dev_close_many() / __dev_open(); that check only samples the global rtnl state, so it can be masked by a concurrent rtnl holder, but the device is still being reconfigured without the lock it requires. The ethtool self_test is a legacy ioctl-only command, so an ETHTOOL_TEST case is only needed on the ioctl path. Add an opt-in bit for drivers whose self test needs rtnl_lock and set it on the ops-locked drivers whose offline self test tears the interface down and up: - fbnic (ops-locked via queue_mgmt_ops): fbnic_self_test() offline path uses netif_close() / netif_open(). - bnxt (ops-locked via queue_mgmt_ops): bnxt_self_test() offline path goes through bnxt_close_nic() / bnxt_half_open_nic() / bnxt_half_close_nic() / bnxt_open_nic(), which close and reopen the device. The Linux kernel CVE team has assigned CVE-2026-98619 to this issue. Affected and fixed versions =========================== Issue introduced in 7.2 with commit f994752b11273ded7ec6b49ae5c1d319eef21743 and fixed in 7.2.9 with commit 4ca1503491f1f25a954c13ac5775bf6775c5abc8 Issue introduced in 7.2 with commit f994752b11273ded7ec6b49ae5c1d319eef21743 and fixed in 7.3-rc5 with commit 1b82958f3f035df5ccaab5430a2302f08a5d5351 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-98619 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/broadcom/bnxt/bnxt_ethtool.c drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c include/linux/ethtool.h net/ethtool/common.h 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/4ca1503491f1f25a954c13ac5775bf6775c5abc8 https://git.kernel.org/stable/c/1b82958f3f035df5ccaab5430a2302f08a5d5351