syzbot


BUG: corrupted list in team_priority_option_set (2)

Status: upstream: reported on 2024/09/19 08:39
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+5d4949ba4b4e3cd4ce75@syzkaller.appspotmail.com
First crash: 67d, last: 67d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [net?] BUG: corrupted list in team_priority_option_set (2) 0 (1) 2024/09/19 08:39
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in team_priority_option_set net C error inconclusive 2 442d 1302d 0/28 auto-obsoleted due to no activity on 2023/12/14 18:45
linux-4.14 BUG: corrupted list in team_priority_option_set syz error 2 1465d 1465d 0/1 upstream: reported syz repro on 2020/11/16 07:46

Sample crash report:
list_del corruption, ffff8880299f0480->prev is LIST_POISON2 (dead000000000122)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 13501 Comm: syz.3.2331 Not tainted 6.11.0-rc7-syzkaller-00103-g36f6b72cb855 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:__list_del_entry_valid_or_report+0x106/0x140 lib/list_debug.c:59
Code: e8 1f 8a fc 06 90 0f 0b 48 c7 c7 20 93 60 8c 4c 89 fe e8 0d 8a fc 06 90 0f 0b 48 c7 c7 80 93 60 8c 4c 89 fe e8 fb 89 fc 06 90 <0f> 0b 48 c7 c7 e0 93 60 8c 4c 89 fe 48 89 d9 e8 e6 89 fc 06 90 0f
RSP: 0018:ffffc90002fb71c0 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: b60106a26df02a00
RDX: ffffc9000a214000 RSI: 0000000000003e3c RDI: 0000000000003e3d
RBP: ffff8880299f0480 R08: ffffffff817401bc R09: fffffbfff1cfa0e0
R10: dffffc0000000000 R11: fffffbfff1cfa0e0 R12: dffffc0000000000
R13: ffff8880299f0400 R14: ffff888067894e20 R15: ffff8880299f0480
FS:  00007fdb7e7586c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f70cda0ef98 CR3: 0000000058d50000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry_valid include/linux/list.h:124 [inline]
 __list_del_entry include/linux/list.h:215 [inline]
 list_del_rcu include/linux/rculist.h:157 [inline]
 __team_queue_override_port_del drivers/net/team/team_core.c:825 [inline]
 team_queue_override_port_prio_changed drivers/net/team/team_core.c:882 [inline]
 team_priority_option_set+0x164/0x7d0 drivers/net/team/team_core.c:1520
 team_option_set drivers/net/team/team_core.c:375 [inline]
 team_nl_options_set_doit+0xa18/0x1090 drivers/net/team/team_core.c:2650
 genl_family_rcv_msg_doit net/netlink/genetlink.c:1115 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
 genl_rcv_msg+0xb14/0xec0 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
 netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357
 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:745
 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2597
 ___sys_sendmsg net/socket.c:2651 [inline]
 __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2680
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdb7d97def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fdb7e758038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fdb7db35f80 RCX: 00007fdb7d97def9
RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000005
RBP: 00007fdb7d9f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fdb7db35f80 R15: 00007fff8cc9fa38
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0x106/0x140 lib/list_debug.c:59
Code: e8 1f 8a fc 06 90 0f 0b 48 c7 c7 20 93 60 8c 4c 89 fe e8 0d 8a fc 06 90 0f 0b 48 c7 c7 80 93 60 8c 4c 89 fe e8 fb 89 fc 06 90 <0f> 0b 48 c7 c7 e0 93 60 8c 4c 89 fe 48 89 d9 e8 e6 89 fc 06 90 0f
RSP: 0018:ffffc90002fb71c0 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: b60106a26df02a00
RDX: ffffc9000a214000 RSI: 0000000000003e3c RDI: 0000000000003e3d
RBP: ffff8880299f0480 R08: ffffffff817401bc R09: fffffbfff1cfa0e0
R10: dffffc0000000000 R11: fffffbfff1cfa0e0 R12: dffffc0000000000
R13: ffff8880299f0400 R14: ffff888067894e20 R15: ffff8880299f0480
FS:  00007fdb7e7586c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f70cda0ef98 CR3: 0000000058d50000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/15 05:30 net 36f6b72cb855 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce BUG: corrupted list in team_priority_option_set
* Struck through repros no longer work on HEAD.