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 73A163BB699 for ; Mon, 8 Jun 2026 15:42:03 +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=1780933324; cv=none; b=l1WY1bKmwItIJPiqUZ/IjM2dlcYAHeM0WrtG1+61rkfdefj9mR/Tkh5gGoJkQiEgYkbCBzGlRdMtB43zvZ49fUpdhv9YCex1Sr3uJWXBUggfC0J1lKf84kge8bj3KZgWvfo2oeeouposmDVJ9gd+wo27PY8U51GYWKTuVLuv4kg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933324; c=relaxed/simple; bh=8iArzPT8MbOopOqrcpmtDOjrlgozdb+l2859CXaBo6k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Tyfo9THt3KL05rk14nEo5j8wnKU2vhEaOjxI1qgpkklorp13QKmn26jmBVuZuke+Sg1koyJq2VQSG3YnNo6fLR9RSsXgE9rajwYzysIBsOA0kb1h+8jmDdQRtsj8pnvtQup7yX5GLzvoPhc7o/FUKq2kVOHMra1YfPqeNzJz6Fc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=u1J8+1bh; 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="u1J8+1bh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A33381F00893; Mon, 8 Jun 2026 15:42:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780933323; bh=VrcVMrFTN3mdLoh58r4ORanh9SPsY5TWEsYTkoY/S58=; h=From:To:Cc:Subject:Date:Reply-To; b=u1J8+1bhHgQWXEbV9XCZXTG95xsFqMj6oERuRDW9aUFyp9FZKw9NR2vhD3BOeT+Xk NHroGREGqCfQDrLeMp5MW+fZzbidj+279caEq57H3NIQ/pTSk/mZZYEd6tXQqEXVS7 kjEbWv1yTTTOXvgcksfJPGQ/IU6mNuo7Q+HJaJOM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46287: net: txgbe: fix RTNL assertion warning when remove module Date: Mon, 8 Jun 2026 17:40:51 +0200 Message-ID: <2026060843-CVE-2026-46287-750d@gregkh> X-Mailer: git-send-email 2.54.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=5226; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zC5ZA/xb+xvJWqsTpL612LFFV9fBKKVFK/c5S1s9JXY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlqj6rF2mdI6TpZ9Rxv8ebbe8lUwOuq94yMx7WH+YMmn tDe0D2zI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACay8w7DPD3mjAsHCibn/GP+ fDB7kmXKpPx5pxkWTH9uljPbIq3spu2FQ/LbyvewnWBSAAA= 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: txgbe: fix RTNL assertion warning when remove module For the copper NIC with external PHY, the driver called phylink_connect_phy() during probe and phylink_disconnect_phy() during remove. It caused an RTNL assertion warning in phylink_disconnect_phy() upon module remove. To fix this, add rtnl_lock() and rtnl_unlock() around the phylink_disconnect_phy() in remove function. ------------[ cut here ]------------ RTNL: assertion failed at drivers/net/phy/phylink.c (2351) WARNING: drivers/net/phy/phylink.c:2351 at phylink_disconnect_phy+0xd8/0xf0 [phylink], CPU#0: rmmod/4464 Modules linked in: ... CPU: 0 UID: 0 PID: 4464 Comm: rmmod Kdump: loaded Not tainted 7.0.0-rc4+ Hardware name: Micro-Star International Co., Ltd. MS-7E16/X670E GAMING PLUS WIFI (MS-7E16), BIOS 1.90 12/31/2024 RIP: 0010:phylink_disconnect_phy+0xe4/0xf0 [phylink] Code: 5b 41 5c 41 5d 41 5e 41 5f 5d 31 c0 31 d2 31 f6 31 ff e9 3a 38 8f e7 48 8d 3d 48 87 e2 ff ba 2f 09 00 00 48 c7 c6 c1 22 24 c0 <67> 48 0f b9 3a e9 34 ff ff ff 66 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffce7288363ac0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff89654b2a1a00 RCX: 0000000000000000 RDX: 000000000000092f RSI: ffffffffc02422c1 RDI: ffffffffc0239020 RBP: ffffce7288363ae8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8964c4022000 R13: ffff89654fce3028 R14: ffff89654ebb4000 R15: ffffffffc0226348 FS: 0000795e80d93780(0000) GS:ffff896c52857000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005b528b592000 CR3: 0000000170d0f000 CR4: 0000000000f50ef0 PKRU: 55555554 Call Trace: txgbe_remove_phy+0xbb/0xd0 [txgbe] txgbe_remove+0x4c/0xb0 [txgbe] pci_device_remove+0x41/0xb0 device_remove+0x43/0x80 device_release_driver_internal+0x206/0x270 driver_detach+0x4a/0xa0 bus_remove_driver+0x83/0x120 driver_unregister+0x2f/0x60 pci_unregister_driver+0x40/0x90 txgbe_driver_exit+0x10/0x850 [txgbe] __do_sys_delete_module.isra.0+0x1c3/0x2f0 __x64_sys_delete_module+0x12/0x20 x64_sys_call+0x20c3/0x2390 do_syscall_64+0x11c/0x1500 ? srso_alias_return_thunk+0x5/0xfbef5 ? do_syscall_64+0x15a/0x1500 ? srso_alias_return_thunk+0x5/0xfbef5 ? do_fault+0x312/0x580 ? srso_alias_return_thunk+0x5/0xfbef5 ? __handle_mm_fault+0x9d5/0x1040 ? srso_alias_return_thunk+0x5/0xfbef5 ? count_memcg_events+0x101/0x1d0 ? srso_alias_return_thunk+0x5/0xfbef5 ? handle_mm_fault+0x1e8/0x2f0 ? srso_alias_return_thunk+0x5/0xfbef5 ? do_user_addr_fault+0x2f8/0x820 ? srso_alias_return_thunk+0x5/0xfbef5 ? irqentry_exit+0xb2/0x600 ? srso_alias_return_thunk+0x5/0xfbef5 ? exc_page_fault+0x92/0x1c0 entry_SYSCALL_64_after_hwframe+0x76/0x7e The Linux kernel CVE team has assigned CVE-2026-46287 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 02b2a6f91b9042552bc3aa728622bda97e3916fa and fixed in 6.6.140 with commit 0305e7118451c7c363c18f8113b0d8e0077ffa4c Issue introduced in 6.6 with commit 02b2a6f91b9042552bc3aa728622bda97e3916fa and fixed in 6.12.88 with commit 3e223a7fd41ce6fffdb10577df9350385262bf33 Issue introduced in 6.6 with commit 02b2a6f91b9042552bc3aa728622bda97e3916fa and fixed in 6.18.27 with commit d29cafc7e4ee9e28a150ba17e9a565ec5d881fbc Issue introduced in 6.6 with commit 02b2a6f91b9042552bc3aa728622bda97e3916fa and fixed in 7.0.4 with commit 6c5ec52c68a6a442c8a159615ae092512562318a Issue introduced in 6.6 with commit 02b2a6f91b9042552bc3aa728622bda97e3916fa and fixed in 7.1-rc1 with commit e159f05e12cc1111a3103b99375ddf0dfd0e7d63 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-46287 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/wangxun/txgbe/txgbe_phy.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/0305e7118451c7c363c18f8113b0d8e0077ffa4c https://git.kernel.org/stable/c/3e223a7fd41ce6fffdb10577df9350385262bf33 https://git.kernel.org/stable/c/d29cafc7e4ee9e28a150ba17e9a565ec5d881fbc https://git.kernel.org/stable/c/6c5ec52c68a6a442c8a159615ae092512562318a https://git.kernel.org/stable/c/e159f05e12cc1111a3103b99375ddf0dfd0e7d63