------------[ cut here ]------------ remove_proc_entry: removing non-empty directory 'net/bonding', leaking at least 'bond0' WARNING: CPU: 1 PID: 3969 at fs/proc/generic.c:681 remove_proc_entry+0x367/0x410 fs/proc/generic.c:681 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 3969 Comm: kworker/u4:4 Not tainted 5.0.0+ #24 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: netns cleanup_net Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 panic+0x2cb/0x65c kernel/panic.c:214 __warn.cold+0x20/0x45 kernel/panic.c:571 report_bug+0x263/0x2b0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:179 [inline] fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973 RIP: 0010:remove_proc_entry+0x367/0x410 fs/proc/generic.c:681 Code: 00 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 75 4c 49 8b 95 d0 00 00 00 48 c7 c6 40 69 77 87 48 c7 c7 c0 68 77 87 e8 a7 e4 6f ff <0f> 0b e9 4b fe ff ff e8 7d 24 d5 ff e9 b5 fd ff ff e8 33 25 d5 ff RSP: 0018:ffff88802ae2fa80 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 1ffff110055c5f52 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815ad706 RDI: ffffed10055c5f42 RBP: ffff88802ae2fb30 R08: ffff8880a6692040 R09: ffffed1015d25011 R10: ffffed1015d25010 R11: ffff8880ae928087 R12: ffff888097a13980 R13: ffff88809efc8e80 R14: ffff888097a13a30 R15: ffff88809a5b79b8 bond_destroy_proc_dir+0x87/0xdd drivers/net/bonding/bond_procfs.c:307 bond_net_exit+0x2be/0x430 drivers/net/bonding/bond_main.c:4846 ops_exit_list.isra.0+0xb0/0x160 net/core/net_namespace.c:153 cleanup_net+0x3fb/0x960 net/core/net_namespace.c:551 process_one_work+0x98e/0x1790 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x357/0x430 kernel/kthread.c:253 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Kernel Offset: disabled Rebooting in 86400 seconds..