[ 17.389530][ T234] netdevsim netdevsim145 eni145np1: renamed from eth0 [ 18.627701][ T70] netdevsim netdevsim145 eni145np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 19.546537][ T70] netdevsim netdevsim145 eni145np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 19.879075][ T70] netdevsim netdevsim145 eni145np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 21.245449][ T70] netdevsim netdevsim145 eni145np1: set [0, 1] type 1 family 0 port 4790 - 0 [ 22.072652][ T249] netdevsim netdevsim145 eni145np1: set [1, 0] type 2 family 0 port 6081 - 0 [ 23.865926][ T327] ================================================================== [ 23.866404][ T327] BUG: KASAN: slab-use-after-free in kobject_put+0xbb/0xd0 [ 23.866849][ T327] Read of size 1 at addr ffff888005b2268c by task ip/327 [ 23.867165][ T327] [ 23.867318][ T327] CPU: 3 UID: 0 PID: 327 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(full) [ 23.867325][ T327] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.867328][ T327] Call Trace: [ 23.867331][ T327] [ 23.867334][ T327] dump_stack_lvl+0x82/0xc0 [ 23.867341][ T327] print_address_description.constprop.0+0x2c/0x3a0 [ 23.867351][ T327] ? kobject_put+0xbb/0xd0 [ 23.867356][ T327] print_report+0xb4/0x270 [ 23.867361][ T327] ? kobject_put+0xbb/0xd0 [ 23.867366][ T327] ? kasan_addr_to_slab+0x21/0x70 [ 23.867371][ T327] ? kobject_put+0xbb/0xd0 [ 23.867375][ T327] kasan_report+0xca/0x100 [ 23.867381][ T327] ? kobject_put+0xbb/0xd0 [ 23.867390][ T327] kobject_put+0xbb/0xd0 [ 23.867394][ T327] netdev_run_todo+0x5f0/0xc60 [ 23.867402][ T327] ? dev_ingress_queue_create+0x190/0x190 [ 23.867406][ T327] ? generic_xdp_install+0x410/0x410 [ 23.867413][ T327] ? __lock_acquire+0x449/0x7e0 [ 23.867421][ T327] rtnl_dellink+0x350/0xa30 [ 23.867428][ T327] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 23.867461][ T327] ? find_held_lock+0x2b/0x80 [ 23.867467][ T327] ? __lock_acquire+0x449/0x7e0 [ 23.867476][ T327] ? find_held_lock+0x2b/0x80 [ 23.867481][ T327] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 23.867484][ T327] ? __lock_release+0x5d/0x170 [ 23.867491][ T327] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 23.867497][ T327] rtnetlink_rcv_msg+0x709/0xc00 [ 23.867503][ T327] ? rtnl_port_fill+0x850/0x850 [ 23.867507][ T327] ? __lock_acquire+0x449/0x7e0 [ 23.867518][ T327] netlink_rcv_skb+0x121/0x340 [ 23.867523][ T327] ? rtnl_port_fill+0x850/0x850 [ 23.867529][ T327] ? netlink_ack+0xdd0/0xdd0 [ 23.867540][ T327] ? netlink_deliver_tap+0x13e/0x340 [ 23.867545][ T327] ? netlink_deliver_tap+0xc3/0x340 [ 23.867551][ T327] netlink_unicast+0x4aa/0x780 [ 23.867558][ T327] ? netlink_attachskb+0x810/0x810 [ 23.867565][ T327] ? __lock_acquire+0x449/0x7e0 [ 23.867572][ T327] netlink_sendmsg+0x714/0xbd0 [ 23.867580][ T327] ? netlink_unicast+0x780/0x780 [ 23.867586][ T327] ? __import_iovec+0x230/0x3b0 [ 23.867593][ T327] ? netlink_unicast+0x780/0x780 [ 23.867598][ T327] ____sys_sendmsg+0x3dd/0x890 [ 23.867605][ T327] ? get_timestamp.constprop.0+0x380/0x380 [ 23.867610][ T327] ? __copy_msghdr+0x3c0/0x3c0 [ 23.867621][ T327] ___sys_sendmsg+0xed/0x170 [ 23.867624][ T327] ? kasan_record_aux_stack+0x8c/0xa0 [ 23.867628][ T327] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 23.867634][ T327] ? copy_msghdr_from_user+0x110/0x110 [ 23.867640][ T327] ? find_held_lock+0x2b/0x80 [ 23.867647][ T327] ? __lock_acquire+0x449/0x7e0 [ 23.867655][ T327] ? find_held_lock+0x2b/0x80 [ 23.867660][ T327] ? __virt_addr_valid+0x22a/0x450 [ 23.867666][ T327] ? __lock_release+0x5d/0x170 [ 23.867675][ T327] __sys_sendmsg+0x10b/0x1a0 [ 23.867678][ T327] ? __call_rcu_common.constprop.0+0x318/0x630 [ 23.867683][ T327] ? __sys_sendmsg_sock+0x20/0x20 [ 23.867695][ T327] ? rcu_is_watching+0x12/0xb0 [ 23.867701][ T327] do_syscall_64+0xc1/0xfd0 [ 23.867708][ T327] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.867713][ T327] RIP: 0033:0x7f2eba0161d7 [ 23.867720][ T327] 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 [ 23.867724][ T327] RSP: 002b:00007ffdff69a808 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 23.867730][ T327] RAX: ffffffffffffffda RBX: 00007ffdff69af30 RCX: 00007f2eba0161d7 [ 23.867733][ T327] RDX: 0000000000000000 RSI: 00007ffdff69a870 RDI: 0000000000000005 [ 23.867735][ T327] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078 [ 23.867738][ T327] R10: 00007f2eb9f12f60 R11: 0000000000000246 R12: 0000000000000002 [ 23.867740][ T327] R13: 00000000690de675 R14: 0000000000499600 R15: 0000000000000000 [ 23.867751][ T327] [ 23.867753][ T327] [ 23.886890][ T327] Allocated by task 245: [ 23.887085][ T327] kasan_save_stack+0x24/0x40 [ 23.887352][ T327] kasan_save_track+0x14/0x30 [ 23.887620][ T327] __kasan_kmalloc+0x7b/0x90 [ 23.887882][ T327] __kvmalloc_node_noprof+0x2e5/0x8e0 [ 23.888150][ T327] alloc_netdev_mqs+0x7d/0x1310 [ 23.888409][ T327] rtnl_create_link+0xa9e/0xe20 [ 23.888672][ T327] rtnl_newlink_create+0x203/0x8f0 [ 23.888929][ T327] __rtnl_newlink+0x231/0xa30 [ 23.889190][ T327] rtnl_newlink+0x693/0xa60 [ 23.889444][ T327] rtnetlink_rcv_msg+0x709/0xc00 [ 23.889705][ T327] netlink_rcv_skb+0x121/0x340 [ 23.889975][ T327] netlink_unicast+0x4aa/0x780 [ 23.890239][ T327] netlink_sendmsg+0x714/0xbd0 [ 23.890496][ T327] ____sys_sendmsg+0x3dd/0x890 [ 23.890756][ T327] ___sys_sendmsg+0xed/0x170 [ 23.891025][ T327] __sys_sendmsg+0x10b/0x1a0 [ 23.891286][ T327] do_syscall_64+0xc1/0xfd0 [ 23.891545][ T327] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.891872][ T327] [ 23.892015][ T327] Freed by task 327: [ 23.892216][ T327] kasan_save_stack+0x24/0x40 [ 23.892490][ T327] kasan_save_track+0x14/0x30 [ 23.892752][ T327] __kasan_save_free_info+0x3b/0x60 [ 23.893009][ T327] __kasan_slab_free+0x3f/0x60 [ 23.893269][ T327] kfree+0x21d/0x540 [ 23.893467][ T327] device_release+0x9c/0x210 [ 23.893728][ T327] kobject_cleanup+0xfe/0x360 [ 23.893990][ T327] netdev_run_todo+0x81f/0xc60 [ 23.894252][ T327] rtnl_dellink+0x350/0xa30 [ 23.894507][ T327] rtnetlink_rcv_msg+0x709/0xc00 [ 23.894766][ T327] netlink_rcv_skb+0x121/0x340 [ 23.895024][ T327] netlink_unicast+0x4aa/0x780 [ 23.895281][ T327] netlink_sendmsg+0x714/0xbd0 [ 23.895538][ T327] ____sys_sendmsg+0x3dd/0x890 [ 23.895792][ T327] ___sys_sendmsg+0xed/0x170 [ 23.896064][ T327] __sys_sendmsg+0x10b/0x1a0 [ 23.896320][ T327] do_syscall_64+0xc1/0xfd0 [ 23.896577][ T327] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.896897][ T327] [ 23.897029][ T327] Last potentially related work creation: [ 23.897285][ T327] kasan_save_stack+0x24/0x40 [ 23.897550][ T327] kasan_record_aux_stack+0x8c/0xa0 [ 23.897810][ T327] insert_work+0x34/0x230 [ 23.898016][ T327] __queue_work+0x5fd/0xab0 [ 23.898282][ T327] queue_work_on+0x84/0x90 [ 23.898546][ T327] vxlan_fdb_destroy+0x8e0/0xfb0 [vxlan] [ 23.898850][ T327] vxlan_flush+0x6fa/0xc50 [vxlan] [ 23.899130][ T327] vxlan_dellink+0x9d/0x2e0 [vxlan] [ 23.899407][ T327] rtnl_dellink+0x334/0xa30 [ 23.899670][ T327] rtnetlink_rcv_msg+0x709/0xc00 [ 23.899943][ T327] netlink_rcv_skb+0x121/0x340 [ 23.900206][ T327] netlink_unicast+0x4aa/0x780 [ 23.900471][ T327] netlink_sendmsg+0x714/0xbd0 [ 23.900739][ T327] ____sys_sendmsg+0x3dd/0x890 [ 23.901015][ T327] ___sys_sendmsg+0xed/0x170 [ 23.901281][ T327] __sys_sendmsg+0x10b/0x1a0 [ 23.901555][ T327] do_syscall_64+0xc1/0xfd0 [ 23.901824][ T327] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.902165][ T327] [ 23.902303][ T327] The buggy address belongs to the object at ffff888005b22000 [ 23.902303][ T327] which belongs to the cache kmalloc-8k of size 8192 [ 23.902931][ T327] The buggy address is located 1676 bytes inside of [ 23.902931][ T327] freed 8192-byte region [ffff888005b22000, ffff888005b24000) [ 23.903569][ T327] [ 23.903711][ T327] The buggy address belongs to the physical page: [ 23.904041][ T327] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x5b20 [ 23.904509][ T327] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 23.904905][ T327] flags: 0x80000000000040(head|node=0|zone=1) [ 23.905237][ T327] page_type: f5(slab) [ 23.905451][ T327] raw: 0080000000000040 ffff8880010438c0 ffffea000013e810 ffffea00002afc10 [ 23.905936][ T327] raw: 0000000000000000 0000000000010001 00000000f5000000 0000000000000000 [ 23.906406][ T327] head: 0080000000000040 ffff8880010438c0 ffffea000013e810 ffffea00002afc10 [ 23.906885][ T327] head: 0000000000000000 0000000000010001 00000000f5000000 0000000000000000 [ 23.907520][ T327] head: 0080000000000003 ffffea000016c801 00000000ffffffff 00000000ffffffff [ 23.908004][ T327] head: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 23.908461][ T327] page dumped because: kasan: bad access detected [ 23.908788][ T327] [ 23.908922][ T327] Memory state around the buggy address: [ 23.909184][ T327] ffff888005b22580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 23.909738][ T327] ffff888005b22600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 23.910130][ T327] >ffff888005b22680: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 23.910662][ T327] ^ [ 23.911009][ T327] ffff888005b22700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 23.911385][ T327] ffff888005b22780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 23.911919][ T327] ================================================================== [ 23.912341][ T327] Disabling lock debugging due to kernel taint [ 23.912667][ T327] ------------[ cut here ]------------ [ 23.912914][ T327] refcount_t: underflow; use-after-free. [ 23.913209][ T327] WARNING: CPU: 3 PID: 327 at lib/refcount.c:28 refcount_warn_saturate+0x16f/0x1b0 [ 23.913668][ T327] Modules linked in: geneve vxlan ip6_udp_tunnel udp_tunnel netdevsim [ 23.914244][ T327] CPU: 3 UID: 0 PID: 327 Comm: ip Tainted: G B 6.18.0-rc4-virtme #1 PREEMPT(full) [ 23.914967][ T327] Tainted: [B]=BAD_PAGE [ 23.915175][ T327] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 23.915686][ T327] RIP: 0010:refcount_warn_saturate+0x16f/0x1b0 [ 23.916047][ T327] Code: 10 93 02 80 fb 01 0f 87 8b b8 d9 fe 83 e3 01 0f 85 51 ff ff ff c6 05 fb 0f 93 02 01 90 48 c7 c7 20 8d 25 b3 e8 02 be 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 [ 23.917162][ T327] RSP: 0018:ffffc900008171f0 EFLAGS: 00010286 [ 23.917504][ T327] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 23.917908][ T327] RDX: 0000000000000002 RSI: 0000000000000004 RDI: 0000000000000001 [ 23.918317][ T327] RBP: 0000000000000003 R08: 0000000000000000 R09: fffffbfff677e134 [ 23.918712][ T327] R10: 0000000000000003 R11: ffffc90000816d80 R12: 0000000000000001 [ 23.919104][ T327] R13: dffffc0000000000 R14: dead000000000122 R15: dead000000000100 [ 23.919521][ T327] FS: 00007f2eb9e48800(0000) GS:ffff88808137c000(0000) knlGS:0000000000000000 [ 23.919987][ T327] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 23.920489][ T327] CR2: 00005566dbf9ddec CR3: 0000000008f13003 CR4: 0000000000772ef0 [ 23.921065][ T327] PKRU: 55555554 [ 23.921277][ T327] Call Trace: [ 23.921633][ T327] [ 23.921771][ T327] netdev_run_todo+0x5f0/0xc60 [ 23.922045][ T327] ? dev_ingress_queue_create+0x190/0x190 [ 23.922475][ T327] ? generic_xdp_install+0x410/0x410 [ 23.922739][ T327] ? __lock_acquire+0x449/0x7e0 [ 23.923009][ T327] rtnl_dellink+0x350/0xa30 [ 23.923274][ T327] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 23.923612][ T327] ? find_held_lock+0x2b/0x80 [ 23.923871][ T327] ? __lock_acquire+0x449/0x7e0 [ 23.924296][ T327] ? find_held_lock+0x2b/0x80 [ 23.924546][ T327] ? rtnetlink_rcv_msg+0x6e6/0xc00 [ 23.924794][ T327] ? __lock_release+0x5d/0x170 [ 23.925038][ T327] ? valid_bridge_getlink_req.constprop.0+0x640/0x640 [ 23.925356][ T327] rtnetlink_rcv_msg+0x709/0xc00 [ 23.925608][ T327] ? rtnl_port_fill+0x850/0x850 [ 23.925855][ T327] ? __lock_acquire+0x449/0x7e0 [ 23.926119][ T327] netlink_rcv_skb+0x121/0x340 [ 23.926386][ T327] ? rtnl_port_fill+0x850/0x850 [ 23.926643][ T327] ? netlink_ack+0xdd0/0xdd0 [ 23.926905][ T327] ? netlink_deliver_tap+0x13e/0x340 [ 23.927165][ T327] ? netlink_deliver_tap+0xc3/0x340 [ 23.927430][ T327] netlink_unicast+0x4aa/0x780 [ 23.927690][ T327] ? netlink_attachskb+0x810/0x810 [ 23.927951][ T327] ? __lock_acquire+0x449/0x7e0 [ 23.928236][ T327] netlink_sendmsg+0x714/0xbd0 [ 23.928657][ T327] ? netlink_unicast+0x780/0x780 [ 23.928917][ T327] ? __import_iovec+0x230/0x3b0 [ 23.929178][ T327] ? netlink_unicast+0x780/0x780 [ 23.929447][ T327] ____sys_sendmsg+0x3dd/0x890 [ 23.929852][ T327] ? get_timestamp.constprop.0+0x380/0x380 [ 23.930161][ T327] ? __copy_msghdr+0x3c0/0x3c0 [ 23.930426][ T327] ___sys_sendmsg+0xed/0x170 [ 23.930681][ T327] ? kasan_record_aux_stack+0x8c/0xa0 [ 23.931088][ T327] ? __call_rcu_common.constprop.0+0xa8/0x630 [ 23.931410][ T327] ? copy_msghdr_from_user+0x110/0x110 [ 23.931661][ T327] ? find_held_lock+0x2b/0x80 [ 23.932057][ T327] ? __lock_acquire+0x449/0x7e0 [ 23.932318][ T327] ? find_held_lock+0x2b/0x80 [ 23.932566][ T327] ? __virt_addr_valid+0x22a/0x450 [ 23.932823][ T327] ? __lock_release+0x5d/0x170 [ 23.933232][ T327] __sys_sendmsg+0x10b/0x1a0 [ 23.933479][ T327] ? __call_rcu_common.constprop.0+0x318/0x630 [ 23.933788][ T327] ? __sys_sendmsg_sock+0x20/0x20 [ 23.934042][ T327] ? rcu_is_watching+0x12/0xb0 [ 23.934302][ T327] do_syscall_64+0xc1/0xfd0 [ 23.934575][ T327] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 23.934893][ T327] RIP: 0033:0x7f2eba0161d7 [ 23.935157][ T327] 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 [ 23.936225][ T327] RSP: 002b:00007ffdff69a808 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 23.936758][ T327] RAX: ffffffffffffffda RBX: 00007ffdff69af30 RCX: 00007f2eba0161d7 [ 23.937148][ T327] RDX: 0000000000000000 RSI: 00007ffdff69a870 RDI: 0000000000000005 [ 23.937535][ T327] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078 [ 23.938066][ T327] R10: 00007f2eb9f12f60 R11: 0000000000000246 R12: 0000000000000002 [ 23.938449][ T327] R13: 00000000690de675 R14: 0000000000499600 R15: 0000000000000000 [ 23.938989][ T327] [ 23.939175][ T327] irq event stamp: 45875 [ 23.939377][ T327] hardirqs last enabled at (45875): [] irqentry_exit+0x3b/0x80 [ 23.939815][ T327] hardirqs last disabled at (45874): [] handle_softirqs+0x47f/0x610 [ 23.940413][ T327] softirqs last enabled at (45784): [] handle_softirqs+0x352/0x610 [ 23.940852][ T327] softirqs last disabled at (45775): [] irq_exit_rcu+0xab/0x100 [ 23.941455][ T327] ---[ end trace 0000000000000000 ]--- [ 23.953331][ T327] ip (327) used greatest stack depth: 24232 bytes left [ 24.271998][ T70] netdevsim netdevsim145 eni145np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 24.390289][ T70] netdevsim netdevsim145 eni145np1: unset [0, 1] type 1 family 0 port 4790 - 0 [ 24.531141][ T70] netdevsim netdevsim145 eni145np1: unset [1, 0] type 2 family 0 port 6081 - 0 [ 25.327529][ T234] netdevsim netdevsim145 eni145np2: renamed from eth0 [ 26.111795][ T70] netdevsim netdevsim145 eni145np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 26.112409][ T70] netdevsim netdevsim145 eni145np2: set [0, 0] type 1 family 0 port 4789 - 0 [ 26.675574][ T70] netdevsim netdevsim145 eni145np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 26.676259][ T70] netdevsim netdevsim145 eni145np2: unset [0, 0] type 1 family 0 port 4789 - 0 [ 26.908394][ T70] netdevsim netdevsim145 eni145np1: set [0, 0] type 1 family 0 port 4789 - 0 [ 26.909027][ T70] netdevsim netdevsim145 eni145np2: set [0, 0] type 1 family 0 port 4789 - 0 [ 27.807506][ T249] netdevsim netdevsim145 eni145np1: set [0, 1] type 1 family 0 port 4790 - 0 [ 27.808169][ T249] netdevsim netdevsim145 eni145np2: set [0, 1] type 1 family 0 port 4790 - 0 [ 28.322752][ T249] netdevsim netdevsim145 eni145np1: set [1, 0] type 2 family 0 port 6081 - 0 [ 28.323235][ T249] netdevsim netdevsim145 eni145np2: set [1, 0] type 2 family 0 port 6081 - 0 [ 28.702895][ T400] netdevsim netdevsim145 eni145np2: unset [0, 0] type 1 family 0 port 4789 - 0 [ 28.703334][ T400] netdevsim netdevsim145 eni145np2: unset [0, 1] type 1 family 0 port 4790 - 0 [ 28.703726][ T400] netdevsim netdevsim145 eni145np2: unset [1, 0] type 2 family 0 port 6081 - 0 [ 28.793884][ T70] netdevsim netdevsim145 eni145np2: set [0, 0] type 1 family 0 port 4789 - 0 [ 28.794517][ T70] netdevsim netdevsim145 eni145np2: set [0, 1] type 1 family 0 port 4790 - 0 [ 28.795039][ T70] netdevsim netdevsim145 eni145np2: set [1, 0] type 2 family 0 port 6081 - 0 [ 29.476268][ T70] netdevsim netdevsim145 eni145np1: unset [0, 0] type 1 family 0 port 4789 - 0 [ 29.476808][ T70] netdevsim netdevsim145 eni145np2: unset [0, 0] type 1 family 0 port 4789 - 0 [ 29.569433][ T70] netdevsim netdevsim145 eni145np1: unset [0, 1] type 1 family 0 port 4790 - 0 [ 29.569933][ T70] netdevsim netdevsim145 eni145np2: unset [0, 1] type 1 family 0 port 4790 - 0 [ 29.678776][ T70] netdevsim netdevsim145 eni145np1: unset [1, 0] type 2 family 0 port 6081 - 0 [ 29.679358][ T70] netdevsim netdevsim145 eni145np2: unset [1, 0] type 2 family 0 port 6081 - 0 [ 30.366950][ T423] ------------[ cut here ]------------ [ 30.368569][ T423] kernel BUG at net/core/net-sysfs.c:2246! [ 30.368980][ T423] Oops: invalid opcode: 0000 [#1] SMP KASAN [ 30.369372][ T423] CPU: 0 UID: 0 PID: 423 Comm: modprobe Tainted: G B W 6.18.0-rc4-virtme #1 PREEMPT(full) [ 30.370019][ T423] Tainted: [B]=BAD_PAGE, [W]=WARN [ 30.370326][ T423] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 30.370652][ T423] RIP: 0010:netdev_release+0x6f/0x80 [ 30.370904][ T423] Code: 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 20 48 8b bb e0 fa ff ff e8 8c f4 d7 fe 48 89 ef 5b 5d e9 52 01 d8 fe 90 <0f> 0b e8 fa d7 de fe eb bc e8 53 d8 de fe eb d9 90 f3 0f 1e fa 0f [ 30.371666][ T423] RSP: 0018:ffffc90000557a28 EFLAGS: 00010297 [ 30.371939][ T423] RAX: 0000000000000000 RBX: ffff88800c2e2650 RCX: ffffffffb2f02b51 [ 30.372268][ T423] RDX: 1ffff1100185c4c6 RSI: ffffffffb325d540 RDI: ffff88800c2e2630 [ 30.372593][ T423] RBP: ffff88800c2e2000 R08: 0000000000000001 R09: ffffed100185c4d1 [ 30.373057][ T423] R10: ffff88800c2e268b R11: ffffffffb16c9c4c R12: ffff88800a634a00 [ 30.373527][ T423] R13: 0000000000000000 R14: dead000000000122 R15: dead000000000100 [ 30.373989][ T423] FS: 00007f2d06a0f740(0000) GS:ffff8880811fc000(0000) knlGS:0000000000000000 [ 30.374531][ T423] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 30.374923][ T423] CR2: 00007f1885c50270 CR3: 000000000da75004 CR4: 0000000000772ef0 [ 30.375383][ T423] PKRU: 55555554 [ 30.375616][ T423] Call Trace: [ 30.375848][ T423] [ 30.376006][ T423] device_release+0x9c/0x210 [ 30.376318][ T423] kobject_cleanup+0xfe/0x360 [ 30.376630][ T423] netdev_run_todo+0x5f0/0xc60 [ 30.376917][ T423] ? generic_xdp_install+0x410/0x410 [ 30.377125][ T423] ? kfree+0x21d/0x540 [ 30.377286][ T423] nsim_destroy+0x1da/0x730 [netdevsim] [ 30.377508][ T423] __nsim_dev_port_del+0x17e/0x250 [netdevsim] [ 30.377790][ T423] nsim_dev_reload_destroy+0xdc/0x470 [netdevsim] [ 30.378053][ T423] nsim_drv_remove+0x51/0x1d0 [netdevsim] [ 30.378273][ T423] device_release_driver_internal+0x3bb/0x580 [ 30.378533][ T423] ? klist_put+0xb1/0x170 [ 30.378695][ T423] bus_remove_device+0x1ee/0x3f0 [ 30.378902][ T423] device_del+0x33b/0x8c0 [ 30.379064][ T423] ? __device_link_del+0x3c0/0x3c0 [ 30.379275][ T423] device_unregister+0x17/0xa0 [ 30.379487][ T423] nsim_bus_exit+0x1d1/0x350 [netdevsim] [ 30.379727][ T423] nsim_module_exit+0x15/0x1a [netdevsim] [ 30.379939][ T423] __do_sys_delete_module+0x2a7/0x480 [ 30.380151][ T423] ? module_flags+0x300/0x300 [ 30.380367][ T423] ? alloc_file_clone+0xf0/0xf0 [ 30.380674][ T423] ? rcu_is_watching+0x12/0xb0 [ 30.380990][ T423] do_syscall_64+0xc1/0xfd0 [ 30.381299][ T423] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 30.381695][ T423] RIP: 0033:0x7f2d06b3e6eb [ 30.381980][ T423] Code: 73 01 c3 48 8b 0d 0d 97 0e 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d dd 96 0e 00 f7 d8 64 89 01 48 [ 30.382897][ T423] RSP: 002b:00007fffbc489958 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0 [ 30.383290][ T423] RAX: ffffffffffffffda RBX: 000055f8d9e1d960 RCX: 00007f2d06b3e6eb [ 30.383683][ T423] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 000055f8d9e1d9c8 [ 30.384069][ T423] RBP: 000055f8d9e1d960 R08: 0000000000000000 R09: 0000000000000000 [ 30.384456][ T423] R10: 00007f2d06bcdac0 R11: 0000000000000206 R12: 000055f8d9e1d9c8 [ 30.384797][ T423] R13: 0000000000000000 R14: 000055f8d9e1d9c8 R15: 00007fffbc48bc88 [ 30.385111][ T423] [ 30.385266][ T423] Modules linked in: netdevsim(-) [last unloaded: ip6_udp_tunnel] [ 30.385626][ T423] ---[ end trace 0000000000000000 ]--- [ 30.385905][ T423] RIP: 0010:netdev_release+0x6f/0x80 [ 30.386330][ T423] Code: 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 20 48 8b bb e0 fa ff ff e8 8c f4 d7 fe 48 89 ef 5b 5d e9 52 01 d8 fe 90 <0f> 0b e8 fa d7 de fe eb bc e8 53 d8 de fe eb d9 90 f3 0f 1e fa 0f [ 30.387149][ T423] RSP: 0018:ffffc90000557a28 EFLAGS: 00010297 [ 30.387463][ T423] RAX: 0000000000000000 RBX: ffff88800c2e2650 RCX: ffffffffb2f02b51 [ 30.387823][ T423] RDX: 1ffff1100185c4c6 RSI: ffffffffb325d540 RDI: ffff88800c2e2630 [ 30.388160][ T423] RBP: ffff88800c2e2000 R08: 0000000000000001 R09: ffffed100185c4d1 [ 30.388514][ T423] R10: ffff88800c2e268b R11: ffffffffb16c9c4c R12: ffff88800a634a00 [ 30.388886][ T423] R13: 0000000000000000 R14: dead000000000122 R15: dead000000000100 [ 30.389220][ T423] FS: 00007f2d06a0f740(0000) GS:ffff88808137c000(0000) knlGS:0000000000000000 [ 30.389641][ T423] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 30.389935][ T423] CR2: 00007f1885c955f0 CR3: 000000000da75003 CR4: 0000000000772ef0 [ 30.390270][ T423] PKRU: 55555554 [ 30.390444][ T423] Kernel panic - not syncing: Fatal exception [ 30.390877][ T423] Kernel Offset: 0x2f800000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 30.391397][ T423] ---[ end Kernel panic - not syncing: Fatal exception ]--- WAIT TIMEOUT stderr Ctrl-C stderr Ctrl-C stderr WAIT TIMEOUT stderr