syzbot


general protection fault in __team_options_change_check

Status: auto-closed as invalid on 2022/05/18 11:34
Reported-by: syzbot+b8032d926b384bab2871@syzkaller.appspotmail.com
First crash: 1050d, last: 1050d

Sample crash report:
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: 0 PID: 17040 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__team_options_change_check+0xe9/0x2b0 drivers/net/team/team.c:2856
Code: 48 c1 e8 03 80 3c 28 00 0f 85 84 01 00 00 48 8b 1b 4c 39 e3 0f 84 b9 00 00 00 e8 82 dd 18 fd 48 8d 7b 38 48 89 f8 48 c1 e8 03 <0f> b6 04 28 84 c0 74 06 0f 8e 67 01 00 00 44 0f b6 73 38 31 ff 44
RSP: 0018:ffff888211066f10 EFLAGS: 00010206
RAX: 0000eee000020a87 RBX: 0007770000105400 RCX: ffffc90007fd9000
RDX: 0000000000040000 RSI: ffffffff8449a7ee RDI: 0007770000105438
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880a5e47978
R13: ffff888211066f48 R14: ffff888000105390 R15: ffff888211066f48
FS:  00007f2cb8de8700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2a98040138 CR3: 0000000228821000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 team_port_add drivers/net/team/team.c:1293 [inline]
 team_add_slave+0x1454/0x1fa0 drivers/net/team/team.c:1976
 do_set_master+0x1c8/0x220 net/core/rtnetlink.c:2321
 rtnl_newlink+0x1279/0x15c0 net/core/rtnetlink.c:3170
 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f2cba472fe9
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:00007f2cb8de8168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f2cba585f60 RCX: 00007f2cba472fe9
RDX: 587d020000000000 RSI: 0000000020000140 RDI: 0000000000000003
RBP: 00007f2cba4cd08d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffebbe33d5f R14: 00007f2cb8de8300 R15: 0000000000022000
Modules linked in:
---[ end trace 1f46fb433d697b20 ]---
RIP: 0010:__team_options_change_check+0xe9/0x2b0 drivers/net/team/team.c:2856
Code: 48 c1 e8 03 80 3c 28 00 0f 85 84 01 00 00 48 8b 1b 4c 39 e3 0f 84 b9 00 00 00 e8 82 dd 18 fd 48 8d 7b 38 48 89 f8 48 c1 e8 03 <0f> b6 04 28 84 c0 74 06 0f 8e 67 01 00 00 44 0f b6 73 38 31 ff 44
RSP: 0018:ffff888211066f10 EFLAGS: 00010206
RAX: 0000eee000020a87 RBX: 0007770000105400 RCX: ffffc90007fd9000
RDX: 0000000000040000 RSI: ffffffff8449a7ee RDI: 0007770000105438
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880a5e47978
R13: ffff888211066f48 R14: ffff888000105390 R15: ffff888211066f48
FS:  00007f2cb8de8700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f42e51e5000 CR3: 0000000228821000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 c1 e8 03          	shr    $0x3,%rax
   4:	80 3c 28 00          	cmpb   $0x0,(%rax,%rbp,1)
   8:	0f 85 84 01 00 00    	jne    0x192
   e:	48 8b 1b             	mov    (%rbx),%rbx
  11:	4c 39 e3             	cmp    %r12,%rbx
  14:	0f 84 b9 00 00 00    	je     0xd3
  1a:	e8 82 dd 18 fd       	callq  0xfd18dda1
  1f:	48 8d 7b 38          	lea    0x38(%rbx),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	0f b6 04 28          	movzbl (%rax,%rbp,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	74 06                	je     0x38
  32:	0f 8e 67 01 00 00    	jle    0x19f
  38:	44 0f b6 73 38       	movzbl 0x38(%rbx),%r14d
  3d:	31 ff                	xor    %edi,%edi
  3f:	44                   	rex.R

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/18 11:33 linux-4.19.y 3f8a27f9e27b 731a2d23 .config console log report info ci2-linux-4-19 general protection fault in __team_options_change_check
* Struck through repros no longer work on HEAD.