[ 14.314834][ T252] ip (252) used greatest stack depth: 24176 bytes left
[ 16.440784][ T291] veth0: entered allmulticast mode
[ 16.441650][ T291] veth1: entered allmulticast mode
[ 16.442211][ T291] veth2: entered allmulticast mode
[ 16.442770][ T291] veth3: entered allmulticast mode
[ 16.443309][ T291] veth4: entered allmulticast mode
[ 16.445750][ T291] veth5: entered allmulticast mode
[ 29.767753][ T384] GACT probability NOT on
[ 48.093211][ T646] ==================================================================
[ 48.093514][ T646] BUG: KASAN: slab-use-after-free in kobject_put+0xbb/0xd0
[ 48.093795][ T646] Read of size 1 at addr ffff8880052746ac by task ip/646
[ 48.094018][ T646]
[ 48.094113][ T646] CPU: 3 UID: 0 PID: 646 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(full)
[ 48.094118][ T646] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 48.094121][ T646] Call Trace:
[ 48.094123][ T646]
[ 48.094125][ T646] dump_stack_lvl+0x82/0xc0
[ 48.094131][ T646] print_address_description.constprop.0+0x2c/0x3a0
[ 48.094138][ T646] ? kobject_put+0xbb/0xd0
[ 48.094142][ T646] print_report+0xb4/0x270
[ 48.094145][ T646] ? kobject_put+0xbb/0xd0
[ 48.094148][ T646] ? kasan_addr_to_slab+0x21/0x70
[ 48.094151][ T646] ? kobject_put+0xbb/0xd0
[ 48.094154][ T646] kasan_report+0xca/0x100
[ 48.094157][ T646] ? kobject_put+0xbb/0xd0
[ 48.094163][ T646] kobject_put+0xbb/0xd0
[ 48.094166][ T646] netdev_run_todo+0x5f0/0xc60
[ 48.094171][ T646] ? dev_ingress_queue_create+0x190/0x190
[ 48.094174][ T646] ? generic_xdp_install+0x410/0x410
[ 48.094178][ T646] ? vrf_dellink+0xff/0x150 [vrf]
[ 48.094185][ T646] ? vrf_map_unregister_dev+0x480/0x480 [vrf]
[ 48.094190][ T646] ? __lock_acquire+0x449/0x7e0
[ 48.094197][ T646] rtnl_dellink+0x350/0xa30
[ 48.094202][ T646] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 48.094221][ T646] ? find_held_lock+0x2b/0x80
[ 48.094225][ T646] ? __lock_acquire+0x449/0x7e0
[ 48.094231][ T646] ? find_held_lock+0x2b/0x80
[ 48.094235][ T646] ? rtnetlink_rcv_msg+0x6e6/0xc00
[ 48.094237][ T646] ? __lock_release+0x5d/0x170
[ 48.094242][ T646] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 48.094245][ T646] rtnetlink_rcv_msg+0x709/0xc00
[ 48.094249][ T646] ? rtnl_port_fill+0x850/0x850
[ 48.094251][ T646] ? __lock_acquire+0x449/0x7e0
[ 48.094263][ T646] netlink_rcv_skb+0x121/0x340
[ 48.094269][ T646] ? rtnl_port_fill+0x850/0x850
[ 48.094274][ T646] ? netlink_ack+0xdd0/0xdd0
[ 48.094280][ T646] ? netlink_deliver_tap+0x13e/0x340
[ 48.094283][ T646] ? netlink_deliver_tap+0xc3/0x340
[ 48.094287][ T646] netlink_unicast+0x4aa/0x780
[ 48.094291][ T646] ? netlink_attachskb+0x810/0x810
[ 48.094295][ T646] ? __lock_acquire+0x449/0x7e0
[ 48.094300][ T646] netlink_sendmsg+0x714/0xbd0
[ 48.094305][ T646] ? netlink_unicast+0x780/0x780
[ 48.094308][ T646] ? __import_iovec+0x230/0x3b0
[ 48.094314][ T646] ? netlink_unicast+0x780/0x780
[ 48.094317][ T646] ____sys_sendmsg+0x3dd/0x890
[ 48.094322][ T646] ? get_timestamp.constprop.0+0x380/0x380
[ 48.094325][ T646] ? __copy_msghdr+0x3c0/0x3c0
[ 48.094332][ T646] ___sys_sendmsg+0xed/0x170
[ 48.094335][ T646] ? kasan_record_aux_stack+0x8c/0xa0
[ 48.094338][ T646] ? __call_rcu_common.constprop.0+0xa8/0x630
[ 48.094348][ T646] ? copy_msghdr_from_user+0x110/0x110
[ 48.094353][ T646] ? find_held_lock+0x2b/0x80
[ 48.094357][ T646] ? __lock_acquire+0x449/0x7e0
[ 48.094363][ T646] ? find_held_lock+0x2b/0x80
[ 48.094366][ T646] ? __virt_addr_valid+0x22a/0x450
[ 48.094371][ T646] ? __lock_release+0x5d/0x170
[ 48.094377][ T646] __sys_sendmsg+0x10b/0x1a0
[ 48.094380][ T646] ? __call_rcu_common.constprop.0+0x318/0x630
[ 48.094384][ T646] ? __sys_sendmsg_sock+0x20/0x20
[ 48.094391][ T646] ? rcu_is_watching+0x12/0xb0
[ 48.094395][ T646] do_syscall_64+0xc1/0xfd0
[ 48.094401][ T646] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 48.094404][ T646] RIP: 0033:0x7f2f074231d7
[ 48.094409][ T646] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10
[ 48.094412][ T646] RSP: 002b:00007ffedfce88a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 48.094416][ T646] RAX: ffffffffffffffda RBX: 00007ffedfce8fd0 RCX: 00007f2f074231d7
[ 48.094418][ T646] RDX: 0000000000000000 RSI: 00007ffedfce8910 RDI: 0000000000000005
[ 48.094420][ T646] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078
[ 48.094421][ T646] R10: 00007f2f0731ff60 R11: 0000000000000246 R12: 0000000000000002
[ 48.094423][ T646] R13: 00000000690df988 R14: 0000000000499600 R15: 0000000000000000
[ 48.094429][ T646]
[ 48.094430][ T646]
[ 48.107273][ T646] Allocated by task 333:
[ 48.107404][ T646] kasan_save_stack+0x24/0x40
[ 48.107577][ T646] kasan_save_track+0x14/0x30
[ 48.107742][ T646] __kasan_kmalloc+0x7b/0x90
[ 48.107908][ T646] __kvmalloc_node_noprof+0x2e5/0x8e0
[ 48.108091][ T646] alloc_netdev_mqs+0x7d/0x1370
[ 48.108268][ T646] rtnl_create_link+0xa9e/0xe20
[ 48.108440][ T646] rtnl_newlink_create+0x203/0x770
[ 48.108605][ T646] __rtnl_newlink+0x231/0xa30
[ 48.108770][ T646] rtnl_newlink+0x693/0xa60
[ 48.108933][ T646] rtnetlink_rcv_msg+0x709/0xc00
[ 48.109113][ T646] netlink_rcv_skb+0x121/0x340
[ 48.109283][ T646] netlink_unicast+0x4aa/0x780
[ 48.109466][ T646] netlink_sendmsg+0x714/0xbd0
[ 48.109630][ T646] ____sys_sendmsg+0x3dd/0x890
[ 48.109801][ T646] ___sys_sendmsg+0xed/0x170
[ 48.109969][ T646] __sys_sendmsg+0x10b/0x1a0
[ 48.110146][ T646] do_syscall_64+0xc1/0xfd0
[ 48.110318][ T646] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 48.110523][ T646]
[ 48.110611][ T646] Freed by task 646:
[ 48.110736][ T646] kasan_save_stack+0x24/0x40
[ 48.110904][ T646] kasan_save_track+0x14/0x30
[ 48.111092][ T646] __kasan_save_free_info+0x3b/0x60
[ 48.111267][ T646] __kasan_slab_free+0x3f/0x60
[ 48.111436][ T646] kfree+0x21d/0x540
[ 48.111563][ T646] device_release+0x9c/0x210
[ 48.111730][ T646] kobject_cleanup+0xfe/0x360
[ 48.111897][ T646] netdev_run_todo+0x81f/0xc60
[ 48.112080][ T646] rtnl_dellink+0x350/0xa30
[ 48.112248][ T646] rtnetlink_rcv_msg+0x709/0xc00
[ 48.112428][ T646] netlink_rcv_skb+0x121/0x340
[ 48.112595][ T646] netlink_unicast+0x4aa/0x780
[ 48.112761][ T646] netlink_sendmsg+0x714/0xbd0
[ 48.112925][ T646] ____sys_sendmsg+0x3dd/0x890
[ 48.113103][ T646] ___sys_sendmsg+0xed/0x170
[ 48.113274][ T646] __sys_sendmsg+0x10b/0x1a0
[ 48.113440][ T646] do_syscall_64+0xc1/0xfd0
[ 48.113607][ T646] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 48.113816][ T646]
[ 48.113911][ T646] The buggy address belongs to the object at ffff888005274000
[ 48.113911][ T646] which belongs to the cache kmalloc-4k of size 4096
[ 48.114336][ T646] The buggy address is located 1708 bytes inside of
[ 48.114336][ T646] freed 4096-byte region [ffff888005274000, ffff888005275000)
[ 48.114739][ T646]
[ 48.114826][ T646] The buggy address belongs to the physical page:
[ 48.115040][ T646] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5270
[ 48.115462][ T646] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[ 48.115718][ T646] flags: 0x80000000000040(head|node=0|zone=1)
[ 48.115931][ T646] page_type: f5(slab)
[ 48.116067][ T646] raw: 0080000000000040 ffff888001043700 ffffea00001d4e10 ffffea0000276a10
[ 48.116492][ T646] raw: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
[ 48.116784][ T646] head: 0080000000000040 ffff888001043700 ffffea00001d4e10 ffffea0000276a10
[ 48.117201][ T646] head: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
[ 48.117506][ T646] head: 0080000000000003 ffffea0000149c01 00000000ffffffff 00000000ffffffff
[ 48.117910][ T646] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[ 48.118331][ T646] page dumped because: kasan: bad access detected
[ 48.118542][ T646]
[ 48.118628][ T646] Memory state around the buggy address:
[ 48.118791][ T646] ffff888005274580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 48.119034][ T646] ffff888005274600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 48.119298][ T646] >ffff888005274680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 48.119656][ T646] ^
[ 48.119819][ T646] ffff888005274700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 48.120064][ T646] ffff888005274780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 48.120422][ T646] ==================================================================
[ 48.120729][ T646] Disabling lock debugging due to kernel taint
[ 48.120974][ T646] ------------[ cut here ]------------
[ 48.121150][ T646] refcount_t: underflow; use-after-free.
[ 48.121334][ T646] WARNING: CPU: 0 PID: 646 at lib/refcount.c:28 refcount_warn_saturate+0x16f/0x1b0
[ 48.121638][ T646] Modules linked in: act_gact cls_flower sch_ingress vrf veth
[ 48.121925][ T646] CPU: 0 UID: 0 PID: 646 Comm: ip Tainted: G B 6.18.0-rc4-virtme #1 PREEMPT(full)
[ 48.122288][ T646] Tainted: [B]=BAD_PAGE
[ 48.122415][ T646] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 48.122628][ T646] RIP: 0010:refcount_warn_saturate+0x16f/0x1b0
[ 48.122867][ T646] Code: 7d 93 02 80 fb 01 0f 87 bb 99 d9 fe 83 e3 01 0f 85 51 ff ff ff c6 05 a8 7d 93 02 01 90 48 c7 c7 60 8d 85 bb e8 32 bf 18 ff 90 <0f> 0b 90 90 e9 33 ff ff ff 48 89 df e8 b0 63 a1 ff e9 ba fe ff ff
[ 48.123652][ T646] RSP: 0018:ffffc9000101f1f0 EFLAGS: 00010286
[ 48.123999][ T646] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 48.124380][ T646] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001
[ 48.124813][ T646] RBP: 0000000000000003 R08: 0000000000000000 R09: fffffbfff783e134
[ 48.125215][ T646] R10: 0000000000000003 R11: ffffc9000101ed80 R12: 0000000000000001
[ 48.125598][ T646] R13: dffffc0000000000 R14: dead000000000122 R15: dead000000000100
[ 48.125965][ T646] FS: 00007f2f07255800(0000) GS:ffff888078bf2000(0000) knlGS:0000000000000000
[ 48.126288][ T646] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 48.126496][ T646] CR2: 000055cf0d3dbdec CR3: 000000000cea8004 CR4: 0000000000772ef0
[ 48.126852][ T646] PKRU: 55555554
[ 48.126979][ T646] Call Trace:
[ 48.127114][ T646]
[ 48.127199][ T646] netdev_run_todo+0x5f0/0xc60
[ 48.127370][ T646] ? dev_ingress_queue_create+0x190/0x190
[ 48.127548][ T646] ? generic_xdp_install+0x410/0x410
[ 48.127814][ T646] ? vrf_dellink+0xff/0x150 [vrf]
[ 48.127979][ T646] ? vrf_map_unregister_dev+0x480/0x480 [vrf]
[ 48.128195][ T646] ? __lock_acquire+0x449/0x7e0
[ 48.132766][ T646] rtnl_dellink+0x350/0xa30
[ 48.132955][ T646] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 48.133184][ T646] ? find_held_lock+0x2b/0x80
[ 48.133355][ T646] ? __lock_acquire+0x449/0x7e0
[ 48.133621][ T646] ? find_held_lock+0x2b/0x80
[ 48.133801][ T646] ? rtnetlink_rcv_msg+0x6e6/0xc00
[ 48.133958][ T646] ? __lock_release+0x5d/0x170
[ 48.134139][ T646] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 48.134342][ T646] rtnetlink_rcv_msg+0x709/0xc00
[ 48.134505][ T646] ? rtnl_port_fill+0x850/0x850
[ 48.134767][ T646] ? __lock_acquire+0x449/0x7e0
[ 48.134941][ T646] netlink_rcv_skb+0x121/0x340
[ 48.135131][ T646] ? rtnl_port_fill+0x850/0x850
[ 48.135301][ T646] ? netlink_ack+0xdd0/0xdd0
[ 48.135466][ T646] ? netlink_deliver_tap+0x13e/0x340
[ 48.135622][ T646] ? netlink_deliver_tap+0xc3/0x340
[ 48.135791][ T646] netlink_unicast+0x4aa/0x780
[ 48.135957][ T646] ? netlink_attachskb+0x810/0x810
[ 48.136138][ T646] ? __lock_acquire+0x449/0x7e0
[ 48.136394][ T646] netlink_sendmsg+0x714/0xbd0
[ 48.136558][ T646] ? netlink_unicast+0x780/0x780
[ 48.136770][ T646] ? __import_iovec+0x230/0x3b0
[ 48.137056][ T646] ? netlink_unicast+0x780/0x780
[ 48.137219][ T646] ____sys_sendmsg+0x3dd/0x890
[ 48.137491][ T646] ? get_timestamp.constprop.0+0x380/0x380
[ 48.137716][ T646] ? __copy_msghdr+0x3c0/0x3c0
[ 48.137905][ T646] ___sys_sendmsg+0xed/0x170
[ 48.138188][ T646] ? kasan_record_aux_stack+0x8c/0xa0
[ 48.138452][ T646] ? __call_rcu_common.constprop.0+0xa8/0x630
[ 48.138680][ T646] ? copy_msghdr_from_user+0x110/0x110
[ 48.138954][ T646] ? find_held_lock+0x2b/0x80
[ 48.139146][ T646] ? __lock_acquire+0x449/0x7e0
[ 48.139430][ T646] ? find_held_lock+0x2b/0x80
[ 48.139612][ T646] ? __virt_addr_valid+0x22a/0x450
[ 48.139805][ T646] ? __lock_release+0x5d/0x170
[ 48.139989][ T646] __sys_sendmsg+0x10b/0x1a0
[ 48.140180][ T646] ? __call_rcu_common.constprop.0+0x318/0x630
[ 48.140406][ T646] ? __sys_sendmsg_sock+0x20/0x20
[ 48.140692][ T646] ? rcu_is_watching+0x12/0xb0
[ 48.140964][ T646] do_syscall_64+0xc1/0xfd0
[ 48.141158][ T646] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 48.141385][ T646] RIP: 0033:0x7f2f074231d7
[ 48.141574][ T646] Code: 0e 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b9 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10
[ 48.142231][ T646] RSP: 002b:00007ffedfce88a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 48.142611][ T646] RAX: ffffffffffffffda RBX: 00007ffedfce8fd0 RCX: 00007f2f074231d7
[ 48.142889][ T646] RDX: 0000000000000000 RSI: 00007ffedfce8910 RDI: 0000000000000005
[ 48.143165][ T646] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078
[ 48.143435][ T646] R10: 00007f2f0731ff60 R11: 0000000000000246 R12: 0000000000000002
[ 48.143719][ T646] R13: 00000000690df988 R14: 0000000000499600 R15: 0000000000000000
[ 48.144108][ T646]
[ 48.144249][ T646] irq event stamp: 39947
[ 48.144389][ T646] hardirqs last enabled at (39947): [] finish_task_switch.isra.0+0x245/0x960
[ 48.144757][ T646] hardirqs last disabled at (39946): [] __schedule+0x94a/0x1b10
[ 48.145184][ T646] softirqs last enabled at (39250): [] handle_softirqs+0x352/0x610
[ 48.145503][ T646] softirqs last disabled at (39221): [] irq_exit_rcu+0xab/0x100
[ 48.145824][ T646] ---[ end trace 0000000000000000 ]---
[ 50.259225][ T291] veth0: left allmulticast mode
[ 50.259539][ T291] veth1: left allmulticast mode
[ 50.259784][ T291] veth2: left allmulticast mode
[ 50.259995][ T291] veth3: left allmulticast mode
[ 50.260212][ T291] veth4: left allmulticast mode
[ 50.260430][ T291] veth5: left allmulticast mode