------------[ cut here ]------------
kernel BUG at net/packet/af_packet.c:1515!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 6299 Comm: syz-executor1 Not tainted 4.9.52-g9b2b081 #55
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801cb811800 task.stack: ffff8801cf3a0000
RIP: 0010:[<ffffffff83546649>]  [<ffffffff83546649>] __fanout_unlink net/packet/af_packet.c:1515 [inline]
RIP: 0010:[<ffffffff83546649>]  [<ffffffff83546649>] __unregister_prot_hook+0x139/0x280 net/packet/af_packet.c:369
RSP: 0018:ffff8801cf3a7ac8  EFLAGS: 00010297
RAX: ffff8801cb811800 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8801cf1f3338
RBP: ffff8801cf3a7b08 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 1ffff10039e74f22 R12: ffff8801cf1f3300
R13: ffff8801cf42dd80 R14: 0000000000000003 R15: dffffc0000000000
FS:  00007fe467173700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdad9053db8 CR3: 00000001d5ad1000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801cf42e3f0 ffff8801cf1f3b28 00000000cf356c18 ffff8801cf42dd80
 0000000000000004 ffff8801cf356c18 ffff8801cf42e1e8 ffff8801cf3a7d80
 ffff8801cf3a7c50 ffffffff83549cbc ffff8801cf3a7d80 ffff8801cf420008
Call Trace:
 [<ffffffff83549cbc>] packet_set_ring+0xd6c/0x18b0 net/packet/af_packet.c:4300
 [<ffffffff8354c774>] packet_setsockopt+0x554/0x2240 net/packet/af_packet.c:3660
 [<ffffffff82ed31e0>] SYSC_setsockopt net/socket.c:1771 [inline]
 [<ffffffff82ed31e0>] SyS_setsockopt+0x160/0x250 net/socket.c:1750
 [<ffffffff838ac645>] entry_SYSCALL_64_fastpath+0x23/0xc6
Code: 48 89 fa 48 c1 ea 03 42 80 3c 3a 00 0f 85 4a 01 00 00 4d 3b 6c c4 28 74 16 e8 74 40 e2 fd 83 c3 01 44 39 f3 75 cd e8 67 40 e2 fd <0f> 0b 31 c0 41 8d 5e ff 48 89 45 c0 e8 56 40 e2 fd 49 8d 7c dc 
RIP  [<ffffffff83546649>] __fanout_unlink net/packet/af_packet.c:1515 [inline]
RIP  [<ffffffff83546649>] __unregister_prot_hook+0x139/0x280 net/packet/af_packet.c:369
 RSP <ffff8801cf3a7ac8>
---[ end trace 510c62b4006ca471 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..