[ 2.863773] ------------[ cut here ]------------
[ 2.863836] refcount_t: underflow; use-after-free.
[ 2.863891] WARNING: CPU: 0 PID: 12 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110
[ 2.863968] Modules linked in:
[ 2.864002] CPU: 0 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary)
[ 2.864064] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 2.864105] Workqueue: netns cleanup_net
[ 2.864140] RIP: 0010:refcount_warn_saturate+0xbc/0x110
[ 2.864179] Code: 9d e8 e8 54 ba ff 90 0f 0b 90 90 c3 80 3d 00 e6 2b 01 00 75 89 c6 05 f7 e5 2b 01 01 90 48 c7 c7 f8 48 55 9d e8 c5 54 ba ff 90 <0f> 0b 90 90 c3 80 3d db e5 2b 01 00 0f 85 62 ff ff ff c6 05 ce e5
[ 2.864302] RSP: 0000:ffffbb6600067d50 EFLAGS: 00010286
[ 2.864342] RAX: 0000000000000000 RBX: ffffbb6600067d60 RCX: 00000000ffffdfff
[ 2.864392] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001
[ 2.864441] RBP: ffffbb6600067858 R08: ffffffff9dd5ba28 R09: 00000000ffffdfff
[ 2.864492] R10: ffffffff9dc7ba40 R11: ffffffff9dd2ba40 R12: dead000000000122
[ 2.864541] R13: 00000000fffb76d3 R14: 0000000000000001 R15: ffff97f20664a000
[ 2.864593] FS: 0000000000000000(0000) GS:ffff97f2a0791000(0000) knlGS:0000000000000000
[ 2.864649] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.864709] CR2: 00007f267208bb30 CR3: 0000000006663003 CR4: 0000000000772ef0
[ 2.864763] PKRU: 55555554
[ 2.864784] Call Trace:
[ 2.864803]
[ 2.864824] netdev_run_todo+0x21a/0x550
[ 2.864857] ops_undo_list+0x1e3/0x1f0
[ 2.864895] cleanup_net+0x1b7/0x300
[ 2.864929] process_one_work+0x162/0x380
[ 2.864965] worker_thread+0x299/0x3c0
[ 2.864995] ? rescuer_thread+0x4c0/0x4c0
[ 2.865025] kthread+0x101/0x1f0
[ 2.865056] ? kthreads_online_cpu+0x110/0x110
[ 2.865095] ? kthreads_online_cpu+0x110/0x110
[ 2.865134] ret_from_fork+0x11c/0x140
[ 2.865171] ? kthreads_online_cpu+0x110/0x110
[ 2.865213] ret_from_fork_asm+0x11/0x20
[ 2.865269]
[ 2.865286] ---[ end trace 0000000000000000 ]---
[ 3.138009] GACT probability NOT on
[ 3.139078] tc (297) used greatest stack depth: 11840 bytes left
[ 3.165767] drop_monitor: Initializing network drop monitor service
[ 13.816710] ------------[ cut here ]------------
[ 13.816863] kernel BUG at net/core/net-sysfs.c:2246!
[ 13.816955] Oops: invalid opcode: 0000 [#1] SMP
[ 13.817003] CPU: 2 UID: 0 PID: 318 Comm: echo Tainted: G W 6.18.0-rc4-virtme #1 PREEMPT(voluntary)
[ 13.817078] Tainted: [W]=WARN
[ 13.817108] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 13.817156] RIP: 0010:netdev_release+0x2d/0x30
[ 13.817203] Code: fa 0f 1f 44 00 00 80 7f d8 04 75 1d 55 48 8d af a8 fa ff ff 48 8b bf e0 fb ff ff e8 ed d7 a4 ff 48 89 ef 5d e9 a4 de a4 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 c8 fb ff
[ 13.817329] RSP: 0018:ffffbb660029bbf0 EFLAGS: 00010297
[ 13.817367] RAX: ffffffff9cf51ca0 RBX: 00000000ffffffff RCX: 0000000000000002
[ 13.817429] RDX: 0000000000000006 RSI: ffffffff9cd58ea4 RDI: ffff97f2013c4558
[ 13.817490] RBP: ffff97f2013c4558 R08: 0000000000000010 R09: 00000000000000fa
[ 13.817544] R10: 0000000000000400 R11: 0000000000000100 R12: ffff97f201ae8800
[ 13.817599] R13: ffffffff9d2b2ea0 R14: ffff97f201050790 R15: ffff97f2013c4000
[ 13.817661] FS: 00007f1a5addcb80(0000) GS:ffff97f2a0891000(0000) knlGS:0000000000000000
[ 13.817717] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 13.817767] CR2: 000055de067f02f8 CR3: 0000000013456004 CR4: 0000000000772ef0
[ 13.817823] PKRU: 55555554
[ 13.817845] Call Trace:
[ 13.817871]
[ 13.817891] device_release+0x35/0x90
[ 13.817932] kobject_put+0x64/0xc0
[ 13.817967] netdev_run_todo+0x21a/0x550
[ 13.817999] nsim_destroy+0x95/0x180 [netdevsim]
[ 13.818045] __nsim_dev_port_del+0x47/0x70 [netdevsim]
[ 13.818087] nsim_dev_reload_destroy+0x5b/0x120 [netdevsim]
[ 13.818126] nsim_drv_remove+0x2f/0xb0 [netdevsim]
[ 13.818164] device_release_driver_internal+0x193/0x200
[ 13.818208] bus_remove_device+0xc1/0x100
[ 13.818239] device_del+0x15f/0x480
[ 13.818271] device_unregister+0x12/0x30
[ 13.818301] del_device_store+0x117/0x1a0 [netdevsim]
[ 13.818341] kernfs_fop_write_iter+0x12b/0x1c0
[ 13.818386] vfs_write+0x33a/0x470
[ 13.818424] ksys_write+0x65/0xe0
[ 13.818454] do_syscall_64+0xa4/0xfd0
[ 13.818491] entry_SYSCALL_64_after_hwframe+0x4b/0x53
[ 13.818534] RIP: 0033:0x7f1a5aedd257
[ 13.818565] 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
[ 13.818683] RSP: 002b:00007fffbfa3c188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 13.818746] RAX: ffffffffffffffda RBX: 00007f1a5afd9780 RCX: 00007f1a5aedd257
[ 13.818800] RDX: 0000000000000005 RSI: 000055de067ef2f0 RDI: 0000000000000001
[ 13.818855] RBP: 0000000000000005 R08: 0000000000000004 R09: 0000000000000077
[ 13.818909] R10: 0000000000000063 R11: 0000000000000246 R12: 0000000000000005
[ 13.818964] R13: 000055de067ef2f0 R14: 0000000000000005 R15: 00007f1a5afd49c0
[ 13.819020]
[ 13.819042] Modules linked in: drop_monitor act_gact cls_flower sch_ingress netdevsim psample
[ 13.819142] ---[ end trace 0000000000000000 ]---
[ 13.819203] RIP: 0010:netdev_release+0x2d/0x30
[ 13.819265] Code: fa 0f 1f 44 00 00 80 7f d8 04 75 1d 55 48 8d af a8 fa ff ff 48 8b bf e0 fb ff ff e8 ed d7 a4 ff 48 89 ef 5d e9 a4 de a4 ff 90 <0f> 0b 90 f3 0f 1e fa 0f 1f 44 00 00 55 48 89 f5 48 8d 97 c8 fb ff
[ 13.819406] RSP: 0018:ffffbb660029bbf0 EFLAGS: 00010297
[ 13.819468] RAX: ffffffff9cf51ca0 RBX: 00000000ffffffff RCX: 0000000000000002
[ 13.819546] RDX: 0000000000000006 RSI: ffffffff9cd58ea4 RDI: ffff97f2013c4558
[ 13.819622] RBP: ffff97f2013c4558 R08: 0000000000000010 R09: 00000000000000fa
[ 13.819710] R10: 0000000000000400 R11: 0000000000000100 R12: ffff97f201ae8800
[ 13.819805] R13: ffffffff9d2b2ea0 R14: ffff97f201050790 R15: ffff97f2013c4000
[ 13.819884] FS: 00007f1a5addcb80(0000) GS:ffff97f2a0891000(0000) knlGS:0000000000000000
[ 13.819962] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 13.820034] CR2: 000055de067f02f8 CR3: 0000000013456004 CR4: 0000000000772ef0
[ 13.820112] PKRU: 55555554
WAIT TIMEOUT stderr
Ctrl-C stderr
Ctrl-C stderr
WAIT TIMEOUT stderr