[ 2.066620] ip (247) used greatest stack depth: 12296 bytes left [ 10.026761] ------------[ cut here ]------------ [ 10.026905] refcount_t: underflow; use-after-free. [ 10.026994] WARNING: CPU: 2 PID: 366 at lib/refcount.c:28 refcount_warn_saturate+0xbc/0x110 [ 10.027096] Modules linked in: sch_ingress vrf veth [ 10.027172] CPU: 2 UID: 0 PID: 366 Comm: ip Not tainted 6.18.0-rc4-virtme #1 PREEMPT(voluntary) [ 10.027280] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.027360] RIP: 0010:refcount_warn_saturate+0xbc/0x110 [ 10.027433] Code: bb 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 bb 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 [ 10.027624] RSP: 0018:ffffc1dbc05ef730 EFLAGS: 00010282 [ 10.027698] RAX: 0000000000000000 RBX: ffffc1dbc05ef740 RCX: 00000000ffffdfff [ 10.027799] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 10.027893] RBP: ffffc1dbc05ef248 R08: ffffffffbbb56a28 R09: 00000000ffffdfff [ 10.027987] R10: ffffffffbba76a40 R11: ffffffffbbb26a40 R12: dead000000000122 [ 10.028080] R13: 00000000fffb92c0 R14: 0000000000000001 R15: ffff9bdec3158000 [ 10.028176] FS: 00007f46d8b98800(0000) GS:ffff9bdf43ad9000(0000) knlGS:0000000000000000 [ 10.028271] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 10.028354] CR2: 00000000004e5450 CR3: 00000000030a3006 CR4: 0000000000772ef0 [ 10.028449] PKRU: 55555554 [ 10.028497] Call Trace: [ 10.028548] [ 10.028597] netdev_run_todo+0x21a/0x550 [ 10.028669] rtnl_dellink+0x15b/0x350 [ 10.028748] ? virtio_fs_enqueue_req+0x352/0x570 [ 10.028825] ? netdev_run_todo+0x63/0x550 [ 10.028886] ? rtnl_bridge_getlink+0x1a0/0x1a0 [ 10.028958] rtnetlink_rcv_msg+0x358/0x400 [ 10.029021] ? get_page_from_freelist+0x15b4/0x1770 [ 10.029096] ? rtnl_calcit.isra.0+0x110/0x110 [ 10.029169] netlink_rcv_skb+0x57/0x100 [ 10.029232] netlink_unicast+0x252/0x380 [ 10.029292] ? __alloc_skb+0xdb/0x190 [ 10.029355] netlink_sendmsg+0x1be/0x3e0 [ 10.029416] ____sys_sendmsg+0x132/0x260 [ 10.029478] ? copy_msghdr_from_user+0x6c/0xa0 [ 10.029555] ___sys_sendmsg+0x87/0xd0 [ 10.029623] ? do_wp_page+0x369/0xe90 [ 10.029691] ? ___pte_offset_map+0x1b/0xd0 [ 10.029757] ? nfulnl_rcv_nl_event+0x36/0xa0 [ 10.029831] ? fsnotify_grab_connector+0x48/0x80 [ 10.029904] ? fsnotify_destroy_marks+0x29/0x150 [ 10.029975] __sys_sendmsg+0x71/0xd0 [ 10.030040] do_syscall_64+0xa4/0xfd0 [ 10.030103] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.030174] RIP: 0033:0x7f46d8d661d7 [ 10.030235] 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 [ 10.030422] RSP: 002b:00007ffd24cd7bc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 10.030516] RAX: ffffffffffffffda RBX: 00007ffd24cd82f0 RCX: 00007f46d8d661d7 [ 10.030614] RDX: 0000000000000000 RSI: 00007ffd24cd7c30 RDI: 0000000000000005 [ 10.030708] RBP: 0000000000000002 R08: 0000000000000003 R09: 0000000000000078 [ 10.030807] R10: 00007f46d8c62f60 R11: 0000000000000246 R12: 0000000000000002 [ 10.030900] R13: 00000000690de8cd R14: 0000000000499600 R15: 0000000000000000 [ 10.030995] [ 10.031046] ---[ end trace 0000000000000000 ]--- [ 10.031586] ip (366) used greatest stack depth: 11744 bytes left