------------[ cut here ]------------ kernel BUG at mm/usercopy.c:84! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 2985 Comm: syzkaller458008 Not tainted 4.14.0-rc5-mm1+ #20 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d1de40c0 task.stack: ffff8801d1ea8000 RIP: 0010:report_usercopy mm/usercopy.c:76 [inline] RIP: 0010:__check_object_size+0x3a2/0x4f0 mm/usercopy.c:276 RSP: 0018:ffff8801d1eaf0f0 EFLAGS: 00010286 RAX: 000000000000005b RBX: ffffffff8511a180 RCX: 0000000000000000 RDX: 000000000000005b RSI: 1ffff1003a3d5dde RDI: ffffed003a3d5e12 RBP: ffff8801d1eaf1e0 R08: 0000000000000001 R09: 0000000000000000 R10: ffff8801d1eaf098 R11: 0000000000000000 R12: ffffffff8511a140 R13: ffff8801d42f5630 R14: 000000000000000b R15: ffffea000750bd40 FS: 00000000016dd880(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020290000 CR3: 00000001d1f48000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_object_size include/linux/thread_info.h:111 [inline] check_copy_size include/linux/thread_info.h:142 [inline] copy_to_user include/linux/uaccess.h:153 [inline] sctp_getsockopt_events net/sctp/socket.c:4942 [inline] sctp_getsockopt+0x2b90/0x70b0 net/sctp/socket.c:6978 sock_common_getsockopt+0x95/0xd0 net/core/sock.c:2924 SYSC_getsockopt net/socket.c:1882 [inline] SyS_getsockopt+0x178/0x340 net/socket.c:1864 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x43fca9 RSP: 002b:00007ffe686be5b8 EFLAGS: 00000203 ORIG_RAX: 0000000000000037 RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fca9 RDX: 000000000000000b RSI: 0000000000000084 RDI: 0000000000000003 RBP: 0000000000000082 R08: 0000000020290000 R09: 0000000000000000 R10: 000000002099aff5 R11: 0000000000000203 R12: 0000000000401610 R13: 00000000004016a0 R14: 0000000000000000 R15: 0000000000000000 Code: 48 0f 44 da e8 e0 d7 c3 ff 48 8b 85 28 ff ff ff 4d 89 f1 4c 89 e9 4c 89 e2 48 89 de 48 c7 c7 c0 a1 11 85 49 89 c0 e8 33 e3 ad ff <0f> 0b 48 c7 c0 80 9f 11 85 eb 96 48 c7 c0 c0 9f 11 85 eb 8d 48 RIP: report_usercopy mm/usercopy.c:76 [inline] RSP: ffff8801d1eaf0f0 RIP: __check_object_size+0x3a2/0x4f0 mm/usercopy.c:276 RSP: ffff8801d1eaf0f0 ---[ end trace 683d54df1b2403bc ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..