syzbot


WARNING in blk_release_queue
Status: upstream: reported on 2022/03/21 20:37
Reported-by: syzbot+bd9d63403ded496c6d3c@syzkaller.appspotmail.com
First crash: 67d, last: 53d

Sample crash report:
------------[ cut here ]------------
do not call blocking ops when !TASK_RUNNING; state=2 set at [<ffffffff8a29c986>] __mutex_lock_common+0xd46/0x2590 kernel/locking/mutex.c:677
WARNING: CPU: 0 PID: 3718 at kernel/sched/core.c:9660 __might_sleep+0xb0/0xe0 kernel/sched/core.c:9656
Modules linked in:
CPU: 0 PID: 3718 Comm: kworker/0:8 Tainted: G        W         5.17.0-syzkaller-13673-ge8b767f5e040 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events linkwatch_event
RIP: 0010:__might_sleep+0xb0/0xe0 kernel/sched/core.c:9656
Code: b0 0c 01 42 80 3c 23 00 74 08 48 89 ef e8 d8 d5 7a 00 48 8b 4d 00 48 c7 c7 80 b6 8e 8a 44 89 ee 48 89 ca 31 c0 e8 50 b2 f2 ff <0f> 0b eb b7 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 72 ff ff ff 48 89
RSP: 0018:ffffc90000007b38 EFLAGS: 00010246
RAX: 35bd253496776b00 RBX: 1ffff11003b20a1e RCX: ffff88801d903a00
RDX: 0000000000000101 RSI: 0000000000000101 RDI: 0000000000000000
RBP: ffff88801d9050f0 R08: ffffffff816b4962 R09: fffff52000000eb9
R10: fffff52000000eb9 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000002 R14: 00000000000002fe R15: ffffffff8c6b8692
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f290f36b998 CR3: 000000002772d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 blk_release_queue+0x2e/0x2a0 block/blk-sysfs.c:766
 kobject_cleanup+0x1c0/0x280 lib/kobject.c:705
 blkg_free+0x2d0/0x320 block/blk-cgroup.c:86
 rcu_do_batch kernel/rcu/tree.c:2535 [inline]
 rcu_core+0xa85/0x1700 kernel/rcu/tree.c:2786
 __do_softirq+0x392/0x7a3 kernel/softirq.c:558
 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:637
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:instrument_atomic_read include/linux/instrumented.h:71 [inline]
RIP: 0010:atomic_long_read include/linux/atomic/atomic-instrumented.h:1265 [inline]
RIP: 0010:__mutex_owner kernel/locking/mutex.c:78 [inline]
RIP: 0010:mutex_spin_on_owner+0x27b/0x350 kernel/locking/mutex.c:356
Code: 89 df be 08 00 00 00 e8 03 7f 71 00 43 80 3c 2e 00 74 08 48 89 df e8 54 7d 71 00 48 f7 03 01 00 00 00 0f 85 88 00 00 00 f3 90 <48> 89 df be 08 00 00 00 e8 d8 7e 71 00 43 80 3c 2e 00 0f 84 7d fe
RSP: 0018:ffffc9000432fa08 EFLAGS: 00000246
RAX: 1ffff11003b20740 RBX: ffffffff8dd9f920 RCX: ffffffff81666684
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88801d903a00
RBP: ffffffff8dd9f970 R08: dffffc0000000000 R09: ffffed1003b20741
R10: ffffed1003b20741 R11: 0000000000000000 R12: ffff888024e58000
R13: dffffc0000000000 R14: 1ffffffff1bb3f24 R15: ffffffff8dd9f970
 mutex_optimistic_spin+0x40/0x2d0 kernel/locking/mutex.c:473
 __mutex_lock_common+0xdbe/0x2590 kernel/locking/mutex.c:684
 __mutex_lock kernel/locking/mutex.c:733 [inline]
 mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:785
 linkwatch_event+0xa/0x50 net/core/link_watch.c:262
 process_one_work+0x83c/0x11a0 kernel/workqueue.c:2289
 worker_thread+0xa6c/0x1290 kernel/workqueue.c:2436
 kthread+0x2a3/0x2d0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30
 </TASK>
----------------
Code disassembly (best guess):
   0:	89 df                	mov    %ebx,%edi
   2:	be 08 00 00 00       	mov    $0x8,%esi
   7:	e8 03 7f 71 00       	callq  0x717f0f
   c:	43 80 3c 2e 00       	cmpb   $0x0,(%r14,%r13,1)
  11:	74 08                	je     0x1b
  13:	48 89 df             	mov    %rbx,%rdi
  16:	e8 54 7d 71 00       	callq  0x717d6f
  1b:	48 f7 03 01 00 00 00 	testq  $0x1,(%rbx)
  22:	0f 85 88 00 00 00    	jne    0xb0
  28:	f3 90                	pause
* 2a:	48 89 df             	mov    %rbx,%rdi <-- trapping instruction
  2d:	be 08 00 00 00       	mov    $0x8,%esi
  32:	e8 d8 7e 71 00       	callq  0x717f0f
  37:	43 80 3c 2e 00       	cmpb   $0x0,(%r14,%r13,1)
  3c:	0f                   	.byte 0xf
  3d:	84 7d fe             	test   %bh,-0x2(%rbp)

