------------[ 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: 1 PID: 15604 Comm: syz-executor1 Not tainted 4.16.0+ #288 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 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:ffff8801b2b0f898 EFLAGS: 00010216 RAX: 0000000000040000 RBX: dffffc0000000000 RCX: ffffffff855011eb RDX: 00000000000000be RSI: ffffc9000348a000 RDI: ffff8801903dd6d8 RBP: ffff8801b2b0f9d8 R08: 1ffff10036561efa R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0001ffffffffffff R13: ffffed0036561f26 R14: ffff8801b2b0f9b0 R15: ffff8801b2b0f930 FS: 0000000000000000(0000) GS:ffff8801db100000(0063) knlGS:00000000f5fc0b40 CPU: 0 PID: 15612 Comm: syz-executor6 Not tainted 4.16.0+ #288 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 CR2: 000000000834002d CR3: 00000001ad4e4000 CR4: 00000000001406e0 Call Trace: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1a7/0x27d lib/dump_stack.c:53 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fail_dump lib/fault-inject.c:51 [inline] should_fail+0x914/0xae0 lib/fault-inject.c:149 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 should_failslab+0xec/0x120 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:422 [inline] slab_alloc_node mm/slab.c:3287 [inline] kmem_cache_alloc_node+0x56/0x760 mm/slab.c:3630 __alloc_skb+0xf4/0x760 net/core/skbuff.c:193 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 alloc_skb include/linux/skbuff.h:983 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1183 [inline] netlink_sendmsg+0xa9a/0xe80 net/netlink/af_netlink.c:1875 do_syscall_32_irqs_on arch/x86/entry/common.c:330 [inline] do_fast_syscall_32+0x3ec/0xf9f arch/x86/entry/common.c:392 sock_sendmsg_nosec net/socket.c:630 [inline] sock_sendmsg+0xca/0x110 net/socket.c:640 ___sys_sendmsg+0x767/0x8b0 net/socket.c:2116 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 RIP: 0023:0xf7fe5c99 RSP: 002b:00000000f5fc00ac 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 __sys_sendmsg+0x105/0x250 net/socket.c:2154 Code: 5e 41 5f 5d c3 31 __compat_sys_sendmsg net/compat.c:754 [inline] C_SYSC_sendmsg net/compat.c:761 [inline] compat_SyS_sendmsg+0x2c/0x40 net/compat.c:758 c0 eb do_syscall_32_irqs_on arch/x86/entry/common.c:330 [inline] do_fast_syscall_32+0x3ec/0xf9f arch/x86/entry/common.c:392 a6 e8 e2 63 21 fc 4c 89 e7 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 e8 RIP: 0023:0xf7fd5c99 ba RSP: 002b:00000000f5fd10ac EFLAGS: 00000282 90 ORIG_RAX: 0000000000000172 40 RAX: ffffffffffffffda RBX: 0000000000000013 RCX: 00000000201fb000 fc RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 4c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 89 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 f8 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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: ffff8801b2b0f898 RIP: log_write+0x3db/0x4a0 drivers/vhost/vhost.c:1676 RSP: ffff8801b2b0f898 ---[ end trace 4625baf8eb5e647c ]---