Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E1A8130E0F5 for ; Tue, 13 Jan 2026 15:36:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318567; cv=none; b=IHlGtFHwyXAvajtQBPYsY1doQOgd5GqsTrYcV9Su7HUpVlrrrupG3CG4Af00+YKMnsjuLmM596MSigJwfbR9I/SdLSgnUZaXWuaPJrs1pGHmbUhwy2w7tZroMD8sHPZQV+Q/ZAQpb0ZizZJ4ikFHzKvgHFZYGohq3DJmJTHI0h8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768318567; c=relaxed/simple; bh=H3KNPdBoPqBjWrcjQvnp0B93cwcapvR2wZKshJhYBNI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YUbyeyd3co7phSYhcrACaEAr+2m3uPZRdVnFcP7wEj1z95xscvA5IUnPx/LfOn0cufFiHv1z590RsjBWxsX+isgV6PeKH9WmfInQbZbE3SIz51diYR2Pz6QATUkkOjTe4ypzdu0jNC/xrySdCvYfAmSL+RwjAfqlNhQci6kXESM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Y0eFfxzg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Y0eFfxzg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 58635C116C6; Tue, 13 Jan 2026 15:36:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768318566; bh=H3KNPdBoPqBjWrcjQvnp0B93cwcapvR2wZKshJhYBNI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Y0eFfxzgxzLRmHZKeFJvB56EBbiSDHm53nVBvQmQSM/nK0MTwY/BN4ybslPLm+ald fsUXW3kiXOr37EA1rz3dftJkcxidJeYJQxecUXAcNCkOTFoc26cRWyutVN5s7f15qP lGLq6XRolWPsPipUPhdPY3fiZ4aPxd3kib1xoPwg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71091: team: fix check for port enabled in team_queue_override_port_prio_changed() Date: Tue, 13 Jan 2026 16:35:50 +0100 Message-ID: <2026011342-CVE-2025-71091-860d@gregkh> X-Mailer: git-send-email 2.52.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=5858; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LLUXuLtE6sPyx0cii93rhhnxHc6cPNyL1cq9noWdSUc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlpaX6c7je/p8xe9Hzx2gNrJCaGlSy8tONA7l2WnSnZ9 wq77pzw6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJCLAyzDMT3fz5xEmRNa2N Tbu98xYJbvIT7mZYcPLW3G2Xq8U/qQTzrb/vzHNB5N6kJQA= 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: team: fix check for port enabled in team_queue_override_port_prio_changed() There has been a syzkaller bug reported recently with the following trace: list_del corruption, ffff888058bea080->prev is LIST_POISON2 (dead000000000122) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:59! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 3 UID: 0 PID: 21246 Comm: syz.0.2928 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__list_del_entry_valid_or_report+0x13e/0x200 lib/list_debug.c:59 Code: 48 c7 c7 e0 71 f0 8b e8 30 08 ef fc 90 0f 0b 48 89 ef e8 a5 02 55 fd 48 89 ea 48 89 de 48 c7 c7 40 72 f0 8b e8 13 08 ef fc 90 <0f> 0b 48 89 ef e8 88 02 55 fd 48 89 ea 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc9000d49f370 EFLAGS: 00010286 RAX: 000000000000004e RBX: ffff888058bea080 RCX: ffffc9002817d000 RDX: 0000000000000000 RSI: ffffffff819becc6 RDI: 0000000000000005 RBP: dead000000000122 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: ffff888039e9c230 R13: ffff888058bea088 R14: ffff888058bea080 R15: ffff888055461480 FS: 00007fbbcfe6f6c0(0000) GS:ffff8880d6d0a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3afcb0 CR3: 00000000382c7000 CR4: 0000000000352ef0 Call Trace: __list_del_entry_valid include/linux/list.h:132 [inline] __list_del_entry include/linux/list.h:223 [inline] list_del_rcu include/linux/rculist.h:178 [inline] __team_queue_override_port_del drivers/net/team/team_core.c:826 [inline] __team_queue_override_port_del drivers/net/team/team_core.c:821 [inline] team_queue_override_port_prio_changed drivers/net/team/team_core.c:883 [inline] team_priority_option_set+0x171/0x2f0 drivers/net/team/team_core.c:1534 team_option_set drivers/net/team/team_core.c:376 [inline] team_nl_options_set_doit+0x8ae/0xe60 drivers/net/team/team_core.c:2653 genl_family_rcv_msg_doit+0x209/0x2f0 net/netlink/genetlink.c:1115 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline] genl_rcv_msg+0x55c/0x800 net/netlink/genetlink.c:1210 netlink_rcv_skb+0x158/0x420 net/netlink/af_netlink.c:2552 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8c8/0xdd0 net/netlink/af_netlink.c:1896 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0xa98/0xc70 net/socket.c:2630 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2684 __sys_sendmsg+0x16d/0x220 net/socket.c:2716 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The problem is in this flow: 1) Port is enabled, queue_id != 0, in qom_list 2) Port gets disabled -> team_port_disable() -> team_queue_override_port_del() -> del (removed from list) 3) Port is disabled, queue_id != 0, not in any list 4) Priority changes -> team_queue_override_port_prio_changed() -> checks: port disabled && queue_id != 0 -> calls del - hits the BUG as it is removed already To fix this, change the check in team_queue_override_port_prio_changed() so it returns early if port is not enabled. The Linux kernel CVE team has assigned CVE-2025-71091 to this issue. Affected and fixed versions =========================== Issue introduced in 3.11 with commit 6c31ff366c1116823e77019bae3e92e9d77a49f4 and fixed in 6.1.160 with commit 53a727a8bfd78c739e130a781192d0f6f8e03d39 Issue introduced in 3.11 with commit 6c31ff366c1116823e77019bae3e92e9d77a49f4 and fixed in 6.6.120 with commit 6bfb62b6010a16112dcae52f490e5e0e6abe12a3 Issue introduced in 3.11 with commit 6c31ff366c1116823e77019bae3e92e9d77a49f4 and fixed in 6.12.64 with commit 107d245f84cb4f55f597d31eda34b42a2b7d6952 Issue introduced in 3.11 with commit 6c31ff366c1116823e77019bae3e92e9d77a49f4 and fixed in 6.18.4 with commit b71187648ef2349254673d0523fdf96d1fe3d758 Issue introduced in 3.11 with commit 6c31ff366c1116823e77019bae3e92e9d77a49f4 and fixed in 6.19-rc4 with commit 932ac51d9953eaf77a1252f79b656d4ca86163c6 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-2025-71091 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/team/team_core.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/53a727a8bfd78c739e130a781192d0f6f8e03d39 https://git.kernel.org/stable/c/6bfb62b6010a16112dcae52f490e5e0e6abe12a3 https://git.kernel.org/stable/c/107d245f84cb4f55f597d31eda34b42a2b7d6952 https://git.kernel.org/stable/c/b71187648ef2349254673d0523fdf96d1fe3d758 https://git.kernel.org/stable/c/932ac51d9953eaf77a1252f79b656d4ca86163c6