syzbot


WARNING: refcount bug in p9_tag_lookup
Status: moderation: reported on 2022/04/12 15:13
Reported-by: syzbot+0a99744ed856bf4580fa@syzkaller.appspotmail.com
First crash: 49d, last: 22d

Sample crash report:
------------[ cut here ]------------
refcount_t: saturated; leaking memory.
WARNING: CPU: 1 PID: 3699 at lib/refcount.c:19 refcount_warn_saturate+0xf4/0x1e0 lib/refcount.c:19
Modules linked in:
CPU: 1 PID: 3699 Comm: kworker/1:6 Not tainted 5.18.0-rc5-syzkaller-00028-ga7391ad35724 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events p9_read_work
RIP: 0010:refcount_warn_saturate+0xf4/0x1e0 lib/refcount.c:19
Code: 1d 7c 0e ac 09 31 ff 89 de e8 38 b6 81 fd 84 db 75 ab e8 4f b2 81 fd 48 c7 c7 20 ec 26 8a c6 05 5c 0e ac 09 01 e8 64 83 2d 05 <0f> 0b eb 8f e8 33 b2 81 fd 0f b6 1d 46 0e ac 09 31 ff 89 de e8 03
RSP: 0018:ffffc9000439fb78 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88801d4c1d80 RSI: ffffffff81601ae8 RDI: fffff52000873f61
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815fc4be R11: 0000000000000000 R12: ffff88823bd74f48
R13: dffffc0000000000 R14: 0000000000000000 R15: 00000000a9a8abaa
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f96745691b8 CR3: 000000000ba8e000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 __refcount_add_not_zero include/linux/refcount.h:163 [inline]
 __refcount_inc_not_zero include/linux/refcount.h:227 [inline]
 refcount_inc_not_zero include/linux/refcount.h:245 [inline]
 kref_get_unless_zero include/linux/kref.h:111 [inline]
 p9_req_try_get include/net/9p/client.h:235 [inline]
 p9_tag_lookup+0x2b3/0x570 net/9p/client.c:341
 p9_read_work+0x759/0x1020 net/9p/trans_fd.c:334
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/05/05 06:08 upstream a7391ad35724 dc9e5259 .config log report info WARNING: refcount bug in p9_tag_lookup
ci-upstream-linux-next-kasan-gce-root 2022/04/08 15:11 linux-next ff511c1c68a5 15be3cba .config log report info WARNING: refcount bug in p9_tag_lookup