Crashes (127):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2022/04/01 20:09 upstream e8b767f5e040 20955a24 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce 2022/04/01 14:37 upstream e8b767f5e040 20955a24 .config log report info WARNING in blk_release_queue
ci-qemu-upstream 2022/04/01 13:26 upstream e8b767f5e040 b183f420 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/04/01 12:09 upstream b4a5ea09b293 68fc921a .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-selinux-root 2022/04/01 03:59 upstream b4a5ea09b293 68fc921a .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-root 2022/04/01 02:15 upstream b4a5ea09b293 68fc921a .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/03/31 22:29 upstream b4a5ea09b293 c4c32d8c .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/03/31 18:59 upstream 787af64d05cd c4c32d8c .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-selinux-root 2022/03/31 17:40 upstream 787af64d05cd c4c32d8c .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/03/31 14:43 upstream 787af64d05cd c4c32d8c .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-selinux-root 2022/03/31 12:39 upstream 787af64d05cd c4c32d8c .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/03/31 07:28 upstream 787af64d05cd 9d49f3a7 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-root 2022/03/31 04:39 upstream 787af64d05cd 9d49f3a7 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce 2022/03/30 21:38 upstream d888c83fcec7 42718dd6 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/03/30 16:36 upstream d888c83fcec7 42718dd6 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce 2022/03/30 13:44 upstream d888c83fcec7 42718dd6 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/03/30 11:57 upstream d888c83fcec7 42718dd6 .config log report info WARNING in blk_release_queue
ci-qemu-upstream 2022/03/30 10:30 upstream d888c83fcec7 6bdac766 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce 2022/03/30 04:31 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce 2022/03/30 03:25 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/03/29 22:45 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/03/29 16:29 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in blk_release_queue
ci-qemu-upstream 2022/03/29 12:25 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-root 2022/03/29 04:56 upstream cffb2b72d3ed 6bdac766 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce 2022/03/29 01:05 upstream cffb2b72d3ed ee339263 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-selinux-root 2022/03/28 19:20 upstream ae085d7f9365 ee339263 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/03/28 07:39 upstream f82da161ea75 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce 2022/03/27 23:56 upstream f82da161ea75 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-root 2022/03/27 22:12 upstream f022814633e1 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-root 2022/03/27 13:14 upstream f022814633e1 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-root 2022/03/27 11:13 upstream f022814633e1 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce 2022/03/27 09:57 upstream bddac7c1e02b 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-smack-root 2022/03/26 23:36 upstream bddac7c1e02b 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-root 2022/03/26 21:16 upstream bddac7c1e02b 89bc8608 .config log report info WARNING in blk_release_queue
ci-qemu-upstream 2022/03/26 18:43 upstream 52d543b5497c 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-selinux-root 2022/03/26 04:34 upstream 52d543b5497c 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-selinux-root 2022/03/25 22:34 upstream 34af78c4e616 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-386 2022/03/31 16:03 upstream 787af64d05cd c4c32d8c .config log report info WARNING in blk_release_queue
ci-qemu-upstream-386 2022/03/30 23:40 upstream 74164d284b29 9d49f3a7 .config log report info WARNING in blk_release_queue
ci-qemu2-arm64 2022/03/30 15:15 upstream d888c83fcec7 42718dd6 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-386 2022/03/29 18:55 upstream 1930a6e739c4 6bdac766 .config log report info WARNING in blk_release_queue
ci-qemu2-arm64-compat 2022/03/29 11:13 upstream cffb2b72d3ed 6bdac766 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-386 2022/03/29 06:20 upstream cffb2b72d3ed 6bdac766 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-386 2022/03/28 14:20 upstream ae085d7f9365 ee339263 .config log report info WARNING in blk_release_queue
ci-qemu2-arm64 2022/03/28 09:32 upstream ae085d7f9365 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-386 2022/03/28 04:04 upstream f82da161ea75 89bc8608 .config log report info WARNING in blk_release_queue
ci-qemu2-arm64 2022/03/28 02:21 upstream 7001052160d1 89bc8608 .config log report info WARNING in blk_release_queue
ci-qemu-upstream-386 2022/03/27 08:04 upstream f022814633e1 89bc8608 .config log report info WARNING in blk_release_queue
ci-qemu-upstream-386 2022/03/26 17:31 upstream 52d543b5497c 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-kasan-gce-386 2022/03/26 12:20 upstream 52d543b5497c 89bc8608 .config log report info WARNING in blk_release_queue
ci-qemu2-arm64-compat 2022/03/26 11:18 upstream cb7cbaae7fd9 89bc8608 .config log report info WARNING in blk_release_queue
ci-qemu2-arm64-compat 2022/03/26 09:21 upstream cb7cbaae7fd9 89bc8608 .config log report info WARNING in blk_release_queue
ci-qemu-upstream-386 2022/03/26 07:38 upstream cb7cbaae7fd9 89bc8608 .config log report info WARNING in blk_release_queue
ci-upstream-net-kasan-gce 2022/04/03 22:16 net-next 2975dbdc3989 79a2a8fc .config log report info WARNING in blk_release_queue
ci-upstream-net-kasan-gce 2022/03/29 02:05 net-next d717e4cae0fe 6bdac766 .config log report info WARNING in blk_release_queue
ci-upstream-net-kasan-gce 2022/03/28 12:03 net-next 169e77764adc ee339263 .config log report info WARNING in blk_release_queue
ci-upstream-linux-next-kasan-gce-root 2022/03/23 09:48 linux-next b61581ae229d 5ff41e94 .config log report info WARNING in blk_release_queue
ci-upstream-linux-next-kasan-gce-root 2022/03/21 17:21 linux-next f9006d9269ea e2d91b1d .config log report info WARNING in blk_release_queue
ci-upstream-linux-next-kasan-gce-root 2022/03/21 15:30 linux-next f9006d9269ea e2d91b1d .config log report info WARNING in blk_release_queue