usercopy: kernel memory overwrite attempt detected to 000000004ee3d0df (kmalloc-1024) (1008 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: 0 PID: 18698 Comm: syz-executor7 Not tainted 4.15.0-rc2+ #215 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:ffff88018f70fa50 EFLAGS: 00010282 RAX: 0000000000000062 RBX: ffffffff85328c40 RCX: 0000000000000000 RDX: 0000000000000062 RSI: ffffc90001988000 RDI: ffffed0031ee1f3e RBP: ffff88018f70fb40 R08: ffffffff85f3bcf8 R09: 0000000000000000 R10: 00000000c8211892 R11: 0000000000000000 R12: ffffffff85328c00 R13: ffff8801c5c23250 R14: 00000000000003f0 R15: ffffea0007170880 FS: 00007f4dec194700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002000e000 CR3: 00000001bcd87000 CR4: 00000000001426f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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] ___sys_sendmsg+0x58f/0x8a0 net/socket.c:2003 __sys_sendmsg+0xe5/0x210 net/socket.c:2060 SYSC_sendmsg net/socket.c:2071 [inline] SyS_sendmsg+0x2d/0x50 net/socket.c:2067 entry_SYSCALL_64_fastpath+0x1f/0x96 RIP: 0033:0x452a39 RSP: 002b:00007f4dec193c58 EFLAGS: 00000212 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000758190 RCX: 0000000000452a39 RDX: 0000000020040005 RSI: 00000000208d7fc8 RDI: 0000000000000018 RBP: 000000000000042b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000006f44a8 R13: 00000000ffffffff R14: 00007f4dec1946d4 R15: 0000000000000008 Code: 48 0f 44 da e8 a0 70 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 8d 32 85 49 89 c0 e8 a6 2e ac ff <0f> 0b 48 c7 c0 c0 8a 32 85 eb 96 48 c7 c0 00 8b 32 85 eb 8d 48 RIP: report_usercopy mm/usercopy.c:64 [inline] RSP: ffff88018f70fa50 RIP: __check_object_size+0x3a2/0x4f0 mm/usercopy.c:264 RSP: ffff88018f70fa50 ---[ end trace 3848f1fc8d8b3d64 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..