syzbot


WARNING: refcount bug in io_wqe_worker

Status: auto-obsoleted due to no activity on 2022/09/26 02:07
Subsystems: io-uring fs
[Documentation on labels]
Reported-by: syzbot+956ef5eac18eadd0fb7f@syzkaller.appspotmail.com
First crash: 1289d, last: 1254d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: failed (error log, bisect log)
  
Discussions (1)
Title Replies (including bot) Last reply
WARNING: refcount bug in io_wqe_worker 0 (2) 2020/09/12 18:49
Last patch testing requests (5)
Created Duration User Patch Repo Result
2022/09/26 00:30 16m retest repro linux-next OK log
2022/09/25 08:30 18m retest repro upstream OK log
2022/09/22 16:29 19m retest repro upstream OK log
2022/09/22 14:29 18m retest repro upstream OK log
2020/09/11 09:34 10m anant.thazhemadam@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master report log

Sample crash report:
------------[ cut here ]------------
refcount_t: underflow; use-after-free.
WARNING: CPU: 1 PID: 11616 at lib/refcount.c:28 refcount_warn_saturate+0x1d1/0x1e0 lib/refcount.c:28
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 11616 Comm: io_wqe_worker-1 Not tainted 5.9.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x198/0x1fd lib/dump_stack.c:118
 panic+0x382/0x7fb kernel/panic.c:231
 __warn.cold+0x20/0x4b kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:234
 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:254
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536
RIP: 0010:refcount_warn_saturate+0x1d1/0x1e0 lib/refcount.c:28
Code: e9 db fe ff ff 48 89 df e8 9c 26 f7 fd e9 8a fe ff ff e8 02 4f b6 fd 48 c7 c7 a0 73 d8 88 c6 05 ac 8e 94 07 01 e8 71 8c 86 fd <0f> 0b e9 af fe ff ff 0f 1f 84 00 00 00 00 00 41 56 41 55 41 54 55
RSP: 0018:ffffc90009fafe08 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8880a88a4500 RSI: ffffffff815f59d5 RDI: fffff520013f5fb3
RBP: 0000000000000003 R08: 0000000000000001 R09: ffff8880ae5318e7
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809a0f88b8
R13: ffff8880a1ef2930 R14: ffff8880a1ef2900 R15: ffff8880a7930400
 refcount_sub_and_test include/linux/refcount.h:274 [inline]
 refcount_dec_and_test include/linux/refcount.h:294 [inline]
 io_worker_exit fs/io-wq.c:236 [inline]
 io_wqe_worker+0xcdb/0x10e0 fs/io-wq.c:596
 kthread+0x3b5/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/28 20:26 upstream a1b8638ba132 6bfdbe89 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/09/27 16:49 upstream eeddbe6841cd 5dd8aee8 .config console log report syz C ci-upstream-kasan-gce-root
2020/09/12 18:48 upstream 729e3d091984 ce441f06 .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/09/06 19:33 linux-next 7a6956579ce6 abf9ba4f .config console log report syz ci-upstream-linux-next-kasan-gce-root
2020/10/11 13:44 upstream da690031a5d6 4a77ae0b .config console log report info ci-upstream-kasan-gce-root
2020/09/28 01:14 upstream a1bffa48745a 5dd8aee8 .config console log report info ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.