syzbot


BUG: corrupted list in team_priority_option_set

Status: upstream: reported syz repro on 2020/11/16 07:46
Reported-by: syzbot+353a56c79abd9814de49@syzkaller.appspotmail.com
First crash: 640d, last: 640d

Fix bisection: failed (bisect log)
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in team_priority_option_set C error inconclusive 2 381d 477d 0/23 upstream: reported C repro on 2021/04/28 16:51

Sample crash report:
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
list_del corruption, ffff8880a951d480->prev is LIST_POISON2 (dead000000000200)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:48!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 9515 Comm: syz-executor.2 Not tainted 4.14.206-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88809ef3e300 task.stack: ffff88809bcc8000
RIP: 0010:__list_del_entry_valid.cold+0x37/0x55 lib/list_debug.c:48
RSP: 0018:ffff88809bccf5b8 EFLAGS: 00010282
RAX: 000000000000004e RBX: 0000000000000007 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff878bb940 RDI: ffffed1013799ead
RBP: ffff8880a951d480 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dead000000000200
R13: ffff8880b54f7270 R14: dffffc0000000000 R15: ffff8880a951d488
FS:  00007ff291853700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f895ebc1710 CR3: 00000000a8ddf000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:117 [inline]
 list_del_rcu include/linux/rculist.h:130 [inline]
 __team_queue_override_port_del drivers/net/team/team.c:829 [inline]
 __team_queue_override_port_del drivers/net/team/team.c:824 [inline]
 team_queue_override_port_prio_changed drivers/net/team/team.c:886 [inline]
 team_priority_option_set+0x142/0x2a0 drivers/net/team/team.c:1523
 team_option_set drivers/net/team/team.c:385 [inline]
 team_nl_cmd_options_set+0x690/0xb30 drivers/net/team/team.c:2610
 genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600
 genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45deb9
RSP: 002b:00007ff291852c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002d700 RCX: 000000000045deb9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 000000000000000e
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffcadc85eff R14: 00007ff2918539c0 R15: 000000000118bf2c
Code: 05 24 fe 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 40 cf cc 87 e8 d3 05 24 fe 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 a0 cf cc 87 e8 bf 05 24 fe <0f> 0b 48 89 ee 48 c7 c7 60 d0 cc 87 e8 ae 05 24 fe 0f 0b 90 90 
RIP: __list_del_entry_valid.cold+0x37/0x55 lib/list_debug.c:48 RSP: ffff88809bccf5b8
---[ end trace 9eb2b1349ba5d57d ]---

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/11/16 08:56 linux-4.14.y 27ce4f2a6817 1bf9a662 .config log report syz
ci2-linux-4-14 2020/11/16 07:45 linux-4.14.y 27ce4f2a6817 1bf9a662 .config log report info