sctp: [Deprecated]: syz-executor1 (pid 11752) Use of int in maxseg socket option. Use struct sctp_assoc_value instead IPVS: set_ctl: invalid protocol: 60 0.0.0.9:20000 ------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 11754 at lib/refcount.c:187 refcount_sub_and_test_checked+0x2c9/0x310 lib/refcount.c:187 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 11754 Comm: syz-executor1 Not tainted 4.20.0-rc3+ #194 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x244/0x39d lib/dump_stack.c:113 panic+0x2ad/0x55c kernel/panic.c:188 __warn.cold.8+0x20/0x45 kernel/panic.c:540 report_bug+0x254/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969 RIP: 0010:refcount_sub_and_test_checked+0x2c9/0x310 lib/refcount.c:187 Code: 89 de e8 8a 22 ed fd 84 db 74 07 31 db e9 4d ff ff ff e8 aa 21 ed fd 48 c7 c7 e0 b1 60 88 c6 05 d2 50 80 06 01 e8 f7 81 b6 fd <0f> 0b 31 db e9 2c ff ff ff 48 89 cf e8 26 71 30 fe e9 41 fe ff ff RSP: 0018:ffff88819154e0e8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8165eaf5 RDI: 0000000000000005 RBP: ffff88819154e1d0 R08: ffff8881b66a4340 R09: ffffed103b5c3ef8 R10: ffffed103b5c3ef8 R11: ffff8881dae1f7c7 R12: ffff8881761a643c R13: 00000000fffffd01 R14: ffff88819154e1a8 R15: ffff8881c4a50cc0 sock_wfree+0xb8/0x180 net/core/sock.c:1817 sctp_wfree+0x3a8/0xb40 net/sctp/socket.c:8458 skb_release_head_state+0x15f/0x2e0 net/core/skbuff.c:612 skb_release_all+0x15/0x60 net/core/skbuff.c:625 __kfree_skb net/core/skbuff.c:641 [inline] consume_skb+0x1ae/0x570 net/core/skbuff.c:701 sctp_chunk_destroy net/sctp/sm_make_chunk.c:1462 [inline] sctp_chunk_put+0x2d4/0x450 net/sctp/sm_make_chunk.c:1489 sctp_datamsg_destroy net/sctp/chunk.c:130 [inline] sctp_datamsg_put+0x289/0x620 net/sctp/chunk.c:147 sctp_chunk_free+0x46/0x60 net/sctp/sm_make_chunk.c:1474 __sctp_outq_teardown+0xa8e/0x11f0 net/sctp/outqueue.c:271 sctp_outq_free+0x15/0x20 net/sctp/outqueue.c:291 kernel msg: ebtables bug: please report to author: Wrong len argument sctp_association_free+0x2f0/0x972 net/sctp/associola.c:359 kobject: 'loop5' (00000000a40143bc): kobject_uevent_env sctp_cmd_delete_tcb net/sctp/sm_sideeffect.c:939 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1353 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1220 [inline] sctp_do_sm+0x4a3b/0x7190 net/sctp/sm_sideeffect.c:1191 kobject: 'loop5' (00000000a40143bc): fill_kobj_path: path = '/devices/virtual/block/loop5' sctp_primitive_ABORT+0xa0/0xd0 net/sctp/primitive.c:119 sctp_close+0x278/0xad0 net/sctp/socket.c:1540 inet_release+0x104/0x1f0 net/ipv4/af_inet.c:428 inet6_release+0x50/0x70 net/ipv6/af_inet6.c:458 __sock_release+0xd7/0x250 net/socket.c:579 sock_close+0x19/0x20 net/socket.c:1141 __fput+0x385/0xa30 fs/file_table.c:278 ____fput+0x15/0x20 fs/file_table.c:309 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x1ad6/0x26d0 kernel/exit.c:867 do_group_exit+0x177/0x440 kernel/exit.c:970 get_signal+0x8b0/0x1980 kernel/signal.c:2517 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x2e5/0x380 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath+0x533/0x5e0 arch/x86/entry/common.c:268 ret_from_fork+0x15/0x50 arch/x86/entry/entry_64.S:344 RIP: 0033:0x459f39 Code: Bad RIP value. RSP: 002b:00007f5ac1f38db0 EFLAGS: 00000202 ORIG_RAX: 0000000000000038 RAX: 0000000000000000 RBX: 00007f5ac1f39700 RCX: 0000000000459f39 RDX: 00007f5ac1f399d0 RSI: 00007f5ac1f38db0 RDI: 00000000003d0f00 RBP: 00007ffdafa45240 R08: 00007f5ac1f39700 R09: 00007f5ac1f39700 R10: 00007f5ac1f399d0 R11: 0000000000000202 R12: 0000000000000000 R13: 00007ffdafa450ef R14: 00007f5ac1f399c0 R15: 0000000000000004 Kernel Offset: disabled Rebooting in 86400 seconds..