Use struct sctp_assoc_value instead kasan: CONFIG_KASAN_INLINE enabled sctp: [Deprecated]: syz-executor5 (pid 8457) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 8460 Comm: syz-executor0 Not tainted 4.17.0-rc4+ #50 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:smc_ioctl+0x3dc/0x9f0 net/smc/af_smc.c:1499 netlink: 'syz-executor6': attribute type 29 has an invalid length. RSP: 0018:ffff8801cc5af770 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8801ca6707c0 RCX: ffffc90001e91000 RDX: 0000000000000004 RSI: ffffffff8741189e RDI: 0000000000000020 RBP: ffff8801cc5af9d0 R08: ffff8801abf44140 R09: ffffed003b5e46c2 netlink: 8 bytes leftover after parsing attributes in process `syz-executor6'. R10: 0000000000000003 R11: 0000000000000000 R12: 1ffff100398b5ef1 R13: 0000000020000040 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fc3fe5fe700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000728030 CR3: 0000000191a6f000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: netlink: 'syz-executor6': attribute type 29 has an invalid length. netlink: 8 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 'syz-executor6': attribute type 29 has an invalid length. netlink: 8 bytes leftover after parsing attributes in process `syz-executor6'. sock_do_ioctl+0xe4/0x3e0 net/socket.c:957 sock_ioctl+0x30d/0x680 net/socket.c:1081 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1cf/0x16a0 fs/ioctl.c:684 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:706 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455a09 RSP: 002b:00007fc3fe5fdc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc3fe5fe6d4 RCX: 0000000000455a09 RDX: 0000000020000040 RSI: 0000000000005411 RDI: 0000000000000013 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000044b R14: 00000000006fa7a8 R15: 0000000000000000 Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 7d 05 00 00 4c 8b b3 90 04 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7e 20 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 47 05 00 00 45 8b 7e 20 4c RIP: smc_ioctl+0x3dc/0x9f0 net/smc/af_smc.c:1499 RSP: ffff8801cc5af770 ---[ end trace bbe5d6bf88ae438f ]---