syzbot


INFO: task hung in lo_open

Status: public: reported syz repro on 2019/04/14 00:02
Reported-by: syzbot+182aac5a89b85fd7ed4c@syzkaller.appspotmail.com
First crash: 2426d, last: 1814d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in lo_open (2) block 10 2198d 2426d 11/28 fixed on 2019/01/15 20:25
android-49 INFO: task hung in lo_open C 2683 1814d 2048d 0/3 public: reported C repro on 2019/04/14 09:28
android-414 INFO: task hung in lo_open C 6143 1814d 2051d 0/1 public: reported C repro on 2019/04/11 00:00
linux-4.14 INFO: task hung in lo_open C 1230 653d 2051d 0/1 upstream: reported C repro on 2019/04/11 12:30
upstream INFO: task hung in lo_open block 3 2515d 2531d 0/28 closed as invalid on 2018/02/14 14:52

Sample crash report:
INFO: task syz-executor.3:2206 blocked for more than 140 seconds.
      Not tainted 4.4.174+ #4
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.3  D ffff8801d21ff648 25480  2206      1 0x00000004
 ffff8801d21ff648 ffff8800b4e65f00 8630f138dfd5bf9c ffff8800b4e65f00
 0000000000000001 ffff8800b4e66700 ffff8801db61f180 ffff8801db61f1a8
 ffff8801db61e898 ffff8801d208af80 ffff8800b4e65f00 ffffed003a43f001
Call Trace:
 [<ffffffff82709b79>] schedule+0x99/0x1d0 kernel/sched/core.c:3355
 [<ffffffff8270a333>] schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3388
 [<ffffffff8270c492>] __mutex_lock_common kernel/locking/mutex.c:582 [inline]
 [<ffffffff8270c492>] mutex_lock_nested+0x3c2/0xb80 kernel/locking/mutex.c:621
 [<ffffffff81d3d70d>] lo_open+0x1d/0xb0 drivers/block/loop.c:1633
 [<ffffffff8154eb6e>] __blkdev_get+0x2ae/0xdf0 fs/block_dev.c:1213
 [<ffffffff81551938>] blkdev_get+0x2e8/0x920 fs/block_dev.c:1353
 [<ffffffff8155219a>] blkdev_open+0x1aa/0x250 fs/block_dev.c:1508
 [<ffffffff8149154f>] do_dentry_open+0x38f/0xbd0 fs/open.c:749
 [<ffffffff81494d3b>] vfs_open+0x10b/0x210 fs/open.c:862
 [<ffffffff814c5ddf>] do_last fs/namei.c:3269 [inline]
 [<ffffffff814c5ddf>] path_openat+0x136f/0x4470 fs/namei.c:3406
 [<ffffffff814ccab1>] do_filp_open+0x1a1/0x270 fs/namei.c:3440
 [<ffffffff81495668>] do_sys_open+0x2f8/0x600 fs/open.c:1038
 [<ffffffff8149599d>] SYSC_open fs/open.c:1056 [inline]
 [<ffffffff8149599d>] SyS_open+0x2d/0x40 fs/open.c:1051
 [<ffffffff82718ba1>] entry_SYSCALL_64_fastpath+0x1e/0x9a
