[ 46.083165][ T725] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 46.656759][ T734] br0: port 1(c1) entered blocking state [ 46.657160][ T734] br0: port 1(c1) entered disabled state [ 46.657495][ T734] c1: entered allmulticast mode [ 46.659494][ T734] c1: entered promiscuous mode [ 47.127161][ T739] br0: port 2(c2) entered blocking state [ 47.127397][ T739] br0: port 2(c2) entered disabled state [ 47.127633][ T739] c2: entered allmulticast mode [ 47.129449][ T739] c2: entered promiscuous mode [ 47.603394][ T744] br0: port 3(c3) entered blocking state [ 47.603699][ T744] br0: port 3(c3) entered disabled state [ 47.603924][ T744] c3: entered allmulticast mode [ 47.606419][ T744] c3: entered promiscuous mode [ 48.052591][ T749] br0: port 4(sender) entered blocking state [ 48.052953][ T749] br0: port 4(sender) entered disabled state [ 48.053227][ T749] sender: entered allmulticast mode [ 48.056178][ T749] sender: entered promiscuous mode [ 48.222890][ T751] br0: port 4(sender) entered blocking state [ 48.223281][ T751] br0: port 4(sender) entered forwarding state [ 48.223933][ T751] br0: port 3(c3) entered blocking state [ 48.224140][ T751] br0: port 3(c3) entered forwarding state [ 48.224563][ T751] br0: port 2(c2) entered blocking state [ 48.224762][ T751] br0: port 2(c2) entered forwarding state [ 48.225152][ T751] br0: port 1(c1) entered blocking state [ 48.225355][ T751] br0: port 1(c1) entered forwarding state [ 48.358555][ T752] Bridge firewalling registered [ 61.118914][ T68] br0: port 1(c1) entered disabled state [ 61.214090][ T68] c1 (unregistering): left allmulticast mode [ 61.214451][ T68] c1 (unregistering): left promiscuous mode [ 61.214723][ T68] br0: port 1(c1) entered disabled state [ 61.516801][ T68] br0: port 2(c2) entered disabled state [ 61.632060][ T68] c2 (unregistering): left allmulticast mode [ 61.632319][ T68] c2 (unregistering): left promiscuous mode [ 61.632554][ T68] br0: port 2(c2) entered disabled state [ 61.691070][ T68] ================================================================== [ 61.691300][ T68] BUG: KASAN: slab-use-after-free in cleanup_net+0x932/0xa40 [ 61.691499][ T68] Read of size 8 at addr ffff8880164fb778 by task kworker/u16:1/68 [ 61.691698][ T68] [ 61.691767][ T68] CPU: 0 UID: 0 PID: 68 Comm: kworker/u16:1 Not tainted 6.12.0-virtme #1 [ 61.691970][ T68] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 61.692139][ T68] Workqueue: netns cleanup_net [ 61.692284][ T68] Call Trace: [ 61.692386][ T68] [ 61.692456][ T68] dump_stack_lvl+0x82/0xd0 [ 61.692590][ T68] print_address_description.constprop.0+0x2c/0x3b0 [ 61.692762][ T68] ? cleanup_net+0x932/0xa40 [ 61.692902][ T68] print_report+0xb4/0x270 [ 61.693041][ T68] ? kasan_addr_to_slab+0x25/0x80 [ 61.693172][ T68] kasan_report+0xbd/0xf0 [ 61.693274][ T68] ? cleanup_net+0x932/0xa40 [ 61.693405][ T68] cleanup_net+0x932/0xa40 [ 61.693537][ T68] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 61.693670][ T68] ? __pfx_cleanup_net+0x10/0x10 [ 61.693798][ T68] ? trace_lock_acquire+0x148/0x1f0 [ 61.693932][ T68] ? lock_acquire+0x32/0xc0 [ 61.694057][ T68] ? process_one_work+0xe0b/0x16d0 [ 61.694187][ T68] process_one_work+0xe55/0x16d0 [ 61.694316][ T68] ? __pfx___lock_release+0x10/0x10 [ 61.694446][ T68] ? __pfx_process_one_work+0x10/0x10 [ 61.694575][ T68] ? assign_work+0x16c/0x240 [ 61.694705][ T68] worker_thread+0x58c/0xce0 [ 61.694839][ T68] ? lockdep_hardirqs_on_prepare+0x275/0x410 [ 61.694996][ T68] ? __pfx_worker_thread+0x10/0x10 [ 61.695118][ T68] ? __pfx_worker_thread+0x10/0x10 [ 61.695254][ T68] kthread+0x28a/0x350 [ 61.695354][ T68] ? __pfx_kthread+0x10/0x10 [ 61.695483][ T68] ret_from_fork+0x31/0x70 [ 61.695611][ T68] ? __pfx_kthread+0x10/0x10 [ 61.695739][ T68] ret_from_fork_asm+0x1a/0x30 [ 61.695871][ T68] [ 61.695968][ T68] [ 61.696034][ T68] Allocated by task 713: [ 61.696131][ T68] kasan_save_stack+0x24/0x50 [ 61.696266][ T68] kasan_save_track+0x14/0x30 [ 61.696395][ T68] __kasan_slab_alloc+0x59/0x70 [ 61.696525][ T68] kmem_cache_alloc_noprof+0x10b/0x350 [ 61.696655][ T68] copy_net_ns+0xc6/0x340 [ 61.696754][ T68] create_new_namespaces+0x35f/0x920 [ 61.696891][ T68] unshare_nsproxy_namespaces+0x8d/0x130 [ 61.697019][ T68] ksys_unshare+0x2a9/0x660 [ 61.697153][ T68] __x64_sys_unshare+0x31/0x40 [ 61.697283][ T68] do_syscall_64+0xc1/0x1d0 [ 61.697418][ T68] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 61.697577][ T68] [ 61.697644][ T68] Freed by task 68: [ 61.697746][ T68] kasan_save_stack+0x24/0x50 [ 61.697877][ T68] kasan_save_track+0x14/0x30 [ 61.698004][ T68] kasan_save_free_info+0x3b/0x60 [ 61.698133][ T68] __kasan_slab_free+0x38/0x50 [ 61.698258][ T68] kmem_cache_free+0xf8/0x330 [ 61.698386][ T68] cleanup_net+0x5a8/0xa40 [ 61.698513][ T68] process_one_work+0xe55/0x16d0 [ 61.698640][ T68] worker_thread+0x58c/0xce0 [ 61.698769][ T68] kthread+0x28a/0x350 [ 61.698862][ T68] ret_from_fork+0x31/0x70 [ 61.698992][ T68] ret_from_fork_asm+0x1a/0x30 [ 61.699121][ T68] [ 61.699186][ T68] Last potentially related work creation: [ 61.699312][ T68] kasan_save_stack+0x24/0x50 [ 61.699447][ T68] __kasan_record_aux_stack+0x8e/0xa0 [ 61.699576][ T68] insert_work+0x34/0x230 [ 61.699674][ T68] __queue_work+0x5fd/0xa40 [ 61.699800][ T68] queue_delayed_work_on+0x8c/0xa0 [ 61.699931][ T68] __inet_insert_ifa+0x751/0xb10 [ 61.700065][ T68] inet_rtm_newaddr+0x833/0xbd0 [ 61.700194][ T68] rtnetlink_rcv_msg+0x712/0xc10 [ 61.700325][ T68] netlink_rcv_skb+0x130/0x360 [ 61.700455][ T68] netlink_unicast+0x44b/0x710 [ 61.700583][ T68] netlink_sendmsg+0x723/0xbe0 [ 61.700711][ T68] ____sys_sendmsg+0x7ac/0xa10 [ 61.700840][ T68] ___sys_sendmsg+0xee/0x170 [ 61.700972][ T68] __sys_sendmsg+0x109/0x1a0 [ 61.701104][ T68] do_syscall_64+0xc1/0x1d0 [ 61.701233][ T68] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 61.701393][ T68] [ 61.701459][ T68] Second to last potentially related work creation: [ 61.701612][ T68] kasan_save_stack+0x24/0x50 [ 61.701747][ T68] __kasan_record_aux_stack+0x8e/0xa0 [ 61.701879][ T68] insert_work+0x34/0x230 [ 61.701977][ T68] __queue_work+0x5fd/0xa40 [ 61.702104][ T68] queue_delayed_work_on+0x8c/0xa0 [ 61.702230][ T68] __inet_insert_ifa+0x751/0xb10 [ 61.702359][ T68] inetdev_event+0xb18/0xcf0 [ 61.702555][ T68] notifier_call_chain+0xcd/0x150 [ 61.702688][ T68] __dev_notify_flags+0xe6/0x250 [ 61.702819][ T68] dev_change_flags+0xec/0x160 [ 61.702950][ T68] do_setlink.constprop.0+0x79d/0x2300 [ 61.703084][ T68] rtnl_newlink+0x6de/0xa80 [ 61.703215][ T68] rtnetlink_rcv_msg+0x712/0xc10 [ 61.703343][ T68] netlink_rcv_skb+0x130/0x360 [ 61.703470][ T68] netlink_unicast+0x44b/0x710 [ 61.703605][ T68] netlink_sendmsg+0x723/0xbe0 [ 61.703738][ T68] ____sys_sendmsg+0x7ac/0xa10 [ 61.703870][ T68] ___sys_sendmsg+0xee/0x170 [ 61.704005][ T68] __sys_sendmsg+0x109/0x1a0 [ 61.704134][ T68] do_syscall_64+0xc1/0x1d0 [ 61.704267][ T68] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 61.704428][ T68] [ 61.704498][ T68] The buggy address belongs to the object at ffff8880164fb6c0 [ 61.704498][ T68] which belongs to the cache net_namespace of size 6592 [ 61.704852][ T68] The buggy address is located 184 bytes inside of [ 61.704852][ T68] freed 6592-byte region [ffff8880164fb6c0, ffff8880164fd080) [ 61.705167][ T68] [ 61.705233][ T68] The buggy address belongs to the physical page: [ 61.705395][ T68] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x164f8 [ 61.705624][ T68] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 61.705896][ T68] flags: 0x80000000000040(head|node=0|zone=1) [ 61.706060][ T68] page_type: f5(slab) [ 61.706163][ T68] raw: 0080000000000040 ffff888001963240 ffffea0000419010 ffff8880019680a8 [ 61.706395][ T68] raw: 0000000000000000 0000000000040004 00000001f5000000 0000000000000000 [ 61.706624][ T68] head: 0080000000000040 ffff888001963240 ffffea0000419010 ffff8880019680a8 [ 61.706875][ T68] head: 0000000000000000 0000000000040004 00000001f5000000 0000000000000000 [ 61.707178][ T68] head: 0080000000000003 ffffea0000593e01 ffffffffffffffff 0000000000000000 [ 61.707405][ T68] head: 0000000000000008 0000000000000000 00000000ffffffff 0000000000000000 [ 61.707711][ T68] page dumped because: kasan: bad access detected [ 61.707872][ T68] [ 61.707941][ T68] Memory state around the buggy address: [ 61.708066][ T68] ffff8880164fb600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 61.708372][ T68] ffff8880164fb680: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb [ 61.708557][ T68] >ffff8880164fb700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.708861][ T68] ^ [ 61.709112][ T68] ffff8880164fb780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.709297][ T68] ffff8880164fb800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 61.709478][ T68] ================================================================== [ 61.709686][ T68] Disabling lock debugging due to kernel taint [ 61.838667][ T68] br0: port 3(c3) entered disabled state [ 61.966003][ T68] c3 (unregistering): left allmulticast mode [ 61.966277][ T68] c3 (unregistering): left promiscuous mode [ 61.966518][ T68] br0: port 3(c3) entered disabled state [ 62.107352][ T68] br0: port 4(sender) entered disabled state [ 62.201838][ T68] sender (unregistering): left allmulticast mode [ 62.202085][ T68] sender (unregistering): left promiscuous mode [ 62.202265][ T68] br0: port 4(sender) entered disabled state