usercopy: kernel memory overwrite attempt detected to 00000000cef85552 (kmalloc-1024) (1024 bytes) ------------[ cut here ]------------ kernel BUG at mm/usercopy.c:72! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 13652 Comm: syz-executor6 Not tainted 4.15.0-rc5+ #243 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:report_usercopy mm/usercopy.c:64 [inline] RIP: 0010:__check_object_size+0x3a2/0x4f0 mm/usercopy.c:264 RSP: 0018:ffff8801ccfff158 EFLAGS: 00010286 RAX: 0000000000000062 RBX: ffffffff85928740 RCX: 0000000000000000 RDX: 0000000000000062 RSI: ffffc90002cbe000 RDI: ffffed00399ffe1f RBP: ffff8801ccfff248 R08: 1ffff100399ffdad R09: 0000000000000000 R10: 0000000055b00a3a R11: 0000000000000000 R12: ffffffff85928700 R13: ffff8801d50cdb50 R14: 0000000000000400 R15: ffffea0007543300 FS: 00007f2bdcbdf700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000a2fa38 CR3: 00000001c6cf7004 CR4: 00000000001626e0 Call Trace: check_object_size include/linux/thread_info.h:112 [inline] check_copy_size include/linux/thread_info.h:143 [inline] copy_from_user include/linux/uaccess.h:146 [inline] memdup_user+0x46/0x90 mm/util.c:168 kvm_arch_vcpu_ioctl+0x1974/0x4740 arch/x86/kvm/x86.c:3499 kvm_vcpu_ioctl+0x240/0x1010 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2734 vfs_ioctl fs/ioctl.c:46 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:686 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452ac9 RSP: 002b:00007f2bdcbdec58 EFLAGS: 00000212 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000452ac9 RDX: 0000000020321c00 RSI: 000000004400ae8f RDI: 0000000000000015 RBP: 00000000000001f8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f0fe0 R13: 00000000ffffffff R14: 00007f2bdcbdf6d4 R15: 0000000000000000 Code: 48 0f 44 da e8 90 76 c2 ff 48 8b 85 28 ff ff ff 4d 89 f1 4c 89 e9 4c 89 e2 48 89 de 48 c7 c7 00 88 92 85 49 89 c0 e8 e6 2f ac ff <0f> 0b 48 c7 c0 c0 85 92 85 eb 96 48 c7 c0 00 86 92 85 eb 8d 48 RIP: report_usercopy mm/usercopy.c:64 [inline] RSP: ffff8801ccfff158 RIP: __check_object_size+0x3a2/0x4f0 mm/usercopy.c:264 RSP: ffff8801ccfff158 ---[ end trace 2075bf078e708679 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..