2 locks held by syz-executor.3/2206:
 #0:  (&bdev->bd_mutex){+.+.+.}, at: [<ffffffff8154e9cc>] __blkdev_get+0x10c/0xdf0 fs/block_dev.c:1199
 #1:  (loop_index_mutex){+.+.+.}, at: [<ffffffff81d3d70d>] lo_open+0x1d/0xb0 drivers/block/loop.c:1633
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 20 Comm: khungtaskd Not tainted 4.4.174+ #4
task: ffff8801da6f4740 task.stack: ffff8800001d0000
RIP: 0010:[<ffffffff8109b617>]  [<ffffffff8109b617>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:62 [inline]
RIP: 0010:[<ffffffff8109b617>]  [<ffffffff8109b617>] flat_send_IPI_mask+0xf7/0x1b0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8800001d7c88  EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fc300
RBP: ffff8800001d7cb8 R08: 0000000000000018 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000003000000 R14: ffffffff82e5f2e0 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8801db600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000781f04 CR3: 00000001d731b000 CR4: 00000000001606b0
Stack:
 0000000000000001 ffffffff82e5f2e0 ffffffff831a6ac0 fffffbfff0634c34
 000000000001b6c0 0000000000000008 ffff8800001d7cd8 ffffffff81092bee
 0000000000000008 ffffffff82924260 ffff8800001d7d30 ffffffff81ab8252
Call Trace:
 [<ffffffff81092bee>] nmi_raise_cpu_backtrace+0x5e/0x80 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81ab8252>] nmi_trigger_all_cpu_backtrace.cold+0xa1/0xae lib/nmi_backtrace.c:85
 [<ffffffff81092ca4>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff813b4762>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff813b4762>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff813b4762>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff813b4762>] watchdog.cold+0xd3/0xee kernel/hung_task.c:238
 [<ffffffff811342c3>] kthread+0x273/0x310 kernel/kthread.c:211
 [<ffffffff82718fc5>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:537
Code: 00 c3 5f ff 80 e6 10 75 e1 41 c1 e5 18 44 89 2c 25 10 c3 5f ff 44 89 fa 09 da 80 cf 04 41 83 ff 02 0f 44 d3 89 14 25 00 c3 5f ff <41> f7 c4 00 02 00 00 75 1e 4c 89 e7 57 9d 0f 1f 44 00 00 e8 f1 
NMI backtrace for cpu 1
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.174+ #4
task: ffff8801da6897c0 task.stack: ffff8801da698000
RIP: 0010:[<ffffffff810a1dc2>]  [<ffffffff810a1dc2>] native_safe_halt+0x2/0x10 arch/x86/include/asm/irqflags.h:53
RSP: 0018:ffff8801da69fd88  EFLAGS: 00000246
RAX: 0000000000000007 RBX: ffffffff8319bf68 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8801da68a084
RBP: ffff8801da69fdb8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: ffff8801da6a0000 R14: dffffc0000000000 R15: ffff8801da698000
FS:  0000000000000000(0000) GS:ffff8801db700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000173b000 CR3: 00000001d731b000 CR4: 00000000001606b0
Stack:
 ffffffff81020b16 ffff8801da698000 0000000000000000 ffff8801da6a0000
 dffffc0000000000 ffff8801da698000 ffff8801da69fdc8 ffffffff81022d50
 ffff8801da69fde0 ffffffff811eb4c8 0000000000000000 ffff8801da69fea8
Call Trace:
 [<ffffffff81022d50>] arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:423
 [<ffffffff811eb4c8>] default_idle_call+0x48/0x70 kernel/sched/idle.c:93
 [<ffffffff811ebca1>] cpuidle_idle_call kernel/sched/idle.c:157 [inline]
 [<ffffffff811ebca1>] cpu_idle_loop kernel/sched/idle.c:253 [inline]
 [<ffffffff811ebca1>] cpu_startup_entry+0x6d1/0x810 kernel/sched/idle.c:301
 [<ffffffff8108719d>] start_secondary+0x31d/0x410 arch/x86/kernel/smpboot.c:245
Code: 2e 0f 1f 84 00 00 00 00 00 fa c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 fb c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 fb f4 <c3> 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 f4 c3 0f 1f 40 00 66 

Crashes (593):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/09 16:00 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report syz ci-android-44-kasan-gce
2019/02/14 11:08 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 6a46f448 .config console log report syz ci-android-44-kasan-gce
2019/02/13 05:19 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 1eedba36 .config console log report syz ci-android-44-kasan-gce
2019/04/29 05:44 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b b617407b .config console log report syz ci-android-44-kasan-gce-386
2019/03/11 18:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report syz ci-android-44-kasan-gce-386
2019/03/09 15:58 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report syz ci-android-44-kasan-gce-386
2019/12/03 21:55 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ae13a849 .config console log report ci-android-44-kasan-gce
2019/12/01 11:43 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/12/01 08:17 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a76bf83f .config console log report ci-android-44-kasan-gce
2019/11/29 22:18 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d29b9e84 .config console log report ci-android-44-kasan-gce
2019/11/29 15:49 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d29b9e84 .config console log report ci-android-44-kasan-gce
2019/11/29 01:21 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 76357d6f .config console log report ci-android-44-kasan-gce
2019/11/28 14:13 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 46869e3e .config console log report ci-android-44-kasan-gce
2019/11/26 20:19 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 1048481f .config console log report ci-android-44-kasan-gce
2019/11/26 13:17 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f746151a .config console log report ci-android-44-kasan-gce
2019/11/26 03:30 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f746151a .config console log report ci-android-44-kasan-gce
2019/11/24 20:12 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 598ca6c8 .config console log report ci-android-44-kasan-gce
2019/11/21 17:21 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8098ea0f .config console log report ci-android-44-kasan-gce
2019/11/20 23:04 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8098ea0f .config console log report ci-android-44-kasan-gce
2019/11/19 21:38 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5bc70212 .config console log report ci-android-44-kasan-gce
2019/11/19 15:42 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5bc70212 .config console log report ci-android-44-kasan-gce
2019/11/19 08:47 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5bc70212 .config console log report ci-android-44-kasan-gce
2019/11/16 15:50 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d5696d51 .config console log report ci-android-44-kasan-gce
2019/11/15 11:21 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 79248ee8 .config console log report ci-android-44-kasan-gce
2019/11/11 20:46 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce
2019/11/09 01:36 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dc438b91 .config console log report ci-android-44-kasan-gce
2019/11/07 21:01 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f39aff9e .config console log report ci-android-44-kasan-gce
2019/11/07 05:58 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d797d201 .config console log report ci-android-44-kasan-gce
2019/11/06 05:29 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b bc2c6e45 .config console log report ci-android-44-kasan-gce
2019/11/03 14:24 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c9610487 .config console log report ci-android-44-kasan-gce
2019/10/26 17:25 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 25bb509e .config console log report ci-android-44-kasan-gce
2019/10/26 07:20 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 413926c5 .config console log report ci-android-44-kasan-gce
2019/10/26 05:27 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 413926c5 .config console log report ci-android-44-kasan-gce
2019/10/24 09:37 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d01bb02a .config console log report ci-android-44-kasan-gce
2019/10/24 06:04 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b b602d64b .config console log report ci-android-44-kasan-gce
2019/10/24 00:38 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b b602d64b .config console log report ci-android-44-kasan-gce
2019/12/03 14:15 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce-386
2019/12/03 01:58 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b ab342da3 .config console log report ci-android-44-kasan-gce-386
2019/11/29 19:24 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d29b9e84 .config console log report ci-android-44-kasan-gce-386
2019/11/28 03:29 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0d63f89c .config console log report ci-android-44-kasan-gce-386
2019/11/16 14:39 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d5696d51 .config console log report ci-android-44-kasan-gce-386
2019/11/11 18:30 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 048f2d49 .config console log report ci-android-44-kasan-gce-386
2019/11/09 08:09 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dc438b91 .config console log report ci-android-44-kasan-gce-386
2019/11/06 00:51 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0f3ec414 .config console log report ci-android-44-kasan-gce-386
2019/11/03 18:35 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c9610487 .config console log report ci-android-44-kasan-gce-386
2019/11/03 08:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a41ca8fa .config console log report ci-android-44-kasan-gce-386
2019/11/01 00:04 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a41ca8fa .config console log report ci-android-44-kasan-gce-386
2019/10/24 23:02 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d01bb02a .config console log report ci-android-44-kasan-gce-386
2019/10/24 03:18 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b b602d64b .config console log report ci-android-44-kasan-gce-386
2019/10/23 18:16 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b b602d64b .config console log report ci-android-44-kasan-gce-386
2018/03/31 21:13 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 0174c6c8 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.