[ 2.278881] ip (247) used greatest stack depth: 12320 bytes left [ 2.801172] 8021q: 802.1Q VLAN Support v1.8 [ 2.848632] gre: GRE over IPv4 demultiplexer driver [ 2.850404] ip_gre: GRE over IPv4 tunneling driver [ 15.515116] ------------[ cut here ]------------ [ 15.515235] refcount_t: underflow; use-after-free. [ 15.515291] WARNING: CPU: 3 PID: 406 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 15.515358] Modules linked in: ip_gre gre 8021q vrf veth [ 15.515411] CPU: 3 UID: 0 PID: 406 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 15.515477] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.515526] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 15.515571] Code: 89 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 91 89 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 [ 15.515691] RSP: 0018:ffffa21ac096f730 EFLAGS: 00010282 [ 15.515730] RAX: 0000000000000000 RBX: ffffa21ac096f740 RCX: 00000000ffffdfff [ 15.515785] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 15.515834] RBP: ffffa21ac096f248 R08: ffffffff89d56a28 R09: 00000000ffffdfff [ 15.515881] R10: ffffffff89c76a40 R11: ffffffff89d26a40 R12: dead000000000122 [ 15.515936] R13: 00000000fffba83c R14: 0000000000000001 R15: ffff8ea602c61000 [ 15.515994] FS: 00007f05fd061800(0000) GS:ffff8ea6b4959000(0000) knlGS:0000000000000000 [ 15.516048] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 15.516115] CR2: 00000000004e7410 CR3: 0000000004c55003 CR4: 0000000000772ef0 [ 15.516182] PKRU: 55555554 [ 15.516223] Call Trace: [ 15.516242] [ 15.516262] netdev_run_todo+0x21a/0x550 [ 15.516303] rtnl_dellink+0x15b/0x350 [ 15.516340] ? virtio_fs_enqueue_req+0x352/0x570 [ 15.516390] ? netdev_run_todo+0x63/0x550 [ 15.516429] ? rtnl_bridge_getlink+0x1a0/0x1a0 [ 15.516468] rtnetlink_rcv_msg+0x358/0x400 [ 15.516498] ? get_page_from_freelist+0x15b4/0x1770 [ 15.516544] ? rtnl_calcit.isra.0+0x110/0x110 [ 15.516582] netlink_rcv_skb+0x57/0x100 [ 15.516615] netlink_unicast+0x252/0x380 [ 15.516643] ? __alloc_skb+0xdb/0x190 [ 15.516675] netlink_sendmsg+0x1be/0x3e0 [ 15.516707] ____sys_sendmsg+0x132/0x260 [ 15.516737] ? copy_msghdr_from_user+0x6c/0xa0 [ 15.516775] ___sys_sendmsg+0x87/0xd0 [ 15.516807] ? do_wp_page+0x369/0xe90 [ 15.516843] ? nfulnl_rcv_nl_event+0x36/0xa0 [ 15.516881] ? fsnotify_grab_connector+0x48/0x80 [ 15.516920] ? fsnotify_destroy_marks+0x29/0x150 [ 15.516959] __sys_sendmsg+0x71/0xd0 [ 15.516989] do_syscall_64+0xa4/0xfd0 [ 15.517025] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 15.517080] RIP: 0033:0x7f05fd22f1d7 [ 15.517115] 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 [ 15.517244] RSP: 002b:00007ffdb48b6a88 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 15.517299] RAX: ffffffffffffffda RBX: 00007ffdb48b71b0 RCX: 00007f05fd22f1d7 [ 15.517349] RDX: 0000000000000000 RSI: 00007ffdb48b6af0 RDI: 0000000000000005 [ 15.517407] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078 [ 15.517460] R10: 00007f05fd12bf60 R11: 0000000000000246 R12: 0000000000000002 [ 15.517510] R13: 00000000690dedd2 R14: 0000000000499600 R15: 0000000000000000 [ 15.517566] [ 15.517589] ---[ end trace 0000000000000000 ]--- [ 15.518197] ip (406) used greatest stack depth: 11744 bytes left