[ 17.689124][ T250] ip (250) used greatest stack depth: 23952 bytes left
[ 23.683760][ T314] 8021q: 802.1Q VLAN Support v1.8
[ 24.328093][ T319] gre: GRE over IPv4 demultiplexer driver
[ 24.356828][ T319] ip_gre: GRE over IPv4 tunneling driver
[ 45.797704][ T416] ==================================================================
[ 45.798132][ T416] BUG: KASAN: slab-use-after-free in kobject_put+0xbb/0xd0
[ 45.798499][ T416] Read of size 1 at addr ffff8880084816ac by task ip/416
[ 45.798769][ T416]
[ 45.798893][ T416] CPU: 3 UID: 0 PID: 416 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(full)
[ 45.798899][ T416] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 45.798902][ T416] Call Trace:
[ 45.798904][ T416]
[ 45.798906][ T416] dump_stack_lvl+0x82/0xc0
[ 45.798915][ T416] print_address_description.constprop.0+0x2c/0x3a0
[ 45.798922][ T416] ? kobject_put+0xbb/0xd0
[ 45.798927][ T416] print_report+0xb4/0x270
[ 45.798930][ T416] ? kobject_put+0xbb/0xd0
[ 45.798934][ T416] ? kasan_addr_to_slab+0x21/0x70
[ 45.798937][ T416] ? kobject_put+0xbb/0xd0
[ 45.798940][ T416] kasan_report+0xca/0x100
[ 45.798944][ T416] ? kobject_put+0xbb/0xd0
[ 45.798950][ T416] kobject_put+0xbb/0xd0
[ 45.798953][ T416] netdev_run_todo+0x5f0/0xc60
[ 45.798959][ T416] ? dev_ingress_queue_create+0x190/0x190
[ 45.798962][ T416] ? generic_xdp_install+0x410/0x410
[ 45.798965][ T416] ? unregister_netdevice_many+0x20/0x20
[ 45.798968][ T416] ? net_generic+0xb1/0x1f0
[ 45.798975][ T416] ? net_generic+0xbb/0x1f0
[ 45.798979][ T416] rtnl_dellink+0x350/0xa30
[ 45.798987][ T416] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 45.799011][ T416] ? find_held_lock+0x2b/0x80
[ 45.799028][ T416] ? __lock_acquire+0x449/0x7e0
[ 45.799038][ T416] ? find_held_lock+0x2b/0x80
[ 45.799043][ T416] ? rtnetlink_rcv_msg+0x6e6/0xc00
[ 45.799046][ T416] ? __lock_release+0x5d/0x170
[ 45.799050][ T416] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 45.799054][ T416] rtnetlink_rcv_msg+0x709/0xc00
[ 45.799058][ T416] ? rtnl_port_fill+0x850/0x850
[ 45.799061][ T416] ? __lock_acquire+0x449/0x7e0
[ 45.799068][ T416] netlink_rcv_skb+0x121/0x340
[ 45.799073][ T416] ? rtnl_port_fill+0x850/0x850
[ 45.799077][ T416] ? netlink_ack+0xdd0/0xdd0
[ 45.799084][ T416] ? netlink_deliver_tap+0x13e/0x340
[ 45.799087][ T416] ? netlink_deliver_tap+0xc3/0x340
[ 45.799091][ T416] netlink_unicast+0x4aa/0x780
[ 45.799095][ T416] ? netlink_attachskb+0x810/0x810
[ 45.799099][ T416] ? __lock_acquire+0x449/0x7e0
[ 45.799108][ T416] netlink_sendmsg+0x714/0xbd0
[ 45.799115][ T416] ? netlink_unicast+0x780/0x780
[ 45.799121][ T416] ? __import_iovec+0x230/0x3b0
[ 45.799129][ T416] ? netlink_unicast+0x780/0x780
[ 45.799133][ T416] ____sys_sendmsg+0x3dd/0x890
[ 45.799140][ T416] ? get_timestamp.constprop.0+0x380/0x380
[ 45.799143][ T416] ? __copy_msghdr+0x3c0/0x3c0
[ 45.799152][ T416] ___sys_sendmsg+0xed/0x170
[ 45.799155][ T416] ? kasan_record_aux_stack+0x8c/0xa0
[ 45.799158][ T416] ? __call_rcu_common.constprop.0+0xa8/0x630
[ 45.799167][ T416] ? copy_msghdr_from_user+0x110/0x110
[ 45.799172][ T416] ? find_held_lock+0x2b/0x80
[ 45.799177][ T416] ? __lock_acquire+0x449/0x7e0
[ 45.799183][ T416] ? find_held_lock+0x2b/0x80
[ 45.799186][ T416] ? __virt_addr_valid+0x22a/0x450
[ 45.799199][ T416] ? __lock_release+0x5d/0x170
[ 45.799208][ T416] __sys_sendmsg+0x10b/0x1a0
[ 45.799213][ T416] ? __call_rcu_common.constprop.0+0x318/0x630
[ 45.799220][ T416] ? __sys_sendmsg_sock+0x20/0x20
[ 45.799232][ T416] ? rcu_is_watching+0x12/0xb0
[ 45.799239][ T416] do_syscall_64+0xc1/0xfd0
[ 45.799248][ T416] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 45.799252][ T416] RIP: 0033:0x7f4137ed51d7
[ 45.799259][ T416] 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
[ 45.799262][ T416] RSP: 002b:00007ffc6002a198 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 45.799267][ T416] RAX: ffffffffffffffda RBX: 00007ffc6002a8c0 RCX: 00007f4137ed51d7
[ 45.799269][ T416] RDX: 0000000000000000 RSI: 00007ffc6002a200 RDI: 0000000000000005
[ 45.799271][ T416] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078
[ 45.799273][ T416] R10: 00007f4137dd1f60 R11: 0000000000000246 R12: 0000000000000002
[ 45.799275][ T416] R13: 00000000690deeda R14: 0000000000499600 R15: 0000000000000000
[ 45.799281][ T416]
[ 45.799283][ T416]
[ 45.813919][ T416] Allocated by task 344:
[ 45.814078][ T416] kasan_save_stack+0x24/0x40
[ 45.814285][ T416] kasan_save_track+0x14/0x30
[ 45.814504][ T416] __kasan_kmalloc+0x7b/0x90
[ 45.814697][ T416] __kvmalloc_node_noprof+0x2e5/0x8e0
[ 45.814889][ T416] alloc_netdev_mqs+0x7d/0x1370
[ 45.815091][ T416] rtnl_create_link+0xa9e/0xe20
[ 45.815293][ T416] rtnl_newlink_create+0x203/0x770
[ 45.815502][ T416] __rtnl_newlink+0x231/0xa30
[ 45.815694][ T416] rtnl_newlink+0x693/0xa60
[ 45.815885][ T416] rtnetlink_rcv_msg+0x709/0xc00
[ 45.816080][ T416] netlink_rcv_skb+0x121/0x340
[ 45.816281][ T416] netlink_unicast+0x4aa/0x780
[ 45.816505][ T416] netlink_sendmsg+0x714/0xbd0
[ 45.816703][ T416] ____sys_sendmsg+0x3dd/0x890
[ 45.816901][ T416] ___sys_sendmsg+0xed/0x170
[ 45.817102][ T416] __sys_sendmsg+0x10b/0x1a0
[ 45.817297][ T416] do_syscall_64+0xc1/0xfd0
[ 45.817510][ T416] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 45.817750][ T416]
[ 45.817846][ T416] Freed by task 416:
[ 45.817985][ T416] kasan_save_stack+0x24/0x40
[ 45.818191][ T416] kasan_save_track+0x14/0x30
[ 45.818391][ T416] __kasan_save_free_info+0x3b/0x60
[ 45.818589][ T416] __kasan_slab_free+0x3f/0x60
[ 45.818783][ T416] kfree+0x21d/0x540
[ 45.818922][ T416] device_release+0x9c/0x210
[ 45.819124][ T416] kobject_cleanup+0xfe/0x360
[ 45.819319][ T416] netdev_run_todo+0x81f/0xc60
[ 45.819521][ T416] rtnl_dellink+0x350/0xa30
[ 45.819715][ T416] rtnetlink_rcv_msg+0x709/0xc00
[ 45.819901][ T416] netlink_rcv_skb+0x121/0x340
[ 45.820103][ T416] netlink_unicast+0x4aa/0x780
[ 45.820301][ T416] netlink_sendmsg+0x714/0xbd0
[ 45.820522][ T416] ____sys_sendmsg+0x3dd/0x890
[ 45.820725][ T416] ___sys_sendmsg+0xed/0x170
[ 45.820923][ T416] __sys_sendmsg+0x10b/0x1a0
[ 45.821124][ T416] do_syscall_64+0xc1/0xfd0
[ 45.821321][ T416] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 45.821570][ T416]
[ 45.821668][ T416] The buggy address belongs to the object at ffff888008481000
[ 45.821668][ T416] which belongs to the cache kmalloc-4k of size 4096
[ 45.822130][ T416] The buggy address is located 1708 bytes inside of
[ 45.822130][ T416] freed 4096-byte region [ffff888008481000, ffff888008482000)
[ 45.822598][ T416]
[ 45.822698][ T416] The buggy address belongs to the physical page:
[ 45.822939][ T416] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x8480
[ 45.823290][ T416] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[ 45.823599][ T416] flags: 0x80000000000040(head|node=0|zone=1)
[ 45.823972][ T416] page_type: f5(slab)
[ 45.824129][ T416] raw: 0080000000000040 ffff888001043700 ffffea000021ce10 ffffea000020a610
[ 45.824559][ T416] raw: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
[ 45.825137][ T416] head: 0080000000000040 ffff888001043700 ffffea000021ce10 ffffea000020a610
[ 45.825497][ T416] head: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
[ 45.825858][ T416] head: 0080000000000003 ffffea0000212001 00000000ffffffff 00000000ffffffff
[ 45.826214][ T416] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[ 45.826687][ T416] page dumped because: kasan: bad access detected
[ 45.826941][ T416]
[ 45.827038][ T416] Memory state around the buggy address:
[ 45.827237][ T416] ffff888008481580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 45.827545][ T416] ffff888008481600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 45.827837][ T416] >ffff888008481680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 45.828129][ T416] ^
[ 45.828335][ T416] ffff888008481700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 45.828624][ T416] ffff888008481780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 45.828982][ T416] ==================================================================
[ 45.829423][ T416] Disabling lock debugging due to kernel taint
[ 45.829655][ T416] ------------[ cut here ]------------
[ 45.829831][ T416] refcount_t: underflow; use-after-free.
[ 45.830124][ T416] WARNING: CPU: 3 PID: 416 at lib/refcount.c:28 refcount_warn_saturate+0x16f/0x1b0
[ 45.830495][ T416] Modules linked in: ip_gre gre 8021q vrf veth
[ 45.830761][ T416] CPU: 3 UID: 0 PID: 416 Comm: ip Tainted: G B 6.18.0-rc4-virtme #1 PREEMPT(full)
[ 45.831996][ T416] Tainted: [B]=BAD_PAGE
[ 45.832159][ T416] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 45.832573][ T416] RIP: 0010:refcount_warn_saturate+0x16f/0x1b0
[ 45.832818][ T416] 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 c5 ad 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
[ 45.833540][ T416] RSP: 0018:ffffc90000a371f0 EFLAGS: 00010286
[ 45.833867][ T416] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 45.834140][ T416] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001
[ 45.834547][ T416] RBP: 0000000000000003 R08: 0000000000000000 R09: fffffbfff5cbe134
[ 45.834825][ T416] R10: 0000000000000003 R11: ffffc90000a36d80 R12: 0000000000000001
[ 45.835217][ T416] R13: dffffc0000000000 R14: dead000000000122 R15: dead000000000100
[ 45.835528][ T416] FS: 00007f4137d07800(0000) GS:ffff888086972000(0000) knlGS:0000000000000000
[ 45.835855][ T416] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 45.836095][ T416] CR2: 00000000004e7410 CR3: 000000000ba85005 CR4: 0000000000772ef0
[ 45.836401][ T416] PKRU: 55555554
[ 45.836544][ T416] Call Trace:
[ 45.836680][ T416]
[ 45.836772][ T416] netdev_run_todo+0x5f0/0xc60
[ 45.836960][ T416] ? dev_ingress_queue_create+0x190/0x190
[ 45.837164][ T416] ? generic_xdp_install+0x410/0x410
[ 45.837347][ T416] ? unregister_netdevice_many+0x20/0x20
[ 45.837536][ T416] ? net_generic+0xb1/0x1f0
[ 45.837722][ T416] ? net_generic+0xbb/0x1f0
[ 45.837899][ T416] rtnl_dellink+0x350/0xa30
[ 45.838190][ T416] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 45.838451][ T416] ? find_held_lock+0x2b/0x80
[ 45.838636][ T416] ? __lock_acquire+0x449/0x7e0
[ 45.838827][ T416] ? find_held_lock+0x2b/0x80
[ 45.839001][ T416] ? rtnetlink_rcv_msg+0x6e6/0xc00
[ 45.839201][ T416] ? __lock_release+0x5d/0x170
[ 45.839390][ T416] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 45.839737][ T416] rtnetlink_rcv_msg+0x709/0xc00
[ 45.839923][ T416] ? rtnl_port_fill+0x850/0x850
[ 45.840165][ T416] ? __lock_acquire+0x449/0x7e0
[ 45.840455][ T416] netlink_rcv_skb+0x121/0x340
[ 45.840720][ T416] ? rtnl_port_fill+0x850/0x850
[ 45.841123][ T416] ? netlink_ack+0xdd0/0xdd0
[ 45.841385][ T416] ? netlink_deliver_tap+0x13e/0x340
[ 45.841766][ T416] ? netlink_deliver_tap+0xc3/0x340
[ 45.842056][ T416] netlink_unicast+0x4aa/0x780
[ 45.842472][ T416] ? netlink_attachskb+0x810/0x810
[ 45.842763][ T416] ? __lock_acquire+0x449/0x7e0
[ 45.843227][ T416] netlink_sendmsg+0x714/0xbd0
[ 45.843536][ T416] ? netlink_unicast+0x780/0x780
[ 45.843813][ T416] ? __import_iovec+0x230/0x3b0
[ 45.844106][ T416] ? netlink_unicast+0x780/0x780
[ 45.844595][ T416] ____sys_sendmsg+0x3dd/0x890
[ 45.844895][ T416] ? get_timestamp.constprop.0+0x380/0x380
[ 45.845264][ T416] ? __copy_msghdr+0x3c0/0x3c0
[ 45.845547][ T416] ___sys_sendmsg+0xed/0x170
[ 45.846003][ T416] ? kasan_record_aux_stack+0x8c/0xa0
[ 45.846316][ T416] ? __call_rcu_common.constprop.0+0xa8/0x630
[ 45.846666][ T416] ? copy_msghdr_from_user+0x110/0x110
[ 45.846951][ T416] ? find_held_lock+0x2b/0x80
[ 45.847460][ T416] ? __lock_acquire+0x449/0x7e0
[ 45.847767][ T416] ? find_held_lock+0x2b/0x80
[ 45.848062][ T416] ? __virt_addr_valid+0x22a/0x450
[ 45.848379][ T416] ? __lock_release+0x5d/0x170
[ 45.848862][ T416] __sys_sendmsg+0x10b/0x1a0
[ 45.849164][ T416] ? __call_rcu_common.constprop.0+0x318/0x630
[ 45.849539][ T416] ? __sys_sendmsg_sock+0x20/0x20
[ 45.849839][ T416] ? rcu_is_watching+0x12/0xb0
[ 45.850342][ T416] do_syscall_64+0xc1/0xfd0
[ 45.850643][ T416] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 45.851018][ T416] RIP: 0033:0x7f4137ed51d7
[ 45.851346][ T416] 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
[ 45.852420][ T416] RSP: 002b:00007ffc6002a198 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 45.853059][ T416] RAX: ffffffffffffffda RBX: 00007ffc6002a8c0 RCX: 00007f4137ed51d7
[ 45.853491][ T416] RDX: 0000000000000000 RSI: 00007ffc6002a200 RDI: 0000000000000005
[ 45.854117][ T416] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078
[ 45.854606][ T416] R10: 00007f4137dd1f60 R11: 0000000000000246 R12: 0000000000000002
[ 45.855050][ T416] R13: 00000000690deeda R14: 0000000000499600 R15: 0000000000000000
[ 45.855515][ T416]
[ 45.855755][ T416] irq event stamp: 35383
[ 45.855981][ T416] hardirqs last enabled at (35383): [] __schedule+0x13c7/0x1b10
[ 45.856694][ T416] hardirqs last disabled at (35382): [] __schedule+0x94a/0x1b10
[ 45.857250][ T416] softirqs last enabled at (35104): [] handle_softirqs+0x352/0x610
[ 45.857767][ T416] softirqs last disabled at (35093): [] irq_exit_rcu+0xab/0x100
[ 45.858459][ T416] ---[ end trace 0000000000000000 ]---