syzbot
kernel BUG at net/packet/af_packet.c:LINE!
Status:
closed as invalid on 2017/11/01 18:58
Reported-by: syzbot+907de6144b83bd17cc9e9b764b6c5b5a15a14722@syzkaller.appspotmail.com
First crash: 3293d, last: 3272d
Sample crash report:
------------[ cut here ]------------
kernel BUG at net/packet/af_packet.c:1521!
invalid opcode: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
(ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 13132 Comm: syzkaller086204 Not tainted 4.13.0-rc7+ #35
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801ca2dc380 task.stack: ffff8801ca3c0000
RIP: 0010:__fanout_unlink net/packet/af_packet.c:1521 [inline]
RIP: 0010:__unregister_prot_hook+0x139/0x280 net/packet/af_packet.c:367
RSP: 0018:ffff8801ca3c7700 EFLAGS: 00010297
RAX: ffff8801ca2dc380 RBX: ffff8801c9dc2500 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 00000000ddd3d9e9 RDI: ffff8801ca2de388
RBP: ffff8801ca3c7740 R08: 0000000000000002 R09: 0000000000000004
R10: ffff8801ca3c75b8 R11: ffffffff843ecec7 R12: ffff8801ca2de380
R13: ffff8801c9dc2500 R14: 0000000000000000 R15: ffff8801ca3c7d70
FS: 00007f478da17700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f478da16e78 CR3: 00000001cf2ce000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
packet_set_ring+0xe7c/0x1b70 net/packet/af_packet.c:4305
packet_setsockopt+0x6cd/0x1e80 net/packet/af_packet.c:3660
SYSC_setsockopt net/socket.c:1852 [inline]
SyS_setsockopt+0x189/0x360 net/socket.c:1831
entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x445fb9
RSP: 002b:00007f478da16dc8 EFLAGS: 00000202 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000445fb9
RDX: 0000000000000005 RSI: 0000000000000107 RDI: 000000000000010a
RBP: 0000000000000086 R08: 000000000000047e R09: 00007f478da17700
R10: 0000000020001000 R11: 0000000000000202 R12: 0000000000000000
R13: 00007fff519516ff R14: 00007f478da179c0 R15: 0000000000000000
Code: 48 89 fa 48 c1 ea 03 42 80 3c 3a 00 0f 85 4e 01 00 00 4d 3b 6c c4 28 74 16 83 c3 01 e8 a1 47 2f fd 44 39 f3 75 cd e8 97 47 2f fd <0f> 0b 31 c0 41 8d 5e ff 48 89 45 c0 e8 86 47 2f fd 49 8d 7c dc
RIP: __fanout_unlink net/packet/af_packet.c:1521 [inline] RSP: ffff8801ca3c7700
RIP: __unregister_prot_hook+0x139/0x280 net/packet/af_packet.c:367 RSP: ffff8801ca3c7700
---[ end trace c4eeba8fd1b8732a ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
(ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..
* Struck through repros no longer work on HEAD.