[ 1.714723] ------------[ cut here ]------------ [ 1.714785] refcount_t: underflow; use-after-free. [ 1.714841] WARNING: CPU: 1 PID: 252 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 1.714909] Modules linked in: [ 1.714941] CPU: 1 UID: 0 PID: 252 Comm: tun Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 1.715006] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 1.715049] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 1.715092] Code: bc 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 bc 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 [ 1.715211] RSP: 0018:ffffa3170053f868 EFLAGS: 00010286 [ 1.715245] RAX: 0000000000000000 RBX: ffffa3170053f878 RCX: 00000000ffffdfff [ 1.715295] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 1.715344] RBP: ffffa3170053f370 R08: ffffffffbcd5ba28 R09: 00000000ffffdfff [ 1.715401] R10: ffffffffbcc7ba40 R11: ffffffffbcd2ba40 R12: dead000000000122 [ 1.715450] R13: 00000000fffb7258 R14: 0000000000000001 R15: ffff92524207c000 [ 1.715502] FS: 00007fc93fdceb80(0000) GS:ffff9252c1811000(0000) knlGS:0000000000000000 [ 1.715558] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.715605] CR2: 00007fc93fee13a0 CR3: 0000000004371001 CR4: 0000000000772ef0 [ 1.715656] PKRU: 55555554 [ 1.715685] Call Trace: [ 1.715709] [ 1.715730] netdev_run_todo+0x21a/0x550 [ 1.715766] rtnl_dellink+0x15b/0x350 [ 1.715804] ? idr_alloc_cyclic+0x53/0xb0 [ 1.715837] ? ep_poll_callback+0x224/0x2b0 [ 1.715872] ? rtnl_bridge_getlink+0x1a0/0x1a0 [ 1.715911] rtnetlink_rcv_msg+0x358/0x400 [ 1.715941] ? rtnl_calcit.isra.0+0x110/0x110 [ 1.715979] netlink_rcv_skb+0x57/0x100 [ 1.716017] netlink_unicast+0x252/0x380 [ 1.716048] ? __alloc_skb+0xdb/0x190 [ 1.716086] netlink_sendmsg+0x1be/0x3e0 [ 1.716117] __sys_sendto+0x12a/0x1b0 [ 1.716152] ? alloc_file_pseudo+0xae/0x110 [ 1.716182] ? sock_alloc_file+0x63/0xc0 [ 1.716213] ? __sys_socket+0xca/0x110 [ 1.716243] __x64_sys_sendto+0x24/0x30 [ 1.716273] do_syscall_64+0xa4/0xfd0 [ 1.716307] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 1.716345] RIP: 0033:0x7fc93fee1120 [ 1.716377] Code: Unable to access opcode bytes at 0x7fc93fee10f6. [ 1.716423] RSP: 002b:00007ffcc3f5bac8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 1.716479] RAX: ffffffffffffffda RBX: 00007ffcc3f5bb60 RCX: 00007fc93fee1120 [ 1.716528] RDX: 0000000000000034 RSI: 00007ffcc3f5bad0 RDI: 0000000000000007 [ 1.716578] RBP: 0000000000000007 R08: 0000000000000000 R09: 0000000000000000 [ 1.716628] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 [ 1.716688] R13: 00007ffcc3f5bb60 R14: 00007fc93fdcd000 R15: 0000000000406140 [ 1.716747] [ 1.716767] ---[ end trace 0000000000000000 ]--- [ 1.717136] tun (252) used greatest stack depth: 12048 bytes left