slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3376 [inline] kmem_cache_alloc+0x28e/0x3c0 mm/slab.c:3550 prepare_creds+0x39/0x490 kernel/cred.c:255 install_thread_keyring security/keys/process_keys.c:167 [inline] lookup_user_key+0x3d7/0x10d0 security/keys/process_keys.c:557 kasan: GPF could be caused by NULL-ptr deref or user memory access SYSC_add_key security/keys/keyctl.c:115 [inline] SyS_add_key+0x154/0x370 security/keys/keyctl.c:63 general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 CPU: 1 PID: 10658 Comm: syz-executor.4 Not tainted 4.14.209-syzkaller #0 entry_SYSCALL_64_after_hwframe+0x46/0xbb Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0033:0x45deb9 task: ffff8880984a2280 task.stack: ffff88809c0b8000 RSP: 002b:00007fa801973c78 EFLAGS: 00000246 RIP: 0010:vhost_umem_interval_tree_iter_first drivers/vhost/vhost.c:53 [inline] RIP: 0010:vhost_del_umem_range drivers/vhost/vhost.c:971 [inline] RIP: 0010:vhost_process_iotlb_msg drivers/vhost/vhost.c:1042 [inline] RIP: 0010:vhost_chr_write_iter drivers/vhost/vhost.c:1071 [inline] RIP: 0010:vhost_chr_write_iter+0x863/0x10f0 drivers/vhost/vhost.c:1055 ORIG_RAX: 00000000000000f8 RSP: 0018:ffff88809c0bfc00 EFLAGS: 00010246 RAX: ffffffffffffffda RBX: 0000000000000740 RCX: 000000000045deb9 RDX: 00000000200000c0 RSI: 0000000000000000 RDI: 0000000020000040 RAX: dffffc0000000000 RBX: ffff8880732e84c0 RCX: 0000000000000000 RBP: 00007fa801973ca0 R08: ffffffffffffffff R09: 0000000000000000 RDX: 0000000000000002 RSI: ffffffff85985d15 RDI: ffff8880732e8580 R10: 0000000000000005 R11: 0000000000000246 R12: 0000000000000001 RBP: ffffed100e65d0a9 R08: 0000000000000000 R09: 00000000000406ca R13: 00007ffeda1d10ef R14: 00007fa8019749c0 R15: 000000000118bf2c R10: ffff8880984a2b58 R11: ffff8880984a2280 R12: 0000000000000002 R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff11013817f87 FS: 00007f8287ccc700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004de0f0 CR3: 00000000a8cbe000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: call_write_iter include/linux/fs.h:1778 [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 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45deb9 RSP: 002b:00007f8287ccbc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000003b980 RCX: 000000000045deb9 RDX: 0000000000000048 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 000000000118bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c R13: 00007ffd4c3d0b4f R14: 00007f8287ccc9c0 R15: 000000000118bf2c Code: ff df 48 89 f9 48 c1 e9 03 80 3c 01 00 0f 85 cd 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 96 06 00 00 49 8b 6d 00 48 85 ed 0f 84 e4 03 RIP: vhost_umem_interval_tree_iter_first drivers/vhost/vhost.c:53 [inline] RSP: ffff88809c0bfc00 RIP: vhost_del_umem_range drivers/vhost/vhost.c:971 [inline] RSP: ffff88809c0bfc00 RIP: vhost_process_iotlb_msg drivers/vhost/vhost.c:1042 [inline] RSP: ffff88809c0bfc00 RIP: vhost_chr_write_iter drivers/vhost/vhost.c:1071 [inline] RSP: ffff88809c0bfc00 RIP: vhost_chr_write_iter+0x863/0x10f0 drivers/vhost/vhost.c:1055 RSP: ffff88809c0bfc00 ---[ end trace e46de74b335ebd9d ]---