[ 1.904362] netdevsim netdevsim338 eni338np1: renamed from eth0
[ 1.981112] team0: Port device eni338np1 added
[ 1.981500] ip (234) used greatest stack depth: 12488 bytes left
[ 2.017173] team0 (unregistering): Port device eni338np1 removed
[ 2.024498] ------------[ cut here ]------------
[ 2.024607] refcount_t: underflow; use-after-free.
[ 2.024679] WARNING: CPU: 2 PID: 237 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110
[ 2.024755] Modules linked in: netdevsim
[ 2.024805] CPU: 2 UID: 0 PID: 237 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary)
[ 2.024883] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 2.024945] RIP: 0010:refcount_warn_saturate+0xbc/0x110
[ 2.025001] Code: 92 e8 88 98 ba ff 90 0f 0b 90 90 c3 80 3d 69 b4 eb 00 00 75 89 c6 05 60 b4 eb 00 01 90 48 c7 c7 98 6e 94 92 e8 65 98 ba ff 90 <0f> 0b 90 90 c3 80 3d 44 b4 eb 00 00 0f 85 62 ff ff ff c6 05 37 b4
[ 2.025131] RSP: 0018:ffffb2134029b730 EFLAGS: 00010282
[ 2.025187] RAX: 0000000000000000 RBX: ffffb2134029b740 RCX: 00000000ffffdfff
[ 2.025257] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 2.025326] RBP: ffffb2134029b258 R08: ffffffff92d56a28 R09: 00000000ffffdfff
[ 2.025395] R10: ffffffff92c76a40 R11: ffffffff92d26a40 R12: dead000000000122
[ 2.025476] R13: 00000000fffb7387 R14: 0000000000000001 R15: ffff9e9802c9f000
[ 2.025547] FS: 00007fcfd2e10800(0000) GS:ffff9e98ab8b7000(0000) knlGS:0000000000000000
[ 2.025618] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.025680] CR2: 00007f1b452505f0 CR3: 0000000001fe0004 CR4: 0000000000772ef0
[ 2.025749] PKRU: 55555554
[ 2.025788] Call Trace:
[ 2.025828]
[ 2.025867] netdev_run_todo+0x21a/0x550
[ 2.025921] rtnl_dellink+0x15b/0x350
[ 2.025972] ? virtio_fs_enqueue_req+0x352/0x570
[ 2.026034] ? netdev_run_todo+0x63/0x550
[ 2.026085] ? rtnl_bridge_getlink+0x1a0/0x1a0
[ 2.026140] rtnetlink_rcv_msg+0x358/0x400
[ 2.026191] ? get_page_from_freelist+0x15b4/0x1770
[ 2.026250] ? rtnl_calcit.isra.0+0x110/0x110
[ 2.026306] netlink_rcv_skb+0x57/0x100
[ 2.026357] netlink_unicast+0x252/0x380
[ 2.026408] ? __alloc_skb+0xdb/0x190
[ 2.026467] netlink_sendmsg+0x1be/0x3e0
[ 2.026516] ____sys_sendmsg+0x132/0x260
[ 2.026565] ? copy_msghdr_from_user+0x6c/0xa0
[ 2.026622] ___sys_sendmsg+0x87/0xd0
[ 2.026672] ? do_wp_page+0x369/0xe90
[ 2.026722] ? __handle_mm_fault+0x4e6/0xe50
[ 2.026778] ? fsnotify_grab_connector+0x48/0x80
[ 2.026834] ? fsnotify_destroy_marks+0x29/0x150
[ 2.026889] __sys_sendmsg+0x71/0xd0
[ 2.026938] do_syscall_64+0xa4/0xfd0
[ 2.026986] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 2.027045] RIP: 0033:0x7fcfd2fde1d7
[ 2.027094] 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
[ 2.027222] RSP: 002b:00007ffedffb4508 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
[ 2.027292] RAX: ffffffffffffffda RBX: 00007ffedffb4c30 RCX: 00007fcfd2fde1d7
[ 2.027361] RDX: 0000000000000000 RSI: 00007ffedffb4570 RDI: 0000000000000005
[ 2.027431] RBP: 0000000000000001 R08: 0000000000000003 R09: 0000000000000078
[ 2.027509] R10: 00007fcfd2edaf60 R11: 0000000000000246 R12: 0000000000000001
[ 2.027578] R13: 00000000690df005 R14: 0000000000499600 R15: 0000000000000000
[ 2.027652]
[ 2.027691] ---[ end trace 0000000000000000 ]---
[ 2.028326] ip (237) used greatest stack depth: 11744 bytes left
[ 2.072855] team0: entered promiscuous mode
[ 2.086453] dummyteam: entered promiscuous mode
[ 2.086573] team0: Port device dummyteam added
[ 2.108245] dummyteam: left promiscuous mode
[ 2.108420] team0 (unregistering): Port device dummyteam removed
[ 2.185037] team0: Port device dummyteam added
[ 2.209646] team0: entered promiscuous mode
[ 2.209723] dummyteam: entered promiscuous mode
[ 2.261605] dummyteam: left promiscuous mode
[ 2.261799] team0 (unregistering): Port device dummyteam removed
[ 2.375507] ------------[ cut here ]------------
[ 2.375649] kernel BUG at net/core/net-sysfs.c:2246!
[ 2.375701] Oops: invalid opcode: 0000 [#1] SMP
[ 2.375757] CPU: 1 UID: 0 PID: 221 Comm: propagation.sh Tainted: G W 6.18.0-rc4-virtme #1 PREEMPT(voluntary)
[ 2.375878] Tainted: [W]=WARN
[ 2.375915] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 2.375980] RIP: 0010:netdev_release+0x2d/0x30
[ 2.376036] Code: fa 0f 1f 44 00 00 80 7f e0 04 75 1d 55 48 8d af d0 fa ff ff 48 8b bf 00 fc ff ff e8 cd ff a3 ff 48 89 ef 5d e9 84 06 a4 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 e8 fb ff
[ 2.376210] RSP: 0018:ffffb213404ffbf0 EFLAGS: 00010297
[ 2.376258] RAX: ffffffff9235a5d0 RBX: 00000000ffffffff RCX: 0000000000000002
[ 2.376334] RDX: 0000000000000006 RSI: ffffffff92153ba4 RDI: ffff9e980194c530
[ 2.376405] RBP: ffff9e980194c530 R08: 00000000000001d0 R09: 000000000000016d
[ 2.376455] R10: 0000000000000180 R11: 0000000000000170 R12: ffff9e980272fa00
[ 2.376504] R13: ffffffff926b1d20 R14: ffff9e9802e51b10 R15: ffff9e980194c000
[ 2.376556] FS: 00007f17f5d0a000(0000) GS:ffff9e98ab837000(0000) knlGS:0000000000000000
[ 2.376611] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.376658] CR2: 00005638908efa91 CR3: 0000000003a8b002 CR4: 0000000000772ef0
[ 2.376708] PKRU: 55555554
[ 2.376729] Call Trace:
[ 2.376748]
[ 2.376767] device_release+0x35/0x90
[ 2.376800] kobject_put+0x64/0xc0
[ 2.376832] netdev_run_todo+0x21a/0x550
[ 2.376870] nsim_destroy+0x95/0x180 [netdevsim]
[ 2.376922] __nsim_dev_port_del+0x47/0x70 [netdevsim]
[ 2.376962] nsim_dev_reload_destroy+0x5b/0x110 [netdevsim]
[ 2.377002] nsim_drv_remove+0x2f/0xb0 [netdevsim]
[ 2.377041] device_release_driver_internal+0x193/0x200
[ 2.377080] bus_remove_device+0xc1/0x100
[ 2.377112] device_del+0x15f/0x480
[ 2.377142] device_unregister+0x12/0x30
[ 2.377172] del_device_store+0x117/0x1a0 [netdevsim]
[ 2.377210] kernfs_fop_write_iter+0x12b/0x1c0
[ 2.377250] vfs_write+0x33a/0x470
[ 2.377285] ksys_write+0x65/0xe0
[ 2.377315] do_syscall_64+0xa4/0xfd0
[ 2.377346] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 2.377383] RIP: 0033:0x7f17f5e0a257
[ 2.377408] Code: 0f 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
[ 2.377529] RSP: 002b:00007ffe8b946d48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 2.377583] RAX: ffffffffffffffda RBX: 00007f17f5f06780 RCX: 00007f17f5e0a257
[ 2.377632] RDX: 0000000000000004 RSI: 00005638908efa90 RDI: 0000000000000001
[ 2.377683] RBP: 0000000000000004 R08: 0000000000000000 R09: 00007f17f5ebcd20
[ 2.377731] R10: 00007f17f5ebcc20 R11: 0000000000000246 R12: 0000000000000004
[ 2.377781] R13: 00005638908efa90 R14: 0000000000000004 R15: 00007f17f5f019c0
[ 2.377832]
[ 2.377853] Modules linked in: netdevsim
[ 2.377886] ---[ end trace 0000000000000000 ]---
[ 2.377950] RIP: 0010:netdev_release+0x2d/0x30
[ 2.377990] Code: fa 0f 1f 44 00 00 80 7f e0 04 75 1d 55 48 8d af d0 fa ff ff 48 8b bf 00 fc ff ff e8 cd ff a3 ff 48 89 ef 5d e9 84 06 a4 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 e8 fb ff
[ 2.378111] RSP: 0018:ffffb213404ffbf0 EFLAGS: 00010297
[ 2.378143] RAX: ffffffff9235a5d0 RBX: 00000000ffffffff RCX: 0000000000000002
[ 2.378192] RDX: 0000000000000006 RSI: ffffffff92153ba4 RDI: ffff9e980194c530
[ 2.378242] RBP: ffff9e980194c530 R08: 00000000000001d0 R09: 000000000000016d
[ 2.378291] R10: 0000000000000180 R11: 0000000000000170 R12: ffff9e980272fa00
[ 2.378340] R13: ffffffff926b1d20 R14: ffff9e9802e51b10 R15: ffff9e980194c000
[ 2.378391] FS: 00007f17f5d0a000(0000) GS:ffff9e98ab837000(0000) knlGS:0000000000000000
[ 2.378449] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.378495] CR2: 00005638908efa91 CR3: 0000000003a8b002 CR4: 0000000000772ef0
[ 2.378555] PKRU: 55555554