Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor2 (pid 27350) Use of int in max_burst socket option. Use struct sctp_assoc_value instead usercopy: kernel memory exposure attempt detected from ffff8801c5ab4110 () (18446744073709551610 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: 27369 Comm: syz-executor4 Not tainted 4.13.0-rc4+ #2 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d9358500 task.stack: ffff8801a5ff8000 RIP: 0010:report_usercopy mm/usercopy.c:64 [inline] RIP: 0010:__check_object_size+0x3ad/0x500 mm/usercopy.c:264 RSP: 0018:ffff8801a5fff8a8 EFLAGS: 00010286 RAX: 0000000000000078 RBX: ffffffff84710f00 RCX: 0000000000000000 RDX: 0000000000000078 RSI: ffffffff8159295e RDI: ffffed0034bfff09 RBP: ffff8801a5fff998 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801c5ab4110 R13: fffffffffffffffa R14: ffffffff84710ec0 R15: dffffc0000000000 FS: 00007f9156b82700(0000) GS:ffff8801dc000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001ddbc21000 CR3: 00000001d9eb7000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: check_object_size include/linux/thread_info.h:108 [inline] check_copy_size include/linux/thread_info.h:139 [inline] copy_to_iter include/linux/uio.h:105 [inline] copy_linear_skb include/net/udp.h:371 [inline] udpv6_recvmsg+0x1040/0x1af0 net/ipv6/udp.c:399 inet_recvmsg+0x14c/0x5f0 net/ipv4/af_inet.c:793 sock_recvmsg_nosec net/socket.c:806 [inline] sock_recvmsg+0xc9/0x110 net/socket.c:813 SYSC_recvfrom+0x2d6/0x570 net/socket.c:1802 SyS_recvfrom+0x40/0x50 net/socket.c:1774 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x4512e9 RSP: 002b:00007f9156b81c08 EFLAGS: 00000216 ORIG_RAX: 000000000000002d RAX: ffffffffffffffda RBX: 0000000000718000 RCX: 00000000004512e9 RDX: 0000000000000042 RSI: 0000000020dfd000 RDI: 0000000000000005 RBP: 0000000000000086 R08: 0000000020000000 R09: 0000000000000000 R10: 0000000000000042 R11: 0000000000000216 R12: 00000000004ba637 R13: 00000000ffffffff R14: 0000000000000005 R15: 0000000000000001 Code: 48 0f 44 da e8 35 39 ca ff 48 8b 85 28 ff ff ff 4d 89 e9 4c 89 e1 4c 89 f2 48 89 de 48 c7 c7 40 0f 71 84 49 89 c0 e8 f8 ac b5 ff <0f> 0b 48 c7 c0 00 0d 71 84 eb 96 48 c7 c0 40 0d 71 84 eb 8d 48 RIP: report_usercopy mm/usercopy.c:64 [inline] RSP: ffff8801a5fff8a8 RIP: __check_object_size+0x3ad/0x500 mm/usercopy.c:264 RSP: ffff8801a5fff8a8 ---[ end trace 02cd294ae8aa8eb8 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..