team0 (unregistering): Port device team_slave_1 removed team0 (unregistering): Port device  removed bond0 (unregistering): Releasing backup interface bond_slave_0 bond0 (unregistering): Released all slaves ================================================================== BUG: KASAN: use-after-free in __hlist_del include/linux/list.h:704 [inline] BUG: KASAN: use-after-free in hlist_del_init include/linux/list.h:717 [inline] BUG: KASAN: use-after-free in __xfrm_policy_unlink+0x9a4/0xa00 net/xfrm/xfrm_policy.c:2213 Write of size 8 at addr ffff88808563bef0 by task kworker/u4:5/7928 CPU: 1 PID: 7928 Comm: kworker/u4:5 Not tainted 4.20.0+ #3 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+0x1db/0x2d0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold+0x8c/0x2ba mm/kasan/report.c:396 __asan_report_store8_noabort+0x17/0x20 mm/kasan/report.c:438 __hlist_del include/linux/list.h:704 [inline] hlist_del_init include/linux/list.h:717 [inline] __xfrm_policy_unlink+0x9a4/0xa00 net/xfrm/xfrm_policy.c:2213 xfrm_policy_flush+0x331/0x460 net/xfrm/xfrm_policy.c:1789 xfrm_policy_fini+0xbf/0x640 net/xfrm/xfrm_policy.c:3866 xfrm_net_exit+0x1d/0x70 net/xfrm/xfrm_policy.c:3928 ops_exit_list.isra.0+0xb0/0x160 net/core/net_namespace.c:153 cleanup_net+0x51d/0xb10 net/core/net_namespace.c:551 process_one_work+0xd0c/0x1ce0 kernel/workqueue.c:2153 worker_thread+0x143/0x14a0 kernel/workqueue.c:2296 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 The buggy address belongs to the page: page:ffffea0002158ec0 count:0 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0x1fffc0000000000() raw: 01fffc0000000000 0000000000000000 ffffffff02150101 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88808563bd80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88808563be00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88808563be80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88808563bf00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88808563bf80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================