BUG: corrupted list in team_priority_option_set

12 views
Skip to first unread message

syzbot

unread,
Nov 16, 2020, 2:46:26 AM11/16/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 27ce4f2a Linux 4.14.206
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15c31cc2500000
kernel config: https://syzkaller.appspot.com/x/.config?x=32258a0e1fac372d
dashboard link: https://syzkaller.appspot.com/bug?extid=353a56c79abd9814de49
compiler: gcc (GCC) 10.1.0-syz 20200507

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+353a56...@syzkaller.appspotmail.com

list_del corruption, ffff88809d7ea880->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: 29261 Comm: syz-executor.4 Not tainted 4.14.206-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880aaa1e540 task.stack: ffff8880504f8000
RIP: 0010:__list_del_entry_valid.cold+0x37/0x55 lib/list_debug.c:48
RSP: 0018:ffff8880504ff5b8 EFLAGS: 00010282
RAX: 000000000000004e RBX: 0000000000000007 RCX: 0000000000000000
RDX: 000000000000f05d RSI: ffffffff8145da90 RDI: ffffed100a09fead
RBP: ffff88809d7ea880 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dead000000000200
R13: ffff8880abaee770 R14: dffffc0000000000 R15: ffff88809d7ea888
FS: 00007f7516f8c700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f10c98a4be8 CR3: 00000000aadc9000 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:00007f7516f8bc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000002d700 RCX: 000000000045deb9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000007
RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffd9bc766ff R14: 00007f7516f8c9c0 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: ffff8880504ff5b8
wlan1: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge)
hwsim sw_scan request, prepping stuff
ieee80211 phy8: mac80211_hwsim_bss_info_changed(changed=0x200 vif->addr=02:00:00:00:08:00)
---[ end trace 27384ae94c182967 ]---


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Nov 16, 2020, 3:57:20 AM11/16/20
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 27ce4f2a Linux 4.14.206
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14f329d6500000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13ebf1d6500000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+353a56...@syzkaller.appspotmail.com

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
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 ]---

Reply all
Reply to author
Forward
0 new messages