------------[ cut here ]------------ Type was not set for devlink port. WARNING: CPU: 1 PID: 45 at net/core/devlink.c:6399 devlink_port_type_warn+0x17/0x20 net/core/devlink.c:6399 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 45 Comm: kworker/1:1 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events devlink_port_type_warn Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fb/0x318 lib/dump_stack.c:118 panic+0x264/0x7a9 kernel/panic.c:221 __warn+0x20e/0x210 kernel/panic.c:582 report_bug+0x1b6/0x2f0 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0xd7/0x440 arch/x86/kernel/traps.c:267 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:devlink_port_type_warn+0x17/0x20 net/core/devlink.c:6399 Code: 33 ff ff ff 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 37 af 17 fb 48 c7 c7 af a9 dc 88 31 c0 e8 f9 bd e9 fa <0f> 0b 5d c3 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 RSP: 0018:ffffc90000ee7cd8 EFLAGS: 00010246 RAX: d900bed235fa6e00 RBX: ffff8880aed3ae08 RCX: ffff8880a99b84c0 RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000286 RBP: ffffc90000ee7cd8 R08: ffff8880a99b8d18 R09: fffffbfff13ca139 R10: fffffbfff13ca139 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8880a9980618 R14: dffffc0000000000 R15: ffff88806c72f8c0 process_one_work+0x7ef/0x10d0 kernel/workqueue.c:2264 worker_thread+0xc01/0x1630 kernel/workqueue.c:2410 kthread+0x332/0x350 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Kernel Offset: disabled Rebooting in 86400 seconds..