syzbot


WARNING: still has locks held in io_sq_thread

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+796d767eb376810256f5@syzkaller.appspotmail.com
Fix commit: 82734c5b1b24 io_uring: drop sqd lock before handling signals for SQPOLL
First crash: 672d, last: 657d

Cause bisection: introduced by (bisect log) :
commit c8cc7e853192d520ab6a5957f5081034103587ae
Author: Peter Zijlstra <peterz@infradead.org>
Date: Tue Feb 9 08:30:03 2021 +0000

  lockdep: Noinstr annotate warn_bogus_irq_restore()

Crash: WARNING in kvm_wait (log)
Repro: C syz .config
Last patch testing requests:
Created Duration User Patch Repo Result
2021/03/29 12:54 17m axboe@kernel.dk git://git.kernel.dk/linux-block io_uring-5.12 report log

Sample crash report:
====================================
WARNING: iou-sqp-8394/8397 still has locks held!
5.12.0-rc5-syzkaller #0 Not tainted
------------------------------------
1 lock held by iou-sqp-8394/8397:
 #0: ffff888021601070 (&sqd->lock){+.+.}-{3:3}, at: io_sq_thread+0x24c/0x13a0 fs/io_uring.c:6731

stack backtrace:
CPU: 1 PID: 8397 Comm: iou-sqp-8394 Not tainted 5.12.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x141/0x1d7 lib/dump_stack.c:120
 try_to_freeze include/linux/freezer.h:66 [inline]
 get_signal+0x171a/0x2150 kernel/signal.c:2576
 io_sq_thread+0x8d2/0x13a0 fs/io_uring.c:6748


Crashes (8689):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce-selinux-root 2021/04/02 22:20 upstream 1678e493d530 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/04/02 22:02 upstream 1678e493d530 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-root 2021/04/02 16:51 upstream 1678e493d530 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/04/02 06:31 upstream ffd9fb546d49 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/04/02 04:06 upstream ffd9fb546d49 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-root 2021/04/01 15:54 upstream d19cc4bfbff1 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/04/01 14:10 upstream d19cc4bfbff1 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/04/01 13:52 upstream d19cc4bfbff1 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/04/01 13:52 upstream d19cc4bfbff1 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-smack-root 2021/04/01 11:11 upstream d19cc4bfbff1 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-smack-root 2021/04/01 01:17 upstream 5e46d1b78a03 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/31 22:43 upstream 5e46d1b78a03 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/31 22:29 upstream 5e46d1b78a03 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/31 22:13 upstream 5e46d1b78a03 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-root 2021/03/31 20:22 upstream 5e46d1b78a03 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-smack-root 2021/03/31 19:37 upstream 5e46d1b78a03 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-smack-root 2021/03/31 19:33 upstream 5e46d1b78a03 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/31 06:03 upstream 2bb25b3a748a 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/31 06:00 upstream 2bb25b3a748a 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-smack-root 2021/03/31 05:32 upstream 2bb25b3a748a 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-root 2021/03/30 20:46 upstream 1e43c377a79f 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-smack-root 2021/03/30 19:08 upstream 1e43c377a79f 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-root 2021/03/30 11:30 upstream 1e43c377a79f 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/30 05:29 upstream 1e43c377a79f 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/30 05:15 upstream 1e43c377a79f 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/30 05:12 upstream 1e43c377a79f 6a81331a .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/29 06:32 upstream 81b1d39fd39a a8529b82 .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/29 06:13 upstream 81b1d39fd39a a8529b82 .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-selinux-root 2021/03/29 06:07 upstream 81b1d39fd39a a8529b82 .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-root 2021/03/29 05:19 upstream 81b1d39fd39a a8529b82 .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-smack-root 2021/03/29 05:15 upstream 36a14638f7c0 a8529b82 .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-root 2021/03/29 05:07 upstream 81b1d39fd39a a8529b82 .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-root 2021/03/29 05:01 upstream 81b1d39fd39a a8529b82 .config console log report syz C WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-root 2021/04/03 02:31 upstream 1678e493d530 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-smack-root 2021/04/03 01:35 upstream 1678e493d530 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu-upstream 2021/03/30 03:47 upstream 1e43c377a79f 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-upstream-kasan-gce-root 2021/03/28 19:49 upstream 81b1d39fd39a a8529b82 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-arm64 2021/04/03 12:31 upstream 0a84c2e440f7 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-arm64-compat 2021/04/03 12:23 upstream 0a84c2e440f7 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu-upstream-386 2021/03/30 03:26 upstream 1e43c377a79f 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/12 00:35 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 23:29 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 21:44 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 20:44 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 19:42 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 18:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 17:19 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 15:29 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 14:14 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 12:47 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 11:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 10:35 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 08:31 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 07:30 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 05:55 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 04:50 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 03:48 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 02:29 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 01:10 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/11 00:18 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 22:44 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 21:41 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 18:39 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 15:59 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 14:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 13:00 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 11:28 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 10:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 07:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 06:08 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 1adbc2941eee bfeda1b1 .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 04:52 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 03:29 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 03:22 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 02:18 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/10 00:46 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/09 23:39 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/09 21:48 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/09 20:02 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/09 18:54 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/09 17:21 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/09 16:16 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/09 15:02 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/09 13:50 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/09 12:42 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
ci-qemu2-riscv64 2021/04/09 12:24 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes b2b3d18fc20e 6a81331a .config console log report info WARNING: still has locks held in io_sq_thread
* Struck through repros no longer work on HEAD.