syzbot


BUG: corrupted list in team_priority_option_set

Status: auto-obsoleted due to no activity on 2023/12/14 18:45
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+7deae1e5de1fc51f6c5d@syzkaller.appspotmail.com
First crash: 1056d, last: 195d
Cause bisection: failed (error log, bisect log)
  
Fix bisection the fix commit could be any of (bisect log):
  57fa2369ab17 Merge tag 'cfi-v5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
  9e9fb7655ed5 Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] BUG: corrupted list in team_priority_option_set 0 (1) 2021/04/28 16:51
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: corrupted list in team_priority_option_set syz error 2 1219d 1219d 0/1 upstream: reported syz repro on 2020/11/16 07:46
Last patch testing requests (7)
Created Duration User Patch Repo Result
2023/11/15 00:00 25m retest repro upstream OK log
2023/09/05 18:22 22m retest repro upstream report log
2023/06/27 14:54 24m retest repro upstream report log
2023/04/18 13:40 21m retest repro upstream report log
2023/01/08 09:31 23m retest repro upstream report log
2022/09/30 07:30 18m retest repro upstream report log
2022/09/27 02:30 16m retest repro upstream OK log
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2021/09/01 12:18 22m bisect fix upstream job log (2)
2021/08/02 02:36 36m bisect fix upstream job log (0) log
2021/06/30 12:02 37m bisect fix upstream job log (0) log
2021/05/31 06:23 37m bisect fix upstream job log (0) log

Sample crash report:
list_del corruption, ffff8881411f0b80->prev is LIST_POISON2 (dead000000000122)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:48!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 9747 Comm: syz-executor132 Not tainted 5.12.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid.cold+0x37/0x4a lib/list_debug.c:48
Code: f2 ff 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 40 53 c2 89 e8 4d ac f2 ff 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 a0 53 c2 89 e8 39 ac f2 ff <0f> 0b 48 89 ee 48 c7 c7 60 54 c2 89 e8 28 ac f2 ff 0f 0b 83 c3 01
RSP: 0018:ffffc9000b437438 EFLAGS: 00010286
RAX: 000000000000004e RBX: 00000000ffffffff RCX: 0000000000000000
RDX: ffff888015a49c40 RSI: ffffffff815c3fc5 RDI: fffff52001686e79
RBP: ffff8881411f0b80 R08: 000000000000004e R09: 0000000000000000
R10: ffffffff815bcd5e R11: 0000000000000000 R12: dead000000000122
R13: ffff88801213bc70 R14: ffff8881411f0b80 R15: 0000000000000000
FS:  00007ff078be7700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000200f1000 CR4: 0000000000350ef0
Call Trace:
 __list_del_entry include/linux/list.h:132 [inline]
 list_del_rcu include/linux/rculist.h:166 [inline]
 __team_queue_override_port_del drivers/net/team/team.c:819 [inline]
 team_queue_override_port_prio_changed drivers/net/team/team.c:876 [inline]
 team_priority_option_set+0x169/0x2e0 drivers/net/team/team.c:1519
 team_option_set drivers/net/team/team.c:374 [inline]
 team_nl_cmd_options_set+0x6cb/0xc40 drivers/net/team/team.c:2645
 genl_family_rcv_msg_doit+0x228/0x320 net/netlink/genetlink.c:739
 genl_family_rcv_msg net/netlink/genetlink.c:783 [inline]
 genl_rcv_msg+0x328/0x580 net/netlink/genetlink.c:800
 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2502
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:811
 netlink_unicast_kernel net/netlink/af_netlink.c:1312 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1338
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1927
 sock_sendmsg_nosec net/socket.c:654 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:674
 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2350
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2404
 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2433
 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x44afb9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 01 16 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff078be7308 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004d6338 RCX: 000000000044afb9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 000000000000000d
RBP: 00000000004d6330 R08: 0000000000000040 R09: 0000000000000000
R10: 0000000000000044 R11: 0000000000000246 R12: 00000000004d633c
R13: 000000000049f534 R14: 0030656c69662f2e R15: 0000000000022000
Modules linked in:
---[ end trace d7d0cba5daa525c4 ]---
RIP: 0010:__list_del_entry_valid.cold+0x37/0x4a lib/list_debug.c:48
Code: f2 ff 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 40 53 c2 89 e8 4d ac f2 ff 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 a0 53 c2 89 e8 39 ac f2 ff <0f> 0b 48 89 ee 48 c7 c7 60 54 c2 89 e8 28 ac f2 ff 0f 0b 83 c3 01
RSP: 0018:ffffc9000b437438 EFLAGS: 00010286
RAX: 000000000000004e RBX: 00000000ffffffff RCX: 0000000000000000
RDX: ffff888015a49c40 RSI: ffffffff815c3fc5 RDI: fffff52001686e79
RBP: ffff8881411f0b80 R08: 000000000000004e R09: 0000000000000000
R10: ffffffff815bcd5e R11: 0000000000000000 R12: dead000000000122
R13: ffff88801213bc70 R14: ffff8881411f0b80 R15: 0000000000000000
FS:  00007ff078be7700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2cdd4f6020 CR3: 00000000200f1000 CR4: 0000000000350ef0

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/28 03:53 upstream 57fa2369ab17 805b5003 .config console log report syz C ci-upstream-kasan-gce-root BUG: corrupted list in team_priority_option_set
2021/05/31 12:02 upstream 8124c8a6b353 325a8dab .config console log report syz ci-upstream-kasan-gce-selinux-root BUG: corrupted list in team_priority_option_set
* Struck through repros no longer work on HEAD.