[ 17.212109][ T250] ip (250) used greatest stack depth: 24128 bytes left
[ 25.864494][ T331] 8021q: 802.1Q VLAN Support v1.8
[ 26.616585][ T337] gre: GRE over IPv4 demultiplexer driver
[ 26.642686][ T337] ip_gre: GRE over IPv4 tunneling driver
[ 44.261722][ T439] ==================================================================
[ 44.262213][ T439] BUG: KASAN: slab-use-after-free in kobject_put+0xbb/0xd0
[ 44.262680][ T439] Read of size 1 at addr ffff888007da16ac by task ip/439
[ 44.263035][ T439]
[ 44.263198][ T439] CPU: 2 UID: 0 PID: 439 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(full)
[ 44.263206][ T439] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 44.263210][ T439] Call Trace:
[ 44.263216][ T439]
[ 44.263219][ T439] dump_stack_lvl+0x82/0xc0
[ 44.263230][ T439] print_address_description.constprop.0+0x2c/0x3a0
[ 44.263240][ T439] ? kobject_put+0xbb/0xd0
[ 44.263246][ T439] print_report+0xb4/0x270
[ 44.263252][ T439] ? kobject_put+0xbb/0xd0
[ 44.263257][ T439] ? kasan_addr_to_slab+0x21/0x70
[ 44.263262][ T439] ? kobject_put+0xbb/0xd0
[ 44.263267][ T439] kasan_report+0xca/0x100
[ 44.263274][ T439] ? kobject_put+0xbb/0xd0
[ 44.263284][ T439] kobject_put+0xbb/0xd0
[ 44.263290][ T439] netdev_run_todo+0x5f0/0xc60
[ 44.263299][ T439] ? dev_ingress_queue_create+0x190/0x190
[ 44.263304][ T439] ? generic_xdp_install+0x410/0x410
[ 44.263308][ T439] ? unregister_netdevice_many+0x20/0x20
[ 44.263312][ T439] ? net_generic+0xb1/0x1f0
[ 44.263325][ T439] ? net_generic+0xbb/0x1f0
[ 44.263333][ T439] rtnl_dellink+0x350/0xa30
[ 44.263343][ T439] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 44.263380][ T439] ? find_held_lock+0x2b/0x80
[ 44.263392][ T439] ? __lock_acquire+0x449/0x7e0
[ 44.263404][ T439] ? find_held_lock+0x2b/0x80
[ 44.263410][ T439] ? rtnetlink_rcv_msg+0x6e6/0xc00
[ 44.263415][ T439] ? __lock_release+0x5d/0x170
[ 44.263423][ T439] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 44.263428][ T439] rtnetlink_rcv_msg+0x709/0xc00
[ 44.263435][ T439] ? rtnl_port_fill+0x850/0x850
[ 44.263440][ T439] ? __lock_acquire+0x449/0x7e0
[ 44.263453][ T439] netlink_rcv_skb+0x121/0x340
[ 44.263460][ T439] ? rtnl_port_fill+0x850/0x850
[ 44.263466][ T439] ? netlink_ack+0xdd0/0xdd0
[ 44.263478][ T439] ? netlink_deliver_tap+0x13e/0x340
[ 44.263483][ T439] ? netlink_deliver_tap+0xc3/0x340
[ 44.263491][ T439] netlink_unicast+0x4aa/0x780
[ 44.263499][ T439] ? netlink_attachskb+0x810/0x810
[ 44.263505][ T439] ? __lock_acquire+0x449/0x7e0
[ 44.263516][ T439] netlink_sendmsg+0x714/0xbd0
[ 44.263524][ T439] ? netlink_unicast+0x780/0x780
[ 44.263531][ T439] ? __import_iovec+0x230/0x3b0
[ 44.263541][ T439] ? netlink_unicast+0x780/0x780
[ 44.263547][ T439] ____sys_sendmsg+0x3dd/0x890
[ 44.263557][ T439] ? get_timestamp.constprop.0+0x380/0x380
[ 44.263562][ T439] ? __copy_msghdr+0x3c0/0x3c0
[ 44.263577][ T439] ___sys_sendmsg+0xed/0x170
[ 44.263582][ T439] ? kasan_record_aux_stack+0x8c/0xa0
[ 44.263587][ T439] ? __call_rcu_common.constprop.0+0xa8/0x630
[ 44.263599][ T439] ? copy_msghdr_from_user+0x110/0x110
[ 44.263607][ T439] ? find_held_lock+0x2b/0x80
[ 44.263616][ T439] ? __lock_acquire+0x449/0x7e0
[ 44.263626][ T439] ? find_held_lock+0x2b/0x80
[ 44.263632][ T439] ? __virt_addr_valid+0x22a/0x450
[ 44.263641][ T439] ? __lock_release+0x5d/0x170
[ 44.263652][ T439] __sys_sendmsg+0x10b/0x1a0
[ 44.263658][ T439] ? __call_rcu_common.constprop.0+0x318/0x630
[ 44.263663][ T439] ? __sys_sendmsg_sock+0x20/0x20
[ 44.263677][ T439] ? rcu_is_watching+0x12/0xb0
[ 44.263684][ T439] do_syscall_64+0xc1/0xfd0
[ 44.263694][ T439] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 44.263702][ T439] RIP: 0033:0x7fb5a35b31d7
[ 44.263710][ T439] 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
[ 44.263716][ T439] RSP: 002b:00007ffc032c9318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 44.263723][ T439] RAX: ffffffffffffffda RBX: 00007ffc032c9a40 RCX: 00007fb5a35b31d7
[ 44.263727][ T439] RDX: 0000000000000000 RSI: 00007ffc032c9380 RDI: 0000000000000005
[ 44.263730][ T439] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078
[ 44.263733][ T439] R10: 00007fb5a34aff60 R11: 0000000000000246 R12: 0000000000000002
[ 44.263736][ T439] R13: 00000000690deef4 R14: 0000000000499600 R15: 0000000000000000
[ 44.263749][ T439]
[ 44.263752][ T439]
[ 44.284799][ T439] Allocated by task 371:
[ 44.285022][ T439] kasan_save_stack+0x24/0x40
[ 44.285322][ T439] kasan_save_track+0x14/0x30
[ 44.285607][ T439] __kasan_kmalloc+0x7b/0x90
[ 44.285892][ T439] __kvmalloc_node_noprof+0x2e5/0x8e0
[ 44.286196][ T439] alloc_netdev_mqs+0x7d/0x1370
[ 44.286499][ T439] rtnl_create_link+0xa9e/0xe20
[ 44.286782][ T439] rtnl_newlink_create+0x203/0x770
[ 44.287046][ T439] __rtnl_newlink+0x231/0xa30
[ 44.287333][ T439] rtnl_newlink+0x693/0xa60
[ 44.287622][ T439] rtnetlink_rcv_msg+0x709/0xc00
[ 44.287887][ T439] netlink_rcv_skb+0x121/0x340
[ 44.288157][ T439] netlink_unicast+0x4aa/0x780
[ 44.288437][ T439] netlink_sendmsg+0x714/0xbd0
[ 44.288704][ T439] ____sys_sendmsg+0x3dd/0x890
[ 44.288949][ T439] ___sys_sendmsg+0xed/0x170
[ 44.289230][ T439] __sys_sendmsg+0x10b/0x1a0
[ 44.289509][ T439] do_syscall_64+0xc1/0xfd0
[ 44.289794][ T439] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 44.290155][ T439]
[ 44.290317][ T439] Freed by task 439:
[ 44.290527][ T439] kasan_save_stack+0x24/0x40
[ 44.290820][ T439] kasan_save_track+0x14/0x30
[ 44.291095][ T439] __kasan_save_free_info+0x3b/0x60
[ 44.291381][ T439] __kasan_slab_free+0x3f/0x60
[ 44.291661][ T439] kfree+0x21d/0x540
[ 44.291900][ T439] device_release+0x9c/0x210
[ 44.292184][ T439] kobject_cleanup+0xfe/0x360
[ 44.292489][ T439] netdev_run_todo+0x81f/0xc60
[ 44.292823][ T439] rtnl_dellink+0x350/0xa30
[ 44.293105][ T439] rtnetlink_rcv_msg+0x709/0xc00
[ 44.293377][ T439] netlink_rcv_skb+0x121/0x340
[ 44.293658][ T439] netlink_unicast+0x4aa/0x780
[ 44.293946][ T439] netlink_sendmsg+0x714/0xbd0
[ 44.294230][ T439] ____sys_sendmsg+0x3dd/0x890
[ 44.294510][ T439] ___sys_sendmsg+0xed/0x170
[ 44.294790][ T439] __sys_sendmsg+0x10b/0x1a0
[ 44.295094][ T439] do_syscall_64+0xc1/0xfd0
[ 44.295383][ T439] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 44.295739][ T439]
[ 44.295886][ T439] The buggy address belongs to the object at ffff888007da1000
[ 44.295886][ T439] which belongs to the cache kmalloc-4k of size 4096
[ 44.296564][ T439] The buggy address is located 1708 bytes inside of
[ 44.296564][ T439] freed 4096-byte region [ffff888007da1000, ffff888007da2000)
[ 44.297280][ T439]
[ 44.297430][ T439] The buggy address belongs to the physical page:
[ 44.297816][ T439] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x7da0
[ 44.298360][ T439] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
[ 44.298793][ T439] flags: 0x80000000000040(head|node=0|zone=1)
[ 44.299199][ T439] page_type: f5(slab)
[ 44.299425][ T439] raw: 0080000000000040 ffff888001043700 ffffea0000221810 ffffea00001f3a10
[ 44.299975][ T439] raw: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
[ 44.300497][ T439] head: 0080000000000040 ffff888001043700 ffffea0000221810 ffffea00001f3a10
[ 44.301050][ T439] head: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
[ 44.301574][ T439] head: 0080000000000003 ffffea00001f6801 00000000ffffffff 00000000ffffffff
[ 44.302121][ T439] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[ 44.302657][ T439] page dumped because: kasan: bad access detected
[ 44.303019][ T439]
[ 44.303182][ T439] Memory state around the buggy address:
[ 44.303484][ T439] ffff888007da1580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 44.303914][ T439] ffff888007da1600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 44.304335][ T439] >ffff888007da1680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 44.304751][ T439] ^
[ 44.305051][ T439] ffff888007da1700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 44.305490][ T439] ffff888007da1780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 44.305899][ T439] ==================================================================
[ 44.306395][ T439] Disabling lock debugging due to kernel taint
[ 44.306932][ T439] ------------[ cut here ]------------
[ 44.307299][ T439] refcount_t: underflow; use-after-free.
[ 44.307641][ T439] WARNING: CPU: 2 PID: 439 at lib/refcount.c:28 refcount_warn_saturate+0x16f/0x1b0
[ 44.309228][ T439] Modules linked in: ip_gre gre 8021q dummy vrf veth
[ 44.309684][ T439] CPU: 2 UID: 0 PID: 439 Comm: ip Tainted: G B 6.18.0-rc4-virtme #1 PREEMPT(full)
[ 44.310287][ T439] Tainted: [B]=BAD_PAGE
[ 44.310530][ T439] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 44.310890][ T439] RIP: 0010:refcount_warn_saturate+0x16f/0x1b0
[ 44.311317][ T439] 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 e5 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
[ 44.312328][ T439] RSP: 0018:ffffc90000a571f0 EFLAGS: 00010286
[ 44.312714][ T439] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 44.313146][ T439] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001
[ 44.313624][ T439] RBP: 0000000000000003 R08: 0000000000000000 R09: fffffbfff6afe134
[ 44.314084][ T439] R10: 0000000000000003 R11: ffffc90000a56d80 R12: 0000000000000001
[ 44.314554][ T439] R13: dffffc0000000000 R14: dead000000000122 R15: dead000000000100
[ 44.314996][ T439] FS: 00007fb5a33e5800(0000) GS:ffff88807f6f2000(0000) knlGS:0000000000000000
[ 44.315312][ T439] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 44.315565][ T439] CR2: 00000000004e7438 CR3: 000000000532e001 CR4: 0000000000772ef0
[ 44.315846][ T439] PKRU: 55555554
[ 44.316004][ T439] Call Trace:
[ 44.316150][ T439]
[ 44.316268][ T439] netdev_run_todo+0x5f0/0xc60
[ 44.316466][ T439] ? dev_ingress_queue_create+0x190/0x190
[ 44.316664][ T439] ? generic_xdp_install+0x410/0x410
[ 44.316845][ T439] ? unregister_netdevice_many+0x20/0x20
[ 44.317026][ T439] ? net_generic+0xb1/0x1f0
[ 44.317224][ T439] ? net_generic+0xbb/0x1f0
[ 44.317416][ T439] rtnl_dellink+0x350/0xa30
[ 44.317697][ T439] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 44.317928][ T439] ? find_held_lock+0x2b/0x80
[ 44.318114][ T439] ? __lock_acquire+0x449/0x7e0
[ 44.318309][ T439] ? find_held_lock+0x2b/0x80
[ 44.318588][ T439] ? rtnetlink_rcv_msg+0x6e6/0xc00
[ 44.318785][ T439] ? __lock_release+0x5d/0x170
[ 44.318968][ T439] ? valid_bridge_getlink_req.constprop.0+0x640/0x640
[ 44.319188][ T439] rtnetlink_rcv_msg+0x709/0xc00
[ 44.319471][ T439] ? rtnl_port_fill+0x850/0x850
[ 44.319658][ T439] ? __lock_acquire+0x449/0x7e0
[ 44.319844][ T439] netlink_rcv_skb+0x121/0x340
[ 44.320025][ T439] ? rtnl_port_fill+0x850/0x850
[ 44.320321][ T439] ? netlink_ack+0xdd0/0xdd0
[ 44.320515][ T439] ? netlink_deliver_tap+0x13e/0x340
[ 44.320701][ T439] ? netlink_deliver_tap+0xc3/0x340
[ 44.320883][ T439] netlink_unicast+0x4aa/0x780
[ 44.321181][ T439] ? netlink_attachskb+0x810/0x810
[ 44.321374][ T439] ? __lock_acquire+0x449/0x7e0
[ 44.321563][ T439] netlink_sendmsg+0x714/0xbd0
[ 44.321750][ T439] ? netlink_unicast+0x780/0x780
[ 44.322035][ T439] ? __import_iovec+0x230/0x3b0
[ 44.322227][ T439] ? netlink_unicast+0x780/0x780
[ 44.322425][ T439] ____sys_sendmsg+0x3dd/0x890
[ 44.322616][ T439] ? get_timestamp.constprop.0+0x380/0x380
[ 44.322940][ T439] ? __copy_msghdr+0x3c0/0x3c0
[ 44.323139][ T439] ___sys_sendmsg+0xed/0x170
[ 44.323338][ T439] ? kasan_record_aux_stack+0x8c/0xa0
[ 44.323621][ T439] ? __call_rcu_common.constprop.0+0xa8/0x630
[ 44.323896][ T439] ? copy_msghdr_from_user+0x110/0x110
[ 44.324081][ T439] ? find_held_lock+0x2b/0x80
[ 44.324275][ T439] ? __lock_acquire+0x449/0x7e0
[ 44.324602][ T439] ? find_held_lock+0x2b/0x80
[ 44.324804][ T439] ? __virt_addr_valid+0x22a/0x450
[ 44.325056][ T439] ? __lock_release+0x5d/0x170
[ 44.325277][ T439] __sys_sendmsg+0x10b/0x1a0
[ 44.325596][ T439] ? __call_rcu_common.constprop.0+0x318/0x630
[ 44.325844][ T439] ? __sys_sendmsg_sock+0x20/0x20
[ 44.326052][ T439] ? rcu_is_watching+0x12/0xb0
[ 44.326270][ T439] do_syscall_64+0xc1/0xfd0
[ 44.326590][ T439] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 44.326836][ T439] RIP: 0033:0x7fb5a35b31d7
[ 44.327051][ T439] 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
[ 44.327747][ T439] RSP: 002b:00007ffc032c9318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 44.328041][ T439] RAX: ffffffffffffffda RBX: 00007ffc032c9a40 RCX: 00007fb5a35b31d7
[ 44.328456][ T439] RDX: 0000000000000000 RSI: 00007ffc032c9380 RDI: 0000000000000005
[ 44.328761][ T439] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078
[ 44.329160][ T439] R10: 00007fb5a34aff60 R11: 0000000000000246 R12: 0000000000000002
[ 44.329456][ T439] R13: 00000000690deef4 R14: 0000000000499600 R15: 0000000000000000
[ 44.329761][ T439]
[ 44.330014][ T439] irq event stamp: 47023
[ 44.330224][ T439] hardirqs last enabled at (47023): [] __schedule+0x13c7/0x1b10
[ 44.330578][ T439] hardirqs last disabled at (47022): [] __schedule+0x94a/0x1b10
[ 44.331008][ T439] softirqs last enabled at (46946): [] handle_softirqs+0x352/0x610
[ 44.331335][ T439] softirqs last disabled at (46941): [] irq_exit_rcu+0xab/0x100
[ 44.331665][ T439] ---[ end trace 0000000000000000 ]---