[ 1261.021581][ T8703] br1: port 1(vx100) entered blocking state [ 1261.021893][ T8703] br1: port 1(vx100) entered disabled state [ 1261.022168][ T8703] vx100: entered allmulticast mode [ 1261.024395][ T8703] vx100: entered promiscuous mode [ 1261.025179][ T8703] br1: port 1(vx100) entered blocking state [ 1261.025449][ T8703] br1: port 1(vx100) entered forwarding state [ 1261.230070][ T8705] br1: port 2(veth1) entered blocking state [ 1261.230386][ T8705] br1: port 2(veth1) entered disabled state [ 1261.230706][ T8705] veth1: entered allmulticast mode [ 1261.233175][ T8705] veth1: entered promiscuous mode [ 1261.320328][ T45] br1: port 2(veth1) entered blocking state [ 1261.320665][ T45] br1: port 2(veth1) entered forwarding state [ 1261.488771][ T8708] br1: port 3(veth2) entered blocking state [ 1261.489099][ T8708] br1: port 3(veth2) entered disabled state [ 1261.489659][ T8708] veth2: entered allmulticast mode [ 1261.491604][ T8708] veth2: entered promiscuous mode [ 1261.569105][ T2455] br1: port 3(veth2) entered blocking state [ 1261.569411][ T2455] br1: port 3(veth2) entered forwarding state [ 1265.176045][ T8762] br2: port 1(w1) entered blocking state [ 1265.176325][ T8762] br2: port 1(w1) entered disabled state [ 1265.176571][ T8762] w1: entered allmulticast mode [ 1265.178573][ T8762] w1: entered promiscuous mode [ 1265.807886][ T8769] br2: port 2(vx100) entered blocking state [ 1265.808425][ T8769] br2: port 2(vx100) entered disabled state [ 1265.808792][ T8769] vx100: entered allmulticast mode [ 1265.810855][ T8769] vx100: entered promiscuous mode [ 1265.811711][ T8769] br2: port 2(vx100) entered blocking state [ 1265.811996][ T8769] br2: port 2(vx100) entered forwarding state [ 1266.676562][ T2455] br2: port 1(w1) entered blocking state [ 1266.676906][ T2455] br2: port 1(w1) entered forwarding state [ 1269.121547][ T8809] br2: port 1(w1) entered blocking state [ 1269.121914][ T8809] br2: port 1(w1) entered disabled state [ 1269.122230][ T8809] w1: entered allmulticast mode [ 1269.124400][ T8809] w1: entered promiscuous mode [ 1269.767051][ T8816] br2: port 2(vx100) entered blocking state [ 1269.767431][ T8816] br2: port 2(vx100) entered disabled state [ 1269.767751][ T8816] vx100: entered allmulticast mode [ 1269.769697][ T8816] vx100: entered promiscuous mode [ 1269.770264][ T8816] br2: port 2(vx100) entered blocking state [ 1269.770574][ T8816] br2: port 2(vx100) entered forwarding state [ 1270.489744][ T45] br2: port 1(w1) entered blocking state [ 1270.490026][ T45] br2: port 1(w1) entered forwarding state [ 1283.087580][ T11] vx100: left allmulticast mode [ 1283.087850][ T11] vx100: left promiscuous mode [ 1283.088262][ T11] br2: port 2(vx100) entered disabled state [ 1283.090191][ T11] w1: left allmulticast mode [ 1283.090460][ T11] w1: left promiscuous mode [ 1283.090795][ T11] br2: port 1(w1) entered disabled state [ 1283.555029][ T11] ================================================================== [ 1283.555274][ T11] BUG: KASAN: slab-use-after-free in cleanup_net+0x932/0xa40 [ 1283.555474][ T11] Read of size 8 at addr ffff88800de700f8 by task kworker/u16:0/11 [ 1283.555661][ T11] [ 1283.555727][ T11] CPU: 2 UID: 0 PID: 11 Comm: kworker/u16:0 Not tainted 6.12.0-virtme #1 [ 1283.555926][ T11] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1283.556091][ T11] Workqueue: netns cleanup_net [ 1283.556228][ T11] Call Trace: [ 1283.556324][ T11] [ 1283.556395][ T11] dump_stack_lvl+0x82/0xd0 [ 1283.556531][ T11] print_address_description.constprop.0+0x2c/0x3b0 [ 1283.556694][ T11] ? cleanup_net+0x932/0xa40 [ 1283.556821][ T11] print_report+0xb4/0x270 [ 1283.556946][ T11] ? kasan_addr_to_slab+0x25/0x80 [ 1283.557093][ T11] kasan_report+0xbd/0xf0 [ 1283.557196][ T11] ? cleanup_net+0x932/0xa40 [ 1283.557322][ T11] cleanup_net+0x932/0xa40 [ 1283.557449][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 1283.557589][ T11] ? __pfx_cleanup_net+0x10/0x10 [ 1283.557712][ T11] ? trace_lock_acquire+0x148/0x1f0 [ 1283.557836][ T11] ? lock_acquire+0x32/0xc0 [ 1283.557963][ T11] ? process_one_work+0xe0b/0x16d0 [ 1283.558113][ T11] process_one_work+0xe55/0x16d0 [ 1283.558261][ T11] ? __pfx___lock_release+0x10/0x10 [ 1283.558395][ T11] ? __pfx_process_one_work+0x10/0x10 [ 1283.558535][ T11] ? assign_work+0x16c/0x240 [ 1283.558674][ T11] worker_thread+0x58c/0xce0 [ 1283.558816][ T11] ? __pfx_worker_thread+0x10/0x10 [ 1283.558962][ T11] kthread+0x28a/0x350 [ 1283.559069][ T11] ? __pfx_kthread+0x10/0x10 [ 1283.559215][ T11] ret_from_fork+0x31/0x70 [ 1283.559352][ T11] ? __pfx_kthread+0x10/0x10 [ 1283.559508][ T11] ret_from_fork_asm+0x1a/0x30 [ 1283.559651][ T11] [ 1283.559768][ T11] [ 1283.559838][ T11] Allocated by task 8048: [ 1283.559940][ T11] kasan_save_stack+0x24/0x50 [ 1283.560085][ T11] kasan_save_track+0x14/0x30 [ 1283.560228][ T11] __kasan_slab_alloc+0x59/0x70 [ 1283.560365][ T11] kmem_cache_alloc_noprof+0x10b/0x350 [ 1283.560505][ T11] copy_net_ns+0xc6/0x340 [ 1283.560611][ T11] create_new_namespaces+0x35f/0x920 [ 1283.560748][ T11] unshare_nsproxy_namespaces+0x8d/0x130 [ 1283.560883][ T11] ksys_unshare+0x2a9/0x660 [ 1283.561022][ T11] __x64_sys_unshare+0x31/0x40 [ 1283.561160][ T11] do_syscall_64+0xc1/0x1d0 [ 1283.561313][ T11] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1283.561491][ T11] [ 1283.561562][ T11] Freed by task 11: [ 1283.561664][ T11] kasan_save_stack+0x24/0x50 [ 1283.561801][ T11] kasan_save_track+0x14/0x30 [ 1283.561935][ T11] kasan_save_free_info+0x3b/0x60 [ 1283.562075][ T11] __kasan_slab_free+0x38/0x50 [ 1283.562209][ T11] kmem_cache_free+0xf8/0x330 [ 1283.562353][ T11] cleanup_net+0x5a8/0xa40 [ 1283.562488][ T11] process_one_work+0xe55/0x16d0 [ 1283.562629][ T11] worker_thread+0x58c/0xce0 [ 1283.562772][ T11] kthread+0x28a/0x350 [ 1283.562880][ T11] ret_from_fork+0x31/0x70 [ 1283.563017][ T11] ret_from_fork_asm+0x1a/0x30 [ 1283.563157][ T11] [ 1283.563230][ T11] Last potentially related work creation: [ 1283.563373][ T11] kasan_save_stack+0x24/0x50 [ 1283.563519][ T11] __kasan_record_aux_stack+0x8e/0xa0 [ 1283.563675][ T11] insert_work+0x34/0x230 [ 1283.563784][ T11] __queue_work+0x5fd/0xa40 [ 1283.563925][ T11] queue_delayed_work_on+0x8c/0xa0 [ 1283.564065][ T11] __inet_insert_ifa+0x751/0xb10 [ 1283.564205][ T11] inet_rtm_newaddr+0x833/0xbd0 [ 1283.564345][ T11] rtnetlink_rcv_msg+0x712/0xc10 [ 1283.564515][ T11] netlink_rcv_skb+0x130/0x360 [ 1283.564685][ T11] netlink_unicast+0x44b/0x710 [ 1283.564826][ T11] netlink_sendmsg+0x723/0xbe0 [ 1283.564964][ T11] ____sys_sendmsg+0x7ac/0xa10 [ 1283.565115][ T11] ___sys_sendmsg+0xee/0x170 [ 1283.565258][ T11] __sys_sendmsg+0x109/0x1a0 [ 1283.565419][ T11] do_syscall_64+0xc1/0x1d0 [ 1283.565567][ T11] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1283.565764][ T11] [ 1283.565836][ T11] Second to last potentially related work creation: [ 1283.566008][ T11] kasan_save_stack+0x24/0x50 [ 1283.566170][ T11] __kasan_record_aux_stack+0x8e/0xa0 [ 1283.566319][ T11] insert_work+0x34/0x230 [ 1283.566427][ T11] __queue_work+0x5fd/0xa40 [ 1283.566581][ T11] queue_delayed_work_on+0x8c/0xa0 [ 1283.566731][ T11] __inet_insert_ifa+0x751/0xb10 [ 1283.566886][ T11] inet_rtm_newaddr+0x833/0xbd0 [ 1283.567026][ T11] rtnetlink_rcv_msg+0x712/0xc10 [ 1283.567168][ T11] netlink_rcv_skb+0x130/0x360 [ 1283.567317][ T11] netlink_unicast+0x44b/0x710 [ 1283.567466][ T11] netlink_sendmsg+0x723/0xbe0 [ 1283.567605][ T11] ____sys_sendmsg+0x7ac/0xa10 [ 1283.567740][ T11] ___sys_sendmsg+0xee/0x170 [ 1283.567895][ T11] __sys_sendmsg+0x109/0x1a0 [ 1283.568049][ T11] do_syscall_64+0xc1/0x1d0 [ 1283.568198][ T11] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 1283.568379][ T11] [ 1283.568459][ T11] The buggy address belongs to the object at ffff88800de70040 [ 1283.568459][ T11] which belongs to the cache net_namespace of size 6080 [ 1283.568836][ T11] The buggy address is located 184 bytes inside of [ 1283.568836][ T11] freed 6080-byte region [ffff88800de70040, ffff88800de71800) [ 1283.569191][ T11] [ 1283.569265][ T11] The buggy address belongs to the physical page: [ 1283.569446][ T11] page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88800de74c00 pfn:0xde70 [ 1283.569746][ T11] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 1283.569963][ T11] flags: 0x80000000000240(workingset|head|node=0|zone=1) [ 1283.570148][ T11] page_type: f5(slab) [ 1283.570264][ T11] raw: 0080000000000240 ffff888001963240 ffff888001968088 ffff888001968088 [ 1283.570513][ T11] raw: ffff88800de74c00 0000000000050003 00000001f5000000 0000000000000000 [ 1283.570782][ T11] head: 0080000000000240 ffff888001963240 ffff888001968088 ffff888001968088 [ 1283.571043][ T11] head: ffff88800de74c00 0000000000050003 00000001f5000000 0000000000000000 [ 1283.571359][ T11] head: 0080000000000003 ffffea0000379c01 ffffffffffffffff 0000000000000000 [ 1283.571621][ T11] head: 0000000000000008 0000000000000000 00000000ffffffff 0000000000000000 [ 1283.571868][ T11] page dumped because: kasan: bad access detected [ 1283.572044][ T11] [ 1283.572124][ T11] Memory state around the buggy address: [ 1283.572272][ T11] ffff88800de6ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 1283.572486][ T11] ffff88800de70000: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb [ 1283.572693][ T11] >ffff88800de70080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1283.572900][ T11] ^ [ 1283.573177][ T11] ffff88800de70100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1283.573390][ T11] ffff88800de70180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 1283.573601][ T11] ================================================================== [ 1283.574039][ T11] Disabling lock debugging due to kernel taint [ 1283.620922][ T11] vx100: left allmulticast mode [ 1283.621115][ T11] vx100: left promiscuous mode [ 1283.621419][ T11] br2: port 2(vx100) entered disabled state [ 1283.622841][ T11] w1: left allmulticast mode [ 1283.622997][ T11] w1: left promiscuous mode [ 1283.623254][ T11] br2: port 1(w1) entered disabled state [ 1285.290126][ T8937] br1: port 3(veth2) entered disabled state [ 1285.360112][ T8938] veth2: left allmulticast mode [ 1285.360721][ T8938] veth2: left promiscuous mode [ 1285.361007][ T8938] br1: port 3(veth2) entered disabled state [ 1285.470430][ T8940] br1: port 2(veth1) entered disabled state [ 1285.536695][ T8941] veth1: left allmulticast mode [ 1285.536977][ T8941] veth1: left promiscuous mode [ 1285.537392][ T8941] br1: port 2(veth1) entered disabled state [ 1285.594134][ T8942] vx100: left allmulticast mode [ 1285.594381][ T8942] vx100: left promiscuous mode [ 1285.594711][ T8942] br1: port 1(vx100) entered disabled state