[ 2.068471] ip (246) used greatest stack depth: 12296 bytes left [ 164.355028] ------------[ cut here ]------------ [ 164.355176] refcount_t: underflow; use-after-free. [ 164.355267] WARNING: CPU: 2 PID: 1962 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 164.355357] Modules linked in: vrf veth [ 164.355409] CPU: 2 UID: 0 PID: 1962 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 164.355490] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 164.355554] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 164.355610] Code: 88 e8 18 df ba ff 90 0f 0b 90 90 c3 80 3d f9 da eb 00 00 75 89 c6 05 f0 da eb 00 01 90 48 c7 c7 28 e0 71 88 e8 f5 de ba ff 90 <0f> 0b 90 90 c3 80 3d d4 da eb 00 00 0f 85 62 ff ff ff c6 05 c7 da [ 164.355743] RSP: 0018:ffffa9c2014ab730 EFLAGS: 00010282 [ 164.355805] RAX: 0000000000000000 RBX: ffffa9c2014ab740 RCX: 00000000ffffdfff [ 164.355877] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 164.355950] RBP: ffffa9c2014ab248 R08: ffffffff88b56a28 R09: 00000000ffffdfff [ 164.356041] R10: ffffffff88a76a40 R11: ffffffff88b26a40 R12: dead000000000122 [ 164.356114] R13: 00000000fffded9e R14: 0000000000000001 R15: ffff9e1801be3000 [ 164.356230] FS: 00007f56f6302800(0000) GS:ffff9e18b5ad9000(0000) knlGS:0000000000000000 [ 164.356333] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 164.356397] CR2: 00005624c9e0f090 CR3: 00000000090ac003 CR4: 0000000000772ef0 [ 164.356471] PKRU: 55555554 [ 164.356528] Call Trace: [ 164.356575] [ 164.356615] netdev_run_todo+0x21a/0x550 [ 164.356676] rtnl_dellink+0x15b/0x350 [ 164.356738] ? virtio_fs_enqueue_req+0x352/0x570 [ 164.356810] ? netdev_run_todo+0x63/0x550 [ 164.356862] ? rtnl_bridge_getlink+0x1a0/0x1a0 [ 164.356940] rtnetlink_rcv_msg+0x358/0x400 [ 164.357007] ? get_page_from_freelist+0x15b4/0x1770 [ 164.357071] ? rtnl_calcit.isra.0+0x110/0x110 [ 164.357130] netlink_rcv_skb+0x57/0x100 [ 164.357188] netlink_unicast+0x252/0x380 [ 164.357246] ? __alloc_skb+0xdb/0x190 [ 164.357299] netlink_sendmsg+0x1be/0x3e0 [ 164.357349] ____sys_sendmsg+0x132/0x260 [ 164.357401] ? copy_msghdr_from_user+0x6c/0xa0 [ 164.357459] ___sys_sendmsg+0x87/0xd0 [ 164.357527] ? do_wp_page+0x369/0xe90 [ 164.357582] ? ___pte_offset_map+0x1b/0xd0 [ 164.357634] ? nfulnl_rcv_nl_event+0x36/0xa0 [ 164.357696] ? fsnotify_grab_connector+0x48/0x80 [ 164.357756] ? fsnotify_destroy_marks+0x29/0x150 [ 164.357820] __sys_sendmsg+0x71/0xd0 [ 164.357873] do_syscall_64+0xa4/0xfd0 [ 164.357927] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 164.358000] RIP: 0033:0x7f56f64d01d7 [ 164.358053] 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 [ 164.358208] RSP: 002b:00007ffcdaab4c88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 164.358285] RAX: ffffffffffffffda RBX: 00007ffcdaab53b0 RCX: 00007f56f64d01d7 [ 164.358362] RDX: 0000000000000000 RSI: 00007ffcdaab4cf0 RDI: 0000000000000005 [ 164.358436] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078 [ 164.358511] R10: 00007f56f63ccf60 R11: 0000000000000246 R12: 0000000000000002 [ 164.358585] R13: 00000000690de4ba R14: 0000000000499600 R15: 0000000000000000 [ 164.358665] [ 164.358705] ---[ end trace 0000000000000000 ]--- [ 164.359358] ip (1962) used greatest stack depth: 11744 bytes left