syzbot


INFO: task hung in blk_mq_freeze_queue

Status: public: reported C repro on 2019/04/11 08:44
Reported-by: syzbot+92af4d89882e0aee1b41@syzkaller.appspotmail.com
First crash: 2461d, last: 2319d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in blk_mq_freeze_queue (2) block 79 1096d 1097d 0/28 closed as dup on 2021/11/21 13:58
android-49 INFO: task hung in blk_mq_freeze_queue C 379 2320d 2050d 0/3 public: reported C repro on 2019/04/12 00:00
upstream INFO: task hung in blk_mq_freeze_queue block 3 2028d 2180d 0/28 auto-closed as invalid on 2019/10/25 10:51

Sample crash report:
INFO: task syz-executor521:3948 blocked for more than 140 seconds.
      Not tainted 4.4.140-ged9bdc8 #68
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor521 D ffff8800b970fa80 27392  3948   3946 0x00000000
 ffff8800b970fa80 0000000000000246 0000000000000296 0000000041b58ab3
 ffffffff841e1c00 ffff8801db31fdb8 ffff8801db31fde0 ffff8801db31f4d8
 ffff8801db31f4c0 ffff8801d6d00000 ffff8801d6ff1800 0000000000000000
Call Trace:
 [<ffffffff838b476a>] schedule+0x7a/0x1b0 kernel/sched/core.c:3359
 [<ffffffff81da0ba0>] blk_mq_freeze_queue_wait+0x120/0x240 block/blk-mq.c:95
 [<ffffffff81da929d>] blk_freeze_queue block/blk-mq.c:112 [inline]
 [<ffffffff81da929d>] blk_mq_freeze_queue+0x1d/0x20 block/blk-mq.c:121
 [<ffffffff8251b742>] loop_switch drivers/block/loop.c:610 [inline]
 [<ffffffff8251b742>] loop_change_fd drivers/block/loop.c:696 [inline]
 [<ffffffff8251b742>] lo_ioctl+0x722/0x1ad0 drivers/block/loop.c:1361
 [<ffffffff81db72e8>] __blkdev_driver_ioctl block/ioctl.c:288 [inline]
 [<ffffffff81db72e8>] blkdev_ioctl+0x7b8/0x19c0 block/ioctl.c:584
 [<ffffffff815d400e>] block_ioctl+0xde/0x120 fs/block_dev.c:1625
 [<ffffffff81559ccf>] vfs_ioctl fs/ioctl.c:43 [inline]
 [<ffffffff81559ccf>] file_ioctl fs/ioctl.c:470 [inline]
 [<ffffffff81559ccf>] do_vfs_ioctl+0x63f/0xf40 fs/ioctl.c:605
 [<ffffffff8155a65f>] SYSC_ioctl fs/ioctl.c:622 [inline]
 [<ffffffff8155a65f>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:613
 [<ffffffff838c27a5>] entry_SYSCALL_64_fastpath+0x22/0x9e
1 lock held by syz-executor521/3948:
 #0:  (&lo->lo_ctl_mutex/1){+.+.+.}, at: [<ffffffff8251b0ab>] lo_ioctl+0x8b/0x1ad0 drivers/block/loop.c:1355
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.140-ged9bdc8 #68
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffffffff84417840 task.stack: ffffffff84400000
RIP: 0010:[<ffffffff810cc346>]  [<ffffffff810cc346>] native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:49
RSP: 0018:ffffffff84407dc8  EFLAGS: 00000246
RAX: 0000000000000007 RBX: ffffffff84a06128 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff8441811c
RBP: ffffffff84407dc8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: fffffbfff07488ec R15: ffffffff84a06128
FS:  0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f663bc633c0 CR3: 00000000b1c0f000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff84407e00 ffffffff81025cf5 ffffffff84408000 0000000000000000
 0000000000000000 fffffbfff07488ec ffffffff84a06128 ffffffff84407e10
 ffffffff81027240 ffffffff84407e28 ffffffff8121bc47 dffffc0000000000
Call Trace:
 [<ffffffff81025cf5>] arch_safe_halt arch/x86/include/asm/paravirt.h:117 [inline]
 [<ffffffff81025cf5>] default_idle+0x55/0x3c0 arch/x86/kernel/process.c:290
 [<ffffffff81027240>] arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:281
 [<ffffffff8121bc47>] default_idle_call+0x57/0x70 kernel/sched/idle.c:93
 [<ffffffff8121c3ef>] cpuidle_idle_call kernel/sched/idle.c:157 [inline]
 [<ffffffff8121c3ef>] cpu_idle_loop kernel/sched/idle.c:253 [inline]
 [<ffffffff8121c3ef>] cpu_startup_entry+0x6af/0x780 kernel/sched/idle.c:301
 [<ffffffff838af8d1>] rest_init+0x188/0x18e init/main.c:410
 [<ffffffff84a4b8a1>] start_kernel+0x6b3/0x6e7 init/main.c:682
 [<ffffffff84a4a30f>] x86_64_start_reservations+0x29/0x2b arch/x86/kernel/head64.c:196
 [<ffffffff84a4a450>] x86_64_start_kernel+0x13f/0x162 arch/x86/kernel/head64.c:185
Code: 00 00 00 00 00 55 48 89 e5 fa 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb f4 <5d> c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 f4 5d c3 66 0f 1f 84 
NMI backtrace for cpu 1
CPU: 1 PID: 492 Comm: khungtaskd Not tainted 4.4.140-ged9bdc8 #68
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d8d79800 task.stack: ffff8801d8d88000
RIP: 0010:[<ffffffff810bff96>]  [<ffffffff810bff96>] native_apic_mem_write arch/x86/include/asm/apic.h:94 [inline]
RIP: 0010:[<ffffffff810bff96>]  [<ffffffff810bff96>] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline]
RIP: 0010:[<ffffffff810bff96>]  [<ffffffff810bff96>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline]
RIP: 0010:[<ffffffff810bff96>]  [<ffffffff810bff96>] flat_send_IPI_mask+0xf6/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8801d8d8fcc8  EFLAGS: 00000046
RAX: 0000000003000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fb300
RBP: ffff8801d8d8fcf0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000000000003 R14: 0000000000000002 R15: ffffffff8446f6e0
FS:  0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe5b6d9718 CR3: 000000000440c000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff8446f6e0 ffffffff84a19060 0000000000000007 fffffbfff0942cbc
 0000000000000040 ffff8801d8d8fd10 ffffffff810b5f51 ffffffff83c0b760
 0000000000000003 ffff8801d8d8fd68 ffffffff81e19103 ffffffff8140ddaf
