syzbot


general protection fault in rlb_req_update_slave_clients

Status: auto-closed as invalid on 2021/12/07 21:16
Reported-by: syzbot+cb596a51e11c70d89c80@syzkaller.appspotmail.com
First crash: 1021d, last: 1021d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in rlb_req_update_slave_clients net C inconclusive 3 721d 721d 22/26 fixed on 2023/02/24 13:50
linux-4.14 general protection fault in rlb_req_update_slave_clients 1 1241d 1241d 0/1 auto-closed as invalid on 2021/05/01 17:22

Sample crash report:
RBP: 00007fe074e881d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff51c7ff2f R14: 00007fe074e88300 R15: 0000000000022000
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 702 Comm: syz-executor.4 Not tainted 4.19.202-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:rlb_req_update_slave_clients+0x109/0x2f0 drivers/net/bonding/bond_alb.c:515
overlayfs: upper fs does not support tmpfile.
Code: 0d 0c 21 fd 41 80 3e 00 0f 85 a5 01 00 00 89 d8 48 c1 e0 06 49 03 84 24 10 01 00 00 48 8d 78 30 49 89 c7 48 89 fa 48 c1 ea 03 <80> 3c 2a 00 0f 85 98 01 00 00 4d 39 6f 30 75 83 e8 d2 0b 21 fd 49
RSP: 0018:ffff8880273ae8c0 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000e56c000
RDX: 0000000000000006 RSI: ffffffff84417683 RDI: 0000000000000030
RBP: dffffc0000000000 R08: 0000000000000001 R09: 00000000ffffffff
overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88803b9b9180
R13: ffff888091126480 R14: ffffed1007737252 R15: 0000000000000000
FS:  00007fe074e88700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000014a53ad CR3: 0000000092c94000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 alb_fasten_mac_swap+0x731/0x8b0 drivers/net/bonding/bond_alb.c:1078
 bond_alb_set_mac_address+0x411/0x770 drivers/net/bonding/bond_alb.c:1805
overlayfs: upper fs does not support tmpfile.
overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
 bond_set_mac_address+0x6aa/0x7c0 drivers/net/bonding/bond_main.c:3772
 dev_set_mac_address+0x189/0x320 net/core/dev.c:7908
 __set_port_dev_addr+0x106/0x160 drivers/net/team/team.c:62
 team_port_set_orig_dev_addr drivers/net/team/team.c:67 [inline]
 team_port_add drivers/net/team/team.c:1319 [inline]
 team_add_slave+0xbe4/0x1fa0 drivers/net/team/team.c:1976
 do_set_master+0x1c8/0x220 net/core/rtnetlink.c:2321
 do_setlink+0x7ec/0x3540 net/core/rtnetlink.c:2455
 rtnl_newlink+0xda9/0x15c0 net/core/rtnetlink.c:3077
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2457
 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1346
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1911
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2225
 __sys_sendmsg net/socket.c:2263 [inline]
 __do_sys_sendmsg net/socket.c:2272 [inline]
 __se_sys_sendmsg net/socket.c:2270 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2270
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665e9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe074e88188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000007
RBP: 00007fe074e881d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff51c7ff2f R14: 00007fe074e88300 R15: 0000000000022000
Modules linked in:
---[ end trace 97fa718211483023 ]---
RIP: 0010:rlb_req_update_slave_clients+0x109/0x2f0 drivers/net/bonding/bond_alb.c:515
Code: 0d 0c 21 fd 41 80 3e 00 0f 85 a5 01 00 00 89 d8 48 c1 e0 06 49 03 84 24 10 01 00 00 48 8d 78 30 49 89 c7 48 89 fa 48 c1 ea 03 <80> 3c 2a 00 0f 85 98 01 00 00 4d 39 6f 30 75 83 e8 d2 0b 21 fd 49
RSP: 0018:ffff8880273ae8c0 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9000e56c000
RDX: 0000000000000006 RSI: ffffffff84417683 RDI: 0000000000000030
RBP: dffffc0000000000 R08: 0000000000000001 R09: 00000000ffffffff
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88803b9b9180
R13: ffff888091126480 R14: ffffed1007737252 R15: 0000000000000000
FS:  00007fe074e88700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000014a53ad CR3: 0000000092c94000 CR4: 00000000001406e0
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
2021/08/09 21:15 linux-4.19.y 5c66974a6304 6972b106 .config console log report info ci2-linux-4-19 general protection fault in rlb_req_update_slave_clients
* Struck through repros no longer work on HEAD.