IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_hsr: link becomes ready ------------[ cut here ]------------ IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready refcount_t: underflow; use-after-free. IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready WARNING: CPU: 0 PID: 7058 at lib/refcount.c:187 refcount_sub_and_test_checked+0x15a/0x180 lib/refcount.c:187 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 7058 Comm: syz-executor.3 Not tainted 4.19.19-syzkaller #0 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+0x109/0x157 lib/dump_stack.c:113 panic+0x1c6/0x36e kernel/panic.c:185 __warn.cold.8+0x1b/0x45 kernel/panic.c:540 report_bug+0x1a4/0x200 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x200/0x350 arch/x86/kernel/traps.c:296 IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:993 RIP: 0010:refcount_sub_and_test_checked+0x15a/0x180 lib/refcount.c:187 Code: c1 44 29 e0 85 c9 89 c3 74 88 80 3d 11 26 bf 05 00 74 04 31 c0 eb a9 48 c7 c7 60 3a fe 86 c6 05 fd 25 bf 05 01 e8 b9 c3 4b fe <0f> 0b 31 c0 eb 90 4c 89 ff e8 88 d6 a2 fe e9 2b ff ff ff e8 ae bd RSP: 0018:ffff88807600f6d8 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 00000000ffffff01 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffff88808c854968 RDI: ffffffff89a5d660 RBP: ffff88807600f768 R08: ffff88808c854988 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000008100 R13: ffff88807600f740 R14: 1ffff1100ec01edc R15: ffff8880a44c09bc sock_wfree+0x9b/0x120 net/core/sock.c:1817 sctp_wfree+0x345/0x910 net/sctp/socket.c:8482 skb_release_head_state+0xfc/0x200 net/core/skbuff.c:612 skb_release_all+0xd/0x50 net/core/skbuff.c:625 __kfree_skb net/core/skbuff.c:641 [inline] consume_skb+0x91/0x270 net/core/skbuff.c:701 sctp_chunk_destroy net/sctp/sm_make_chunk.c:1467 [inline] sctp_chunk_put+0x150/0x230 net/sctp/sm_make_chunk.c:1494 sctp_chunk_free+0x3f/0x50 net/sctp/sm_make_chunk.c:1481 __sctp_outq_teardown+0x1a2/0xc30 net/sctp/outqueue.c:234 sctp_outq_free+0x9/0x10 net/sctp/outqueue.c:291 sctp_association_free+0x1d5/0x711 net/sctp/associola.c:360 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+0x1b23/0x4ca0 net/sctp/sm_sideeffect.c:1191 sctp_primitive_ABORT+0x7c/0xc0 net/sctp/primitive.c:119 sctp_close+0x227/0x750 net/sctp/socket.c:1558 inet_release+0xd9/0x1c0 net/ipv4/af_inet.c:428 __sock_release+0xc2/0x230 net/socket.c:579 sock_close+0x10/0x20 net/socket.c:1141 __fput+0x249/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x108/0x180 kernel/task_work.c:113 IPv6: ADDRCONF(NETDEV_UP): veth0_to_hsr: link is not ready tracehook_notify_resume include/linux/tracehook.h:193 [inline] exit_to_usermode_loop+0x1a9/0x200 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x407/0x4d0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4141d1 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffdde9c3fa0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00000000004141d1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 0000000000000001 R08: ffffffffffffffff R09: ffffffffffffffff R10: 00007ffdde9c4080 R11: 0000000000000293 R12: 000000000075bf20 R13: 000000000000ddbf R14: 0000000000761400 R15: 000000000075bf2c Kernel Offset: disabled Rebooting in 86400 seconds..