Call Trace:
 [<ffffffff810b5f51>] nmi_raise_cpu_backtrace+0x61/0x80 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81e19103>] nmi_trigger_all_cpu_backtrace.cold.4+0x70/0xad lib/nmi_backtrace.c:85
 [<ffffffff810b5ff4>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff8141a499>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff8141a499>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff8141a499>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff8141a499>] watchdog.cold.1+0xd3/0xee kernel/hung_task.c:238
 [<ffffffff81190998>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff838c2bd5>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
Code: b3 5f ff f6 c4 10 75 e2 44 89 e8 c1 e0 18 89 04 25 10 b3 5f ff 44 89 f2 09 da 80 cf 04 41 83 fe 02 0f 44 d3 89 14 25 00 b3 5f ff <41> f7 c4 00 02 00 00 75 1a 4c 89 e7 57 9d 0f 1f 44 00 00 e8 d2 

Crashes (330):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/13 17:19 https://android.googlesource.com/kernel/common android-4.4 ed9bdc8a8fc5 92a49505 .config console log report syz C ci-android-44-kasan-gce
2018/07/10 00:47 https://android.googlesource.com/kernel/common android-4.4 7ba55570970c f25e5770 .config console log report syz C ci-android-44-kasan-gce
2018/06/17 11:32 https://android.googlesource.com/kernel/common android-4.4 07c01385fb82 27c5f59f .config console log report syz C ci-android-44-kasan-gce
2018/06/15 08:34 https://android.googlesource.com/kernel/common android-4.4 a2e2217bd824 27c5f59f .config console log report syz C ci-android-44-kasan-gce
2018/06/13 18:38 https://android.googlesource.com/kernel/common android-4.4 a2e2217bd824 27c5f59f .config console log report syz C ci-android-44-kasan-gce
2018/06/12 22:14 https://android.googlesource.com/kernel/common android-4.4 e4798d7f13c7 6dcbc435 .config console log report syz C ci-android-44-kasan-gce
2018/05/25 20:08 https://android.googlesource.com/kernel/common android-4.4 1d92c594e7b3 f48c20b8 .config console log report syz C ci-android-44-kasan-gce
2018/05/24 12:24 https://android.googlesource.com/kernel/common android-4.4 c3c51ea38a92 f48c20b8 .config console log report syz C ci-android-44-kasan-gce
2018/05/01 04:07 https://android.googlesource.com/kernel/common android-4.4 12ef385f51fe d5b114b4 .config console log report syz C ci-android-44-kasan-gce
2018/07/13 17:28 https://android.googlesource.com/kernel/common android-4.4 ed9bdc8a8fc5 92a49505 .config console log report syz ci-android-44-kasan-gce-386
2018/07/13 09:06 https://android.googlesource.com/kernel/common android-4.4 789274d6967d 06c33b3a .config console log report syz ci-android-44-kasan-gce-386
2018/07/10 01:05 https://android.googlesource.com/kernel/common android-4.4 7ba55570970c f25e5770 .config console log report syz ci-android-44-kasan-gce-386
2018/06/17 11:01 https://android.googlesource.com/kernel/common android-4.4 07c01385fb82 27c5f59f .config console log report syz ci-android-44-kasan-gce-386
2018/06/15 00:42 https://android.googlesource.com/kernel/common android-4.4 a2e2217bd824 27c5f59f .config console log report syz ci-android-44-kasan-gce-386
2018/05/25 20:29 https://android.googlesource.com/kernel/common android-4.4 1d92c594e7b3 f48c20b8 .config console log report syz ci-android-44-kasan-gce-386
2018/07/16 21:44 https://android.googlesource.com/kernel/common android-4.4 ed9bdc8a8fc5 40cb0c9a .config console log report ci-android-44-kasan-gce
2018/06/28 17:27 https://android.googlesource.com/kernel/common android-4.4 cf21a9ac5ee4 dba0b50e .config console log report ci-android-44-kasan-gce
2018/06/12 13:40 https://android.googlesource.com/kernel/common android-4.4 e4798d7f13c7 112eec79 .config console log report ci-android-44-kasan-gce
2018/06/08 11:06 https://android.googlesource.com/kernel/common android-4.4 fb7e31963455 f7b27b7a .config console log report ci-android-44-kasan-gce
2018/06/07 10:13 https://android.googlesource.com/kernel/common android-4.4 fb7e31963455 d2ba33fa .config console log report ci-android-44-kasan-gce
2018/06/03 10:26 https://android.googlesource.com/kernel/common android-4.4 e75204cc0ad5 2f93b54f .config console log report ci-android-44-kasan-gce
2018/06/02 21:34 https://android.googlesource.com/kernel/common android-4.4 e75204cc0ad5 2f93b54f .config console log report ci-android-44-kasan-gce
2018/05/24 20:04 https://android.googlesource.com/kernel/common android-4.4 c3c51ea38a92 f48c20b8 .config console log report ci-android-44-kasan-gce
2018/05/23 13:46 https://android.googlesource.com/kernel/common android-4.4 ecf86ddd92cf f48c20b8 .config console log report ci-android-44-kasan-gce
2018/05/22 05:30 https://android.googlesource.com/kernel/common android-4.4 4f75c34feee6 f48c20b8 .config console log report ci-android-44-kasan-gce
2018/05/21 14:30 https://android.googlesource.com/kernel/common android-4.4 4f75c34feee6 f48c20b8 .config console log report ci-android-44-kasan-gce
2018/05/16 09:11 https://android.googlesource.com/kernel/common android-4.4 aa3863d27614 75b2448a .config console log report ci-android-44-kasan-gce
2018/05/08 07:13 https://android.googlesource.com/kernel/common android-4.4 fcce57111718 045bbd4a .config console log report ci-android-44-kasan-gce
2018/04/29 12:22 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb d5a5d045 .config console log report ci-android-44-kasan-gce
2018/03/29 06:05 https://android.googlesource.com/kernel/common android-4.4 49632c6d9873 bf5e585c .config console log report ci-android-44-kasan-gce
2018/03/29 02:12 https://android.googlesource.com/kernel/common android-4.4 49632c6d9873 bf5e585c .config console log report ci-android-44-kasan-gce
2018/03/28 23:56 https://android.googlesource.com/kernel/common android-4.4 49632c6d9873 bf5e585c .config console log report ci-android-44-kasan-gce
2018/03/28 22:33 https://android.googlesource.com/kernel/common android-4.4 49632c6d9873 bf5e585c .config console log report ci-android-44-kasan-gce
2018/03/28 21:16 https://android.googlesource.com/kernel/common android-4.4 49632c6d9873 bf5e585c .config console log report ci-android-44-kasan-gce
2018/03/28 15:05 https://android.googlesource.com/kernel/common android-4.4 49632c6d9873 bf5e585c .config console log report ci-android-44-kasan-gce
2018/03/28 00:07 https://android.googlesource.com/kernel/common android-4.4 262c43ff0146 bf5e585c .config console log report ci-android-44-kasan-gce
2018/03/27 21:22 https://android.googlesource.com/kernel/common android-4.4 262c43ff0146 bf5e585c .config console log report ci-android-44-kasan-gce
2018/03/27 14:10 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c bf5e585c .config console log report ci-android-44-kasan-gce
2018/03/27 11:33 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c bf5e585c .config console log report ci-android-44-kasan-gce
2018/03/26 06:31 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c e033c1f1 .config console log report ci-android-44-kasan-gce
2018/03/26 04:33 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c e033c1f1 .config console log report ci-android-44-kasan-gce
2018/03/26 02:02 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c e033c1f1 .config console log report ci-android-44-kasan-gce
2018/03/26 00:42 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c e033c1f1 .config console log report ci-android-44-kasan-gce
2018/03/25 23:39 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c e033c1f1 .config console log report ci-android-44-kasan-gce
2018/03/25 21:40 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c e033c1f1 .config console log report ci-android-44-kasan-gce
2018/03/25 18:00 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c e033c1f1 .config console log report ci-android-44-kasan-gce
2018/03/25 10:17 https://android.googlesource.com/kernel/common android-4.4 851fb4da321c 2e9d9054 .config console log report ci-android-44-kasan-gce
2018/03/25 07:17 https://android.googlesource.com/kernel/common android-4.4 d63fdf61a4dc 2e9d9054 .config console log report ci-android-44-kasan-gce
2018/02/24 21:07 https://android.googlesource.com/kernel/common android-4.4 17c7c494f718 5c1e0207 .config console log report ci-android-44-kasan-gce
2018/07/14 02:46 https://android.googlesource.com/kernel/common android-4.4 ed9bdc8a8fc5 92a49505 .config console log report ci-android-44-kasan-gce-386
2018/06/12 09:51 https://android.googlesource.com/kernel/common android-4.4 e4798d7f13c7 112eec79 .config console log report ci-android-44-kasan-gce-386
2018/06/08 16:38 https://android.googlesource.com/kernel/common android-4.4 fb7e31963455 f7b27b7a .config console log report ci-android-44-kasan-gce-386
2018/05/27 22:34 https://android.googlesource.com/kernel/common android-4.4 3f51ea2db97d f48c20b8 .config console log report ci-android-44-kasan-gce-386
2018/05/20 14:07 https://android.googlesource.com/kernel/common android-4.4 4f75c34feee6 f48c20b8 .config console log report ci-android-44-kasan-gce-386
2018/05/04 19:34 https://android.googlesource.com/kernel/common android-4.4 4fca5a0c008a 9ce14f4b .config console log report ci-android-44-kasan-gce-386
2018/04/28 19:11 https://android.googlesource.com/kernel/common android-4.4 23eaecc37dfb d5a5d045 .config console log report ci-android-44-kasan-gce-386
2018/04/02 19:55 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 676bd07e .config console log report ci-android-44-kasan-gce-386
2018/03/29 10:00 https://android.googlesource.com/kernel/common android-4.4 49632c6d9873 bf5e585c .config console log report ci-android-44-kasan-gce-386
2018/03/27 16:06 https://android.googlesource.com/kernel/common android-4.4 262c43ff0146 bf5e585c .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.