[ 16.238594][ T250] ip (250) used greatest stack depth: 24000 bytes left
[ 22.256493][ T313] 8021q: 802.1Q VLAN Support v1.8
[ 22.858637][ T318] gre: GRE over IPv4 demultiplexer driver
[ 22.877771][ T318] ip_gre: GRE over IPv4 tunneling driver
[ 43.762318][ T415] ==================================================================
[ 43.762646][ T415] BUG: KASAN: slab-use-after-free in kobject_put+0xbb/0xd0
[ 43.762926][ T415] Read of size 1 at addr ffff88800c4196ac by task ip/415
[ 43.763150][ T415]
[ 43.763250][ T415] CPU: 2 UID: 0 PID: 415 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(full)
[ 43.763255][ T415] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 43.763258][ T415] Call Trace:
[ 43.763261][ T415]
[ 43.763263][ T415] dump_stack_lvl+0x82/0xc0
[ 43.763269][ T415] print_address_description.constprop.0+0x2c/0x3a0
[ 43.763277][ T415] ? kobject_put+0xbb/0xd0
[ 43.763281][ T415] print_report+0xb4/0x270
[ 43.763284][ T415] ? kobject_put+0xbb/0xd0
[ 43.763287][ T415] ? kasan_addr_to_slab+0x21/0x70
[ 43.763291][ T415] ? kobject_put+0xbb/0xd0
[ 43.763294][ T415] kasan_report+0xca/0x100
[ 43.763297][ T415] ? kobject_put+0xbb/0xd0
[ 43.763303][ T415] kobject_put+0xbb/0xd0
[ 43.763307][ T415] netdev_run_todo+0x5f0/0xc60
[ 43.763314][ T415] ? dev_ingress_queue_create+0x190/0x190
[ 43.763319][ T415] ? generic_xdp_install+0x410/0x410
[ 43.763324][ T415] ? unregister_netdevice_many+0x20/0x20
[ 43.763327][ T415] ? net_generic+0xb1/0x1f0
[ 43.763333][ T415] ? net_generic+0xbb/0x1f0
[ 43.763338][ T415] rtnl_dellink+0x350/0xa30
[ 43.763343][ T415] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 43.763362][ T415] ? find_held_lock+0x2b/0x80
[ 43.763372][ T415] ? __lock_acquire+0x449/0x7e0
[ 43.763380][ T415] ? find_held_lock+0x2b/0x80
[ 43.763383][ T415] ? rtnetlink_rcv_msg+0x6e6/0xc00
[ 43.763386][ T415] ? __lock_release+0x5d/0x170
[ 43.763391][ T415] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 43.763394][ T415] rtnetlink_rcv_msg+0x709/0xc00
[ 43.763398][ T415] ? rtnl_port_fill+0x850/0x850
[ 43.763401][ T415] ? __lock_acquire+0x449/0x7e0
[ 43.763408][ T415] netlink_rcv_skb+0x121/0x340
[ 43.763413][ T415] ? rtnl_port_fill+0x850/0x850
[ 43.763416][ T415] ? netlink_ack+0xdd0/0xdd0
[ 43.763423][ T415] ? netlink_deliver_tap+0x13e/0x340
[ 43.763426][ T415] ? netlink_deliver_tap+0xc3/0x340
[ 43.763430][ T415] netlink_unicast+0x4aa/0x780
[ 43.763434][ T415] ? netlink_attachskb+0x810/0x810
[ 43.763439][ T415] ? __lock_acquire+0x449/0x7e0
[ 43.763444][ T415] netlink_sendmsg+0x714/0xbd0
[ 43.763449][ T415] ? netlink_unicast+0x780/0x780
[ 43.763453][ T415] ? __import_iovec+0x230/0x3b0
[ 43.763464][ T415] ? netlink_unicast+0x780/0x780
[ 43.763467][ T415] ____sys_sendmsg+0x3dd/0x890
[ 43.763474][ T415] ? get_timestamp.constprop.0+0x380/0x380
[ 43.763477][ T415] ? __copy_msghdr+0x3c0/0x3c0
[ 43.763485][ T415] ___sys_sendmsg+0xed/0x170
[ 43.763489][ T415] ? kasan_record_aux_stack+0x8c/0xa0
[ 43.763492][ T415] ? __call_rcu_common.constprop.0+0xa8/0x630
[ 43.763498][ T415] ? copy_msghdr_from_user+0x110/0x110
[ 43.763503][ T415] ? find_held_lock+0x2b/0x80
[ 43.763507][ T415] ? __lock_acquire+0x449/0x7e0
[ 43.763513][ T415] ? find_held_lock+0x2b/0x80
[ 43.763516][ T415] ? __virt_addr_valid+0x22a/0x450
[ 43.763522][ T415] ? __lock_release+0x5d/0x170
[ 43.763528][ T415] __sys_sendmsg+0x10b/0x1a0
[ 43.763532][ T415] ? __call_rcu_common.constprop.0+0x318/0x630
[ 43.763536][ T415] ? __sys_sendmsg_sock+0x20/0x20
[ 43.763544][ T415] ? rcu_is_watching+0x12/0xb0
[ 43.763548][ T415] do_syscall_64+0xc1/0xfd0
[ 43.763554][ T415] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 43.763558][ T415] RIP: 0033:0x7f23c6e3f1d7
[ 43.763567][ T415] 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
[ 43.763570][ T415] RSP: 002b:00007ffcf6a7ae38 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 43.763574][ T415] RAX: ffffffffffffffda RBX: 00007ffcf6a7b560 RCX: 00007f23c6e3f1d7
[ 43.763576][ T415] RDX: 0000000000000000 RSI: 00007ffcf6a7aea0 RDI: 0000000000000005
[ 43.763578][ T415] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078
[ 43.763580][ T415] R10: 00007f23c6d3bf60 R11: 0000000000000246 R12: 0000000000000002
[ 43.763582][ T415] R13: 00000000690def6c R14: 0000000000499600 R15: 0000000000000000
[ 43.763588][ T415]
[ 43.763589][ T415]
[ 43.777330][ T415] Allocated by task 343:
[ 43.777473][ T415] kasan_save_stack+0x24/0x40
[ 43.777665][ T415] kasan_save_track+0x14/0x30
[ 43.777849][ T415] __kasan_kmalloc+0x7b/0x90
[ 43.778029][ T415] __kvmalloc_node_noprof+0x2e5/0x8e0
[ 43.778233][ T415] alloc_netdev_mqs+0x7d/0x1370
[ 43.778422][ T415] rtnl_create_link+0xa9e/0xe20
[ 43.778605][ T415] rtnl_newlink_create+0x203/0x770
[ 43.778793][ T415] __rtnl_newlink+0x231/0xa30
[ 43.778972][ T415] rtnl_newlink+0x693/0xa60
[ 43.779166][ T415] rtnetlink_rcv_msg+0x709/0xc00
[ 43.779355][ T415] netlink_rcv_skb+0x121/0x340
[ 43.779536][ T415] netlink_unicast+0x4aa/0x780
[ 43.779712][ T415] netlink_sendmsg+0x714/0xbd0
[ 43.779894][ T415] ____sys_sendmsg+0x3dd/0x890
[ 43.780081][ T415] ___sys_sendmsg+0xed/0x170
[ 43.780280][ T415] __sys_sendmsg+0x10b/0x1a0
[ 43.780472][ T415] do_syscall_64+0xc1/0xfd0
[ 43.780652][ T415] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 43.780876][ T415]
[ 43.780969][ T415] Freed by task 415:
[ 43.781128][ T415] kasan_save_stack+0x24/0x40
[ 43.781323][ T415] kasan_save_track+0x14/0x30
[ 43.781510][ T415] __kasan_save_free_info+0x3b/0x60
[ 43.781703][ T415] __kasan_slab_free+0x3f/0x60
[ 43.781899][ T415] kfree+0x21d/0x540
[ 43.782037][ T415] device_release+0x9c/0x210
[ 43.782231][ T415] kobject_cleanup+0xfe/0x360
[ 43.782423][ T415] netdev_run_todo+0x81f/0xc60
[ 43.782603][ T415] rtnl_dellink+0x350/0xa30
[ 43.782788][ T415] rtnetlink_rcv_msg+0x709/0xc00
[ 43.783066][ T415] netlink_rcv_skb+0x121/0x340
[ 43.783267][ T415] netlink_unicast+0x4aa/0x780
[ 43.783455][ T415] netlink_sendmsg+0x714/0xbd0
[ 43.783734][ T415] ____sys_sendmsg+0x3dd/0x890
[ 43.783913][ T415] ___sys_sendmsg+0xed/0x170
[ 43.784099][ T415] __sys_sendmsg+0x10b/0x1a0
[ 43.784278][ T415] do_syscall_64+0xc1/0xfd0
[ 43.784462][ T415] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 43.784685][ T415]
[ 43.784875][ T415] The buggy address belongs to the object at ffff88800c419000
[ 43.784875][ T415] which belongs to the cache kmalloc-4k of size 4096
[ 43.785324][ T415] The buggy address is located 1708 bytes inside of
[ 43.785324][ T415] freed 4096-byte region [ffff88800c419000, ffff88800c41a000)
[ 43.785758][ T415]
[ 43.785850][ T415] The buggy address belongs to the physical page:
[ 43.786090][ T415] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0xc418
[ 43.786526][ T415] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[ 43.786798][ T415] flags: 0x80000000000040(head|node=0|zone=1)
[ 43.787145][ T415] page_type: f5(slab)
[ 43.787290][ T415] raw: 0080000000000040 ffff888001043700 ffffea0000201410 ffffea00002dd610
[ 43.787637][ T415] raw: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
[ 43.788054][ T415] head: 0080000000000040 ffff888001043700 ffffea0000201410 ffffea00002dd610
[ 43.788390][ T415] head: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
[ 43.788707][ T415] head: 0080000000000003 ffffea0000310601 00000000ffffffff 00000000ffffffff
[ 43.789143][ T415] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[ 43.789475][ T415] page dumped because: kasan: bad access detected
[ 43.789796][ T415]
[ 43.789888][ T415] Memory state around the buggy address:
[ 43.790063][ T415] ffff88800c419580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 43.790342][ T415] ffff88800c419600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 43.790699][ T415] >ffff88800c419680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 43.790964][ T415] ^
[ 43.791147][ T415] ffff88800c419700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 43.791411][ T415] ffff88800c419780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 43.791664][ T415] ==================================================================
[ 43.792412][ T415] Disabling lock debugging due to kernel taint
[ 43.792692][ T415] ------------[ cut here ]------------
[ 43.792907][ T415] refcount_t: underflow; use-after-free.
[ 43.793139][ T415] WARNING: CPU: 1 PID: 415 at lib/refcount.c:28 refcount_warn_saturate+0x16f/0x1b0
[ 43.793553][ T415] Modules linked in: ip_gre gre 8021q vrf veth
[ 43.793820][ T415] CPU: 1 UID: 0 PID: 415 Comm: ip Tainted: G B 6.18.0-rc4-virtme #1 PREEMPT(full)
[ 43.794218][ T415] Tainted: [B]=BAD_PAGE
[ 43.794475][ T415] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 43.794723][ T415] RIP: 0010:refcount_warn_saturate+0x16f/0x1b0
[ 43.794975][ T415] 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 25 b4 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
[ 43.795612][ T415] RSP: 0018:ffffc90000a671f0 EFLAGS: 00010286
[ 43.795858][ T415] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 43.796137][ T415] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001
[ 43.796431][ T415] RBP: 0000000000000003 R08: 0000000000000000 R09: fffffbfff697e134
[ 43.796724][ T415] R10: 0000000000000003 R11: ffffc90000a66d80 R12: 0000000000000001
[ 43.797185][ T415] R13: dffffc0000000000 R14: dead000000000122 R15: dead000000000100
[ 43.797473][ T415] FS: 00007f23c6c71800(0000) GS:ffff888080272000(0000) knlGS:0000000000000000
[ 43.797934][ T415] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 43.798170][ T415] CR2: 000055b48f567ba8 CR3: 000000000c556006 CR4: 0000000000772ef0
[ 43.798551][ T415] PKRU: 55555554
[ 43.798705][ T415] Call Trace:
[ 43.798845][ T415]
[ 43.798943][ T415] netdev_run_todo+0x5f0/0xc60
[ 43.799141][ T415] ? dev_ingress_queue_create+0x190/0x190
[ 43.799416][ T415] ? generic_xdp_install+0x410/0x410
[ 43.799601][ T415] ? unregister_netdevice_many+0x20/0x20
[ 43.799786][ T415] ? net_generic+0xb1/0x1f0
[ 43.799978][ T415] ? net_generic+0xbb/0x1f0
[ 43.800161][ T415] rtnl_dellink+0x350/0xa30
[ 43.800422][ T415] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 43.800663][ T415] ? find_held_lock+0x2b/0x80
[ 43.800857][ T415] ? __lock_acquire+0x449/0x7e0
[ 43.801041][ T415] ? find_held_lock+0x2b/0x80
[ 43.801317][ T415] ? rtnetlink_rcv_msg+0x6e6/0xc00
[ 43.801499][ T415] ? __lock_release+0x5d/0x170
[ 43.801698][ T415] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 43.801995][ T415] rtnetlink_rcv_msg+0x709/0xc00
[ 43.802286][ T415] ? rtnl_port_fill+0x850/0x850
[ 43.802482][ T415] ? __lock_acquire+0x449/0x7e0
[ 43.802691][ T415] netlink_rcv_skb+0x121/0x340
[ 43.802883][ T415] ? rtnl_port_fill+0x850/0x850
[ 43.803064][ T415] ? netlink_ack+0xdd0/0xdd0
[ 43.803350][ T415] ? netlink_deliver_tap+0x13e/0x340
[ 43.803536][ T415] ? netlink_deliver_tap+0xc3/0x340
[ 43.803735][ T415] netlink_unicast+0x4aa/0x780
[ 43.803917][ T415] ? netlink_attachskb+0x810/0x810
[ 43.804097][ T415] ? __lock_acquire+0x449/0x7e0
[ 43.804364][ T415] netlink_sendmsg+0x714/0xbd0
[ 43.804555][ T415] ? netlink_unicast+0x780/0x780
[ 43.804753][ T415] ? __import_iovec+0x230/0x3b0
[ 43.804946][ T415] ? netlink_unicast+0x780/0x780
[ 43.805132][ T415] ____sys_sendmsg+0x3dd/0x890
[ 43.805433][ T415] ? get_timestamp.constprop.0+0x380/0x380
[ 43.805674][ T415] ? __copy_msghdr+0x3c0/0x3c0
[ 43.805862][ T415] ___sys_sendmsg+0xed/0x170
[ 43.806043][ T415] ? kasan_record_aux_stack+0x8c/0xa0
[ 43.806277][ T415] ? __call_rcu_common.constprop.0+0xa8/0x630
[ 43.806523][ T415] ? copy_msghdr_from_user+0x110/0x110
[ 43.806742][ T415] ? find_held_lock+0x2b/0x80
[ 43.806925][ T415] ? __lock_acquire+0x449/0x7e0
[ 43.807115][ T415] ? find_held_lock+0x2b/0x80
[ 43.807319][ T415] ? __virt_addr_valid+0x22a/0x450
[ 43.807514][ T415] ? __lock_release+0x5d/0x170
[ 43.807711][ T415] __sys_sendmsg+0x10b/0x1a0
[ 43.807894][ T415] ? __call_rcu_common.constprop.0+0x318/0x630
[ 43.808140][ T415] ? __sys_sendmsg_sock+0x20/0x20
[ 43.808347][ T415] ? rcu_is_watching+0x12/0xb0
[ 43.808535][ T415] do_syscall_64+0xc1/0xfd0
[ 43.808740][ T415] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 43.808963][ T415] RIP: 0033:0x7f23c6e3f1d7
[ 43.809166][ T415] 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
[ 43.809904][ T415] RSP: 002b:00007ffcf6a7ae38 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 43.810199][ T415] RAX: ffffffffffffffda RBX: 00007ffcf6a7b560 RCX: 00007f23c6e3f1d7
[ 43.810517][ T415] RDX: 0000000000000000 RSI: 00007ffcf6a7aea0 RDI: 0000000000000005
[ 43.810807][ T415] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078
[ 43.811075][ T415] R10: 00007f23c6d3bf60 R11: 0000000000000246 R12: 0000000000000002
[ 43.811368][ T415] R13: 00000000690def6c R14: 0000000000499600 R15: 0000000000000000
[ 43.811661][ T415]
[ 43.811806][ T415] irq event stamp: 43201
[ 43.811958][ T415] hardirqs last enabled at (43201): [] kasan_quarantine_put+0xf9/0x210
[ 43.812306][ T415] hardirqs last disabled at (43200): [] kasan_quarantine_put+0xac/0x210
[ 43.812648][ T415] softirqs last enabled at (43036): [] handle_softirqs+0x352/0x610
[ 43.812959][ T415] softirqs last disabled at (43031): [] irq_exit_rcu+0xab/0x100
[ 43.813300][ T415] ---[ end trace 0000000000000000 ]---