------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 46 at lib/refcount.c:25 refcount_warn_saturate+0x13d/0x1a0 lib/refcount.c:25 Modules linked in: CPU: 0 PID: 46 Comm: kworker/u4:2 Not tainted 5.12.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: qrtr_ns_handler qrtr_ns_worker RIP: 0010:refcount_warn_saturate+0x13d/0x1a0 lib/refcount.c:25 Code: c7 80 56 11 8a 31 c0 e8 f1 61 73 fd 0f 0b eb a3 e8 88 7c a4 fd c6 05 de 21 cd 09 01 48 c7 c7 e0 56 11 8a 31 c0 e8 d3 61 73 fd <0f> 0b eb 85 e8 6a 7c a4 fd c6 05 c1 21 cd 09 01 48 c7 c7 40 57 11 RSP: 0018:ffffc90000eaf9b8 EFLAGS: 00010046 RAX: 055f67bd6921bd00 RBX: 0000000000000002 RCX: ffff88801187b880 RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000 RBP: 0000000000000002 R08: ffffffff8160b532 R09: ffffed1017383f1c R10: ffffed1017383f1c R11: 0000000000000000 R12: ffff888026548898 R13: 1ffff1100293102e R14: 0000000000000282 R15: ffff888026548800 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6e0d854108 CR3: 0000000014e57000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __refcount_add include/linux/refcount.h:201 [inline] __refcount_inc include/linux/refcount.h:250 [inline] refcount_inc include/linux/refcount.h:267 [inline] kref_get include/linux/kref.h:45 [inline] qrtr_node_acquire net/qrtr/qrtr.c:201 [inline] qrtr_node_lookup+0xc3/0xd0 net/qrtr/qrtr.c:394 qrtr_send_resume_tx net/qrtr/qrtr.c:1006 [inline] qrtr_recvmsg+0x443/0xa80 net/qrtr/qrtr.c:1074 qrtr_ns_worker+0x164/0x5470 net/qrtr/ns.c:684 process_one_work+0x789/0xfd0 kernel/workqueue.c:2275 worker_thread+0xac1/0x1300 kernel/workqueue.c:2421 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294