------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 26 at lib/refcount.c:28 refcount_warn_saturate+0x107/0x1f0 lib/refcount.c:28 Modules linked in: CPU: 1 PID: 26 Comm: kworker/1:1 Not tainted 6.2.0-rc6-next-20230203-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: events nsim_dev_trap_report_work RIP: 0010:refcount_warn_saturate+0x107/0x1f0 lib/refcount.c:28 Code: 1d c0 98 46 0a 31 ff 89 de e8 f5 47 6b fd 84 db 75 a3 e8 dc 4b 6b fd 48 c7 c7 80 c0 a6 8a c6 05 a0 98 46 0a 01 e8 b9 e1 32 fd <0f> 0b eb 87 e8 c0 4b 6b fd 0f b6 1d 89 98 46 0a 31 ff 89 de e8 c0 RSP: 0018:ffffc90000a1fc28 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888017491d40 RSI: ffffffff814c0217 RDI: 0000000000000001 RBP: ffff8880211fe224 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880211fe224 R13: ffff8880211fe140 R14: ffff88801cd57550 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c016b11000 CR3: 000000002b6ea000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_sub_and_test include/linux/refcount.h:283 [inline] __refcount_dec_and_test include/linux/refcount.h:315 [inline] refcount_dec_and_test include/linux/refcount.h:333 [inline] skb_unref include/linux/skbuff.h:1198 [inline] skb_unref include/linux/skbuff.h:1192 [inline] consume_skb+0x14b/0x170 net/core/skbuff.c:1137 nsim_dev_trap_report drivers/net/netdevsim/dev.c:824 [inline] nsim_dev_trap_report_work+0x87c/0xc80 drivers/net/netdevsim/dev.c:853 process_one_work+0x9bf/0x1820 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308