------------[ 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: 1 PID: 15391 Comm: syz-executor4 Not tainted 4.14.0-rc1-next-20170919+ #7 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 task: ffff880051c8c340 task.stack: ffff880052ac0000 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:ffff880052ac7700 EFLAGS: 00010216 RAX: 0000000000010000 RBX: 0000000000000001 RCX: ffffc9000352e000 RDX: 0000000000000151 RSI: ffffffff84417f09 RDI: ffff8800389cc968 RBP: ffff880052ac7740 R08: ffff880052ac7050 R09: ffff880052ac7048 R10: ffff880052ac6fc0 R11: 1ffff1000a391afb R12: ffff8800389cc940 R13: ffff88003df7e880 R14: 0000000000000001 R15: dffffc0000000000 FS: 00007ffb3e412700(0000) GS:ffff88003ed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9f3dc961e1 CR3: 000000003ccfa000 CR4: 00000000000006e0 DR0: 0000000020000008 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 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:0x4474f9 RSP: 002b:00007ffb3e411c08 EFLAGS: 00000292 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000016 RCX: 00000000004474f9 RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000016 RBP: 0000000000000082 R08: 000000000000047e R09: 0000000000000000 R10: 0000000020001000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffb3e4129c0 R15: 00007ffb3e412700 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 91 6d 2c fd 44 39 f3 75 cd e8 87 6d 2c fd <0f> 0b 31 c0 41 8d 5e ff 48 89 45 c0 e8 76 6d 2c fd 49 8d 7c dc RIP: __fanout_unlink net/packet/af_packet.c:1521 [inline] RSP: ffff880052ac7700 RIP: __unregister_prot_hook+0x139/0x280 net/packet/af_packet.c:367 RSP: ffff880052ac7700 ---[ end trace 81a1b4e22c30c3f8 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..