[ 2.200754] ------------[ cut here ]------------ [ 2.200869] refcount_t: underflow; use-after-free. [ 2.200948] WARNING: CPU: 1 PID: 252 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 2.201045] Modules linked in: [ 2.201085] CPU: 1 UID: 0 PID: 252 Comm: tun Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 2.201178] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2.201243] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 2.201301] Code: ae 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 b5 ae 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.201487] RSP: 0018:ffffa3b1405d7868 EFLAGS: 00010286 [ 2.201537] RAX: 0000000000000000 RBX: ffffa3b1405d7878 RCX: 00000000ffffdfff [ 2.201615] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 2.201706] RBP: ffffa3b1405d7370 R08: ffffffffaf35ba28 R09: 00000000ffffdfff [ 2.201789] R10: ffffffffaf27ba40 R11: ffffffffaf32ba40 R12: dead000000000122 [ 2.201866] R13: 00000000fffb7431 R14: 0000000000000001 R15: ffff923881e98000 [ 2.201945] FS: 00007f972579eb80(0000) GS:ffff92390f211000(0000) knlGS:0000000000000000 [ 2.202031] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.202102] CR2: 00007f6897a8db70 CR3: 0000000004716006 CR4: 0000000000772ef0 [ 2.202178] PKRU: 55555554 [ 2.202202] Call Trace: [ 2.202231] [ 2.202262] netdev_run_todo+0x21a/0x550 [ 2.202311] rtnl_dellink+0x15b/0x350 [ 2.202367] ? idr_alloc_cyclic+0x53/0xb0 [ 2.202416] ? ep_poll_callback+0x224/0x2b0 [ 2.202468] ? rtnl_bridge_getlink+0x1a0/0x1a0 [ 2.202527] rtnetlink_rcv_msg+0x358/0x400 [ 2.202574] ? rtnl_calcit.isra.0+0x110/0x110 [ 2.202632] netlink_rcv_skb+0x57/0x100 [ 2.202685] netlink_unicast+0x252/0x380 [ 2.202732] ? __alloc_skb+0xdb/0x190 [ 2.202781] netlink_sendmsg+0x1be/0x3e0 [ 2.202828] __sys_sendto+0x12a/0x1b0 [ 2.202899] ? alloc_file_pseudo+0xae/0x110 [ 2.202949] ? sock_alloc_file+0x63/0xc0 [ 2.202996] ? __sys_socket+0xca/0x110 [ 2.203042] __x64_sys_sendto+0x24/0x30 [ 2.203088] do_syscall_64+0xa4/0xfd0 [ 2.203135] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 2.203194] RIP: 0033:0x7f97258b1120 [ 2.203247] Code: Unable to access opcode bytes at 0x7f97258b10f6. [ 2.203314] RSP: 002b:00007ffe8eca21d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 2.203400] RAX: ffffffffffffffda RBX: 00007ffe8eca2270 RCX: 00007f97258b1120 [ 2.203477] RDX: 0000000000000034 RSI: 00007ffe8eca21e0 RDI: 0000000000000007 [ 2.203554] RBP: 0000000000000007 R08: 0000000000000000 R09: 0000000000000000 [ 2.203632] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 2.203716] R13: 00007ffe8eca2270 R14: 00007f972579d000 R15: 0000000000406140 [ 2.203804] [ 2.203829] ---[ end trace 0000000000000000 ]--- [ 2.204341] tun (252) used greatest stack depth: 12048 bytes left