[ 36.577748][ T383] GACT probability NOT on [ 55.587153][ T457] neighbour: arp_cache: neighbor table overflow! [ 55.703062][ T459] neighbour: arp_cache: neighbor table overflow! [ 55.826453][ T461] neighbour: arp_cache: neighbor table overflow! [ 55.954418][ T463] neighbour: arp_cache: neighbor table overflow! [ 56.091580][ T465] neighbour: arp_cache: neighbor table overflow! [ 56.263274][ T467] neighbour: arp_cache: neighbor table overflow! [ 56.412279][ T469] neighbour: arp_cache: neighbor table overflow! [ 56.557588][ T471] neighbour: arp_cache: neighbor table overflow! [ 56.726261][ T473] neighbour: arp_cache: neighbor table overflow! [ 56.883621][ T475] neighbour: arp_cache: neighbor table overflow! [ 89.241292][ T12] ================================================================== [ 89.241605][ T12] BUG: KASAN: slab-use-after-free in kobject_put+0xbb/0xd0 [ 89.241891][ T12] Read of size 1 at addr ffff8880087f16c4 by task kworker/u16:0/12 [ 89.242155][ T12] [ 89.242258][ T12] CPU: 2 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(full) [ 89.242266][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 89.242269][ T12] Workqueue: netns cleanup_net [ 89.242286][ T12] Call Trace: [ 89.242289][ T12] [ 89.242292][ T12] dump_stack_lvl+0x82/0xc0 [ 89.242300][ T12] print_address_description.constprop.0+0x2c/0x3a0 [ 89.242317][ T12] ? kobject_put+0xbb/0xd0 [ 89.242321][ T12] print_report+0xb4/0x270 [ 89.242325][ T12] ? kobject_put+0xbb/0xd0 [ 89.242328][ T12] ? kasan_addr_to_slab+0x21/0x70 [ 89.242332][ T12] ? kobject_put+0xbb/0xd0 [ 89.242335][ T12] kasan_report+0xca/0x100 [ 89.242339][ T12] ? kobject_put+0xbb/0xd0 [ 89.242344][ T12] kobject_put+0xbb/0xd0 [ 89.242347][ T12] netdev_run_todo+0x5f0/0xc60 [ 89.242354][ T12] ? dev_ingress_queue_create+0x190/0x190 [ 89.242358][ T12] ? generic_xdp_install+0x410/0x410 [ 89.242361][ T12] ? net_generic+0xb1/0x1f0 [ 89.242373][ T12] ops_undo_list+0x714/0x890 [ 89.242378][ T12] ? rtnl_net_dumpid_one+0x270/0x270 [ 89.242381][ T12] ? cleanup_net+0x2d6/0x8b0 [ 89.242387][ T12] cleanup_net+0x3b2/0x8b0 [ 89.242391][ T12] ? net_passive_dec+0x190/0x190 [ 89.242396][ T12] ? rcu_is_watching+0x12/0xb0 [ 89.242413][ T12] process_one_work+0xe35/0x1650 [ 89.242428][ T12] ? pwq_dec_nr_in_flight+0x550/0x550 [ 89.242434][ T12] ? assign_work+0x168/0x240 [ 89.242439][ T12] worker_thread+0x591/0xcf0 [ 89.242445][ T12] ? rescuer_thread+0xd10/0xd10 [ 89.242449][ T12] kthread+0x37b/0x5f0 [ 89.242453][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 89.242456][ T12] ? ret_from_fork+0x1b/0x270 [ 89.242469][ T12] ? __lock_release+0x5d/0x170 [ 89.242475][ T12] ? rcu_is_watching+0x12/0xb0 [ 89.242479][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 89.242483][ T12] ret_from_fork+0x1db/0x270 [ 89.242485][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 89.242488][ T12] ret_from_fork_asm+0x11/0x20 [ 89.242500][ T12] [ 89.242502][ T12] [ 89.249000][ T12] Allocated by task 264: [ 89.249138][ T12] kasan_save_stack+0x24/0x40 [ 89.249319][ T12] kasan_save_track+0x14/0x30 [ 89.249482][ T12] __kasan_kmalloc+0x7b/0x90 [ 89.249651][ T12] __kvmalloc_node_noprof+0x2e5/0x8e0 [ 89.249837][ T12] alloc_netdev_mqs+0x7d/0x1370 [ 89.250013][ T12] ip6_tnl_init_net+0x102/0x3f0 [ 89.250191][ T12] ops_init+0x189/0x550 [ 89.250328][ T12] setup_net+0xf1/0x380 [ 89.250456][ T12] copy_net_ns+0x253/0x510 [ 89.250628][ T12] create_new_namespaces+0x35f/0x900 [ 89.250804][ T12] unshare_nsproxy_namespaces+0x8a/0x1a0 [ 89.250975][ T12] ksys_unshare+0x2be/0x6e0 [ 89.251152][ T12] __x64_sys_unshare+0x31/0x40 [ 89.251327][ T12] do_syscall_64+0xc1/0xfd0 [ 89.251507][ T12] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 89.251717][ T12] [ 89.251816][ T12] Freed by task 12: [ 89.251951][ T12] kasan_save_stack+0x24/0x40 [ 89.252142][ T12] kasan_save_track+0x14/0x30 [ 89.252304][ T12] __kasan_save_free_info+0x3b/0x60 [ 89.252477][ T12] __kasan_slab_free+0x3f/0x60 [ 89.252645][ T12] kfree+0x21d/0x540 [ 89.252783][ T12] device_release+0x9c/0x210 [ 89.252964][ T12] kobject_cleanup+0xfe/0x360 [ 89.253141][ T12] netdev_run_todo+0x81f/0xc60 [ 89.253307][ T12] ops_undo_list+0x714/0x890 [ 89.253474][ T12] cleanup_net+0x3b2/0x8b0 [ 89.253642][ T12] process_one_work+0xe35/0x1650 [ 89.253814][ T12] worker_thread+0x591/0xcf0 [ 89.253989][ T12] kthread+0x37b/0x5f0 [ 89.254123][ T12] ret_from_fork+0x1db/0x270 [ 89.254287][ T12] ret_from_fork_asm+0x11/0x20 [ 89.254457][ T12] [ 89.254553][ T12] The buggy address belongs to the object at ffff8880087f1000 [ 89.254553][ T12] which belongs to the cache kmalloc-4k of size 4096 [ 89.255066][ T12] The buggy address is located 1732 bytes inside of [ 89.255066][ T12] freed 4096-byte region [ffff8880087f1000, ffff8880087f2000) [ 89.255487][ T12] [ 89.255585][ T12] The buggy address belongs to the physical page: [ 89.255800][ T12] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x87f0 [ 89.256114][ T12] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 89.256466][ T12] flags: 0x80000000000040(head|node=0|zone=1) [ 89.256695][ T12] page_type: f5(slab) [ 89.256835][ T12] raw: 0080000000000040 ffff888001043700 ffffea000022c810 ffffea000022d210 [ 89.257158][ T12] raw: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000 [ 89.257552][ T12] head: 0080000000000040 ffff888001043700 ffffea000022c810 ffffea000022d210 [ 89.257855][ T12] head: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000 [ 89.258257][ T12] head: 0080000000000003 ffffea000021fc01 00000000ffffffff 00000000ffffffff [ 89.258553][ T12] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 89.258847][ T12] page dumped because: kasan: bad access detected [ 89.259066][ T12] [ 89.259154][ T12] Memory state around the buggy address: [ 89.259322][ T12] ffff8880087f1580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 89.259576][ T12] ffff8880087f1600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 89.259913][ T12] >ffff8880087f1680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 89.260171][ T12] ^ [ 89.260382][ T12] ffff8880087f1700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 89.260631][ T12] ffff8880087f1780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 89.260875][ T12] ================================================================== [ 89.261284][ T12] Disabling lock debugging due to kernel taint [ 89.261550][ T12] ------------[ cut here ]------------ [ 89.261726][ T12] refcount_t: underflow; use-after-free. [ 89.261946][ T12] WARNING: CPU: 3 PID: 12 at lib/refcount.c:28 refcount_warn_saturate+0x16f/0x1b0 [ 89.262266][ T12] Modules linked in: act_gact cls_matchall sch_ingress [ 89.262509][ T12] CPU: 3 UID: 0 PID: 12 Comm: kworker/u16:0 Tainted: G B 6.18.0-rc4-virtme #1 PREEMPT(full) [ 89.263075][ T12] Tainted: [B]=BAD_PAGE [ 89.263221][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 89.263452][ T12] Workqueue: netns cleanup_net [ 89.263649][ T12] RIP: 0010:refcount_warn_saturate+0x16f/0x1b0 [ 89.263887][ T12] Code: cc 38 03 80 fb 01 0f 87 29 33 d7 fe 83 e3 01 0f 85 51 ff ff ff c6 05 17 cc 38 03 01 90 48 c7 c7 40 ba 45 9a e8 62 d6 16 ff 90 <0f> 0b 90 90 e9 33 ff ff ff 48 89 df e8 c0 9d a0 ff e9 ba fe ff ff [ 89.264504][ T12] RSP: 0018:ffffc900000c7a08 EFLAGS: 00010282 [ 89.264720][ T12] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 89.264981][ T12] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 89.265238][ T12] RBP: 0000000000000003 R08: 0000000000000000 R09: fffffbfff3680934 [ 89.265509][ T12] R10: 0000000000000003 R11: ffffc900000c7580 R12: 0000000000000001 [ 89.265775][ T12] R13: dffffc0000000000 R14: dead000000000122 R15: dead000000000100 [ 89.266044][ T12] FS: 0000000000000000(0000) GS:ffff8880d0888000(0000) knlGS:0000000000000000 [ 89.266347][ T12] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 89.266578][ T12] CR2: 00007ffe27e05ff8 CR3: 000000000ba07002 CR4: 0000000000772ef0 [ 89.266847][ T12] PKRU: 55555554 [ 89.266989][ T12] Call Trace: [ 89.267128][ T12] [ 89.267227][ T12] netdev_run_todo+0x5f0/0xc60 [ 89.267406][ T12] ? dev_ingress_queue_create+0x190/0x190 [ 89.267598][ T12] ? generic_xdp_install+0x410/0x410 [ 89.267762][ T12] ? net_generic+0xb1/0x1f0 [ 89.267940][ T12] ops_undo_list+0x714/0x890 [ 89.268117][ T12] ? rtnl_net_dumpid_one+0x270/0x270 [ 89.268284][ T12] ? cleanup_net+0x2d6/0x8b0 [ 89.268456][ T12] cleanup_net+0x3b2/0x8b0 [ 89.268630][ T12] ? net_passive_dec+0x190/0x190 [ 89.268799][ T12] ? rcu_is_watching+0x12/0xb0 [ 89.268974][ T12] process_one_work+0xe35/0x1650 [ 89.269145][ T12] ? pwq_dec_nr_in_flight+0x550/0x550 [ 89.269322][ T12] ? assign_work+0x168/0x240 [ 89.269486][ T12] worker_thread+0x591/0xcf0 [ 89.269659][ T12] ? rescuer_thread+0xd10/0xd10 [ 89.269838][ T12] kthread+0x37b/0x5f0 [ 89.269973][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 89.270142][ T12] ? ret_from_fork+0x1b/0x270 [ 89.270311][ T12] ? __lock_release+0x5d/0x170 [ 89.270481][ T12] ? rcu_is_watching+0x12/0xb0 [ 89.270658][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 89.270826][ T12] ret_from_fork+0x1db/0x270 [ 89.271000][ T12] ? kthread_is_per_cpu+0xc0/0xc0 [ 89.271169][ T12] ret_from_fork_asm+0x11/0x20 [ 89.271341][ T12] [ 89.271475][ T12] irq event stamp: 16781 [ 89.271607][ T12] hardirqs last enabled at (16781): [] finish_task_switch.isra.0+0x245/0x960 [ 89.271966][ T12] hardirqs last disabled at (16780): [] __schedule+0x94a/0x1b10 [ 89.272284][ T12] softirqs last enabled at (16668): [] handle_softirqs+0x352/0x610 [ 89.272586][ T12] softirqs last disabled at (16657): [] irq_exit_rcu+0xab/0x100 [ 89.272892][ T12] ---[ end trace 0000000000000000 ]--- [ 126.306604][ T773] neighbour: ndisc_cache: neighbor table overflow! [ 126.375505][ T775] neighbour: ndisc_cache: neighbor table overflow! [ 126.452521][ T777] neighbour: ndisc_cache: neighbor table overflow! [ 126.531853][ T779] neighbour: ndisc_cache: neighbor table overflow! [ 126.602456][ T781] neighbour: ndisc_cache: neighbor table overflow! [ 126.674686][ T783] neighbour: ndisc_cache: neighbor table overflow! [ 126.751240][ T785] neighbour: ndisc_cache: neighbor table overflow! [ 126.823673][ T787] neighbour: ndisc_cache: neighbor table overflow! [ 126.911927][ T789] neighbour: ndisc_cache: neighbor table overflow! [ 126.987655][ T791] neighbour: ndisc_cache: neighbor table overflow!