------------[ cut here ]------------ kernel BUG at drivers/vhost/vhost.c:1652! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 23504 Comm: syz-executor5 Not tainted 4.16.0+ #288 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:set_bit_to_user drivers/vhost/vhost.c:1652 [inline] RIP: 0010:log_write+0x3db/0x4a0 drivers/vhost/vhost.c:1676 RSP: 0018:ffff88013fb0f898 EFLAGS: 00010216 RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffffff855011eb RDX: 00000000000000be RSI: ffffc90006463000 RDI: ffff88018e0d3898 RBP: ffff88013fb0f9d8 R08: 1ffff10027f61efa R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0001ffffffffffff R13: ffffed0027f61f26 R14: ffff88013fb0f9b0 R15: ffff88013fb0f930 FS: 0000000000000000(0000) GS:ffff8801db000000(0063) knlGS:00000000f5fd7b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000008116ff0 CR3: 00000001c0540000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vhost_update_used_flags+0x379/0x480 drivers/vhost/vhost.c:1723 vhost_vq_init_access+0xca/0x540 drivers/vhost/vhost.c:1763 vhost_net_set_backend drivers/vhost/net.c:1166 [inline] vhost_net_ioctl+0xeed/0x19b0 drivers/vhost/net.c:1322 vhost_net_compat_ioctl+0x24/0x30 drivers/vhost/net.c:1354 C_SYSC_ioctl fs/compat_ioctl.c:1461 [inline] compat_SyS_ioctl+0x151/0x2a30 fs/compat_ioctl.c:1407 do_syscall_32_irqs_on arch/x86/entry/common.c:330 [inline] do_fast_syscall_32+0x3ec/0xf9f arch/x86/entry/common.c:392 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7fdbc99 RSP: 002b:00000000f5fd70ac EFLAGS: 00000282 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000015 RCX: 000000004008af30 RDX: 0000000020f1dff8 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Code: 5e 41 5f 5d c3 31 c0 eb a6 e8 e2 63 21 fc 4c 89 e7 e8 ba 90 40 fc 4c 89 f8 48 c1 e8 03 c6 04 18 f8 e9 3a ff ff ff e8 c5 63 21 fc <0f> 0b e8 be 63 21 fc 4d 8d 65 ff e9 7b fe ff ff e8 b0 63 21 fc RIP: set_bit_to_user drivers/vhost/vhost.c:1652 [inline] RSP: ffff88013fb0f898 RIP: log_write+0x3db/0x4a0 drivers/vhost/vhost.c:1676 RSP: ffff88013fb0f898 ---[ end trace cf732d625c634c25 ]---