kasan: GPF could be caused by NULL-ptr deref or user memory access SYSC_mount fs/namespace.c:3121 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3098 general protection fault: 0000 [#1] PREEMPT SMP KASAN do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 Modules linked in: entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f03408da73a CPU: 0 PID: 2704 Comm: syz-executor.2 Not tainted 4.14.290-syzkaller #0 RSP: 002b:00007f033f24df88 EFLAGS: 00000206 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 ORIG_RAX: 00000000000000a5 task: ffff88809e6a8380 task.stack: ffff88808c580000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f03408da73a RIP: 0010:vhost_umem_interval_tree_iter_first drivers/vhost/vhost.c:53 [inline] RIP: 0010:vhost_del_umem_range drivers/vhost/vhost.c:977 [inline] RIP: 0010:vhost_process_iotlb_msg drivers/vhost/vhost.c:1048 [inline] RIP: 0010:vhost_chr_write_iter drivers/vhost/vhost.c:1077 [inline] RIP: 0010:vhost_chr_write_iter+0x873/0x1100 drivers/vhost/vhost.c:1061 RDX: 0000000020000000 RSI: 0000000020000040 RDI: 0000000000000000 RSP: 0018:ffff88808c587c00 EFLAGS: 00010246 RBP: 00007f033f24e020 R08: 00007f033f24e020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000020000000 RAX: dffffc0000000000 RBX: ffff88808eee4700 RCX: 0000000000000000 R13: 0000000020000040 R14: 00007f033f24dfe0 R15: 0000000020000500 RDX: 0000000000000002 RSI: ffffffff857e4e65 RDI: ffff88808eee47c0 RBP: ffffed1011ddc8f1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: ffff88809e6a8380 R12: 0000000000000002 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff110118b0f87 FS: 00007f4798140700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6b545a0000 CR3: 00000000a03da000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: call_write_iter include/linux/fs.h:1780 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44c/0x630 fs/read_write.c:482 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f47997cb209 RSP: 002b:00007f4798140168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f47998ddf60 RCX: 00007f47997cb209 RDX: 0000000000000048 RSI: 0000000020002180 RDI: 0000000000000006 RBP: 00007f4799825161 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe760bc72f R14: 00007f4798140300 R15: 0000000000022000 Code: ff df 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 c6 06 00 00 4c 8b ab c0 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e9 48 c1 e9 03 <80> 3c 01 00 0f 85 8f 06 00 00 49 8b 6d 00 48 85 ed 0f 84 e4 03 CPU: 1 PID: 2718 Comm: syz-executor.0 Not tainted 4.14.290-syzkaller #0 RIP: vhost_umem_interval_tree_iter_first drivers/vhost/vhost.c:53 [inline] RSP: ffff88808c587c00 RIP: vhost_del_umem_range drivers/vhost/vhost.c:977 [inline] RSP: ffff88808c587c00 RIP: vhost_process_iotlb_msg drivers/vhost/vhost.c:1048 [inline] RSP: ffff88808c587c00 RIP: vhost_chr_write_iter drivers/vhost/vhost.c:1077 [inline] RSP: ffff88808c587c00 RIP: vhost_chr_write_iter+0x873/0x1100 drivers/vhost/vhost.c:1061 RSP: ffff88808c587c00 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Call Trace: ---[ end trace 2510103bc9711530 ]--- __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: f9 stc 4: 48 c1 e9 03 shr $0x3,%rcx 8: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) c: 0f 85 c6 06 00 00 jne 0x6d8 12: 4c 8b ab c0 00 00 00 mov 0xc0(%rbx),%r13 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 4c 89 e9 mov %r13,%rcx 26: 48 c1 e9 03 shr $0x3,%rcx * 2a: 80 3c 01 00 cmpb $0x0,(%rcx,%rax,1) <-- trapping instruction 2e: 0f 85 8f 06 00 00 jne 0x6c3 34: 49 8b 6d 00 mov 0x0(%r13),%rbp 38: 48 85 ed test %rbp,%rbp 3b: 0f .byte 0xf 3c: 84 e4 test %ah,%ah 3e: 03 .byte 0x3