kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 6584 Comm: syz-executor7 Not tainted 4.13.0-next-20170913+ #3 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 task: ffff88003daee480 task.stack: ffff880038ce8000 RIP: 0010:perf_trace_block_get_rq+0x697/0x970 include/trace/events/block.h:384 RSP: 0018:ffff880038cef3f0 EFLAGS: 00010246 RAX: 0000000000010000 RBX: 1ffff1000719de84 RCX: 1ffffd1ffa146551 RDX: dffffc0000000001 RSI: ffffffff822c4a4f RDI: ffffe8ffd0a32a88 RBP: ffff880038cef530 R08: 1ffff10007d83e6c R09: ffffe8ffd0a32ab4 R10: 0000000000000002 R11: fffff91ffa146557 R12: ffffe8ffd0a36440 R13: ffffe8ffd0a32a80 R14: ffffffff85caf240 R15: 0000000000000000 sctp: [Deprecated]: syz-executor1 (pid 6596) Use of int in maxseg socket option. Use struct sctp_assoc_value instead FS: 00007f818623b700(0000) GS:ffff88003ec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020fd0ff7 CR3: 000000004d5ce000 CR4: 00000000000026f0 Call Trace: trace_block_getrq include/trace/events/block.h:423 [inline] __get_request block/blk-core.c:1283 [inline] get_request+0x1518/0x23b0 block/blk-core.c:1355 blk_old_get_request block/blk-core.c:1402 [inline] blk_get_request+0x1d8/0x3c0 block/blk-core.c:1427 sg_scsi_ioctl+0x117/0x750 block/scsi_ioctl.c:451 sg_ioctl+0x192d/0x2ed0 drivers/scsi/sg.c:1070 vfs_ioctl fs/ioctl.c:45 [inline] do_vfs_ioctl+0x1b1/0x1530 fs/ioctl.c:685 SYSC_ioctl fs/ioctl.c:700 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x447299 RSP: 002b:00007f818623ac08 EFLAGS: 00000296 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000000001c RCX: 0000000000447299 RDX: 0000000020001000 RSI: 0000000100000001 RDI: 000000000000001c RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 00000000ffffffff R13: 00000000000058b0 R14: 00000000006e8970 R15: 0000000000000000 Code: df 48 89 f9 48 c1 e9 03 0f b6 14 11 84 d2 74 09 80 fa 03 0f 8e e1 02 00 00 48 ba 01 00 00 00 00 fc ff df 41 c7 45 08 00 00 00 00 <80> 3a 00 0f 85 b7 02 00 00 4c 8b 3c 25 08 00 00 00 48 ba 00 00 RIP: perf_trace_block_get_rq+0x697/0x970 include/trace/events/block.h:384 RSP: ffff880038cef3f0 ---[ end trace 95e9ecefe6b3fca2 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..