syzbot


INFO: task hung in __blkdev_get

Status: public: reported syz repro on 2019/04/14 00:02
Reported-by: syzbot+0f5a67e59c689a865fdb@syzkaller.appspotmail.com
First crash: 2267d, last: 1547d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: task hung in __blkdev_get C 1504 1545d 1778d 0/3 public: reported C repro on 2019/04/12 00:00
android-414 INFO: task hung in __blkdev_get 1859 1545d 1777d 0/1 auto-closed as invalid on 2020/02/28 16:13
upstream INFO: task hung in __blkdev_get (3) fs 1 1771d 1771d 0/26 closed as invalid on 2019/05/08 13:05
upstream INFO: task hung in __blkdev_get (2) udf 11 1869d 1993d 0/26 closed as dup on 2018/09/08 15:48
linux-4.14 INFO: task hung in __blkdev_get ntfs vfs C 741 367d 1778d 0/1 upstream: reported C repro on 2019/04/11 13:17
upstream INFO: task hung in __blkdev_get fs C 662 2140d 2266d 5/26 fixed on 2018/05/08 18:30
linux-4.19 INFO: task hung in __blkdev_get vfs ntfs C error 144 360d 1655d 0/1 upstream: reported C repro on 2019/08/13 00:10
upstream INFO: task hung in __blkdev_get (4) fs 1 1589d 1589d 0/26 auto-closed as invalid on 2020/01/15 05:33
upstream INFO: task hung in __blkdev_get (5) fs 8 1168d 1382d 0/26 auto-closed as invalid on 2021/03/11 14:46

Sample crash report:
INFO: task syz-executor.1:2205 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.1  D ffff8800b4fb7668 25104  2205      1 0x00000004
 ffff8800b4fb7668 ffff8801d258c740 2352dfd30ba1e502 ffff8801d258c740
 0000000000000000 ffff8801d258d000 ffff8801db71f180 ffff8801db71f1a8
 ffff8801db71e898 ffff8800b52d8000 ffff8801d258c740 ffffed00169f6001
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
 [<ffffffff8154e9cc>] __blkdev_get+0x10c/0xdf0 fs/block_dev.c:1199
 [<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
1 lock held by syz-executor.1/2205:
 #0:  (&bdev->bd_mutex){+.+.+.}, at: [<ffffffff8154e9cc>] __blkdev_get+0x10c/0xdf0 fs/block_dev.c:1199
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: ffff8800001c0000
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:ffff8800001c7c88  EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fc300
RBP: ffff8800001c7cb8 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: 00007ffeecb4fff8 CR3: 00000000b9192000 CR4: 00000000001606b0
Stack:
 0000000000000001 ffffffff82e5f2e0 ffffffff831a6ac0 fffffbfff0634c34
 000000000001b6c0 0000000000000008 ffff8800001c7cd8 ffffffff81092bee
 0000000000000008 ffffffff82924260 ffff8800001c7d30 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: 0000000000e1a000 CR3: 00000000b9192000 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 (521):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/11 18:50 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 12365b99 .config console log report syz ci-android-44-kasan-gce
2019/02/17 05:34 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f42dee6d .config console log report syz ci-android-44-kasan-gce-386
2019/11/28 08:44 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0d63f89c .config console log report ci-android-44-kasan-gce
2019/11/28 01:31 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0d63f89c .config console log report ci-android-44-kasan-gce
2019/11/19 20:48 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5bc70212 .config console log report ci-android-44-kasan-gce
2019/11/19 14:25 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5bc70212 .config console log report ci-android-44-kasan-gce
2019/11/18 19:39 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 1daed50a .config console log report ci-android-44-kasan-gce
2019/11/17 15:51 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d5696d51 .config console log report ci-android-44-kasan-gce
2019/11/09 11:32 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b dc438b91 .config console log report ci-android-44-kasan-gce
2019/11/08 13:16 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 1e35461e .config console log report ci-android-44-kasan-gce
2019/11/08 03:21 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f39aff9e .config console log report ci-android-44-kasan-gce
2019/11/07 02:28 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b da505f84 .config console log report ci-android-44-kasan-gce
2019/10/30 12:34 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5ea87a66 .config console log report ci-android-44-kasan-gce
2019/10/24 15:01 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d01bb02a .config console log report ci-android-44-kasan-gce
2019/10/23 00:13 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 5681358a .config console log report ci-android-44-kasan-gce
2019/10/20 19:07 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8c88c9c1 .config console log report ci-android-44-kasan-gce
2019/10/12 13:24 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 426631dd .config console log report ci-android-44-kasan-gce
2019/10/11 19:37 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 426631dd .config console log report ci-android-44-kasan-gce
2019/10/08 15:50 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 137e37ca .config console log report ci-android-44-kasan-gce
2019/10/08 12:45 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 28ac6e64 .config console log report ci-android-44-kasan-gce
2019/09/27 03:40 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 2f1548bc .config console log report ci-android-44-kasan-gce
2019/09/26 05:06 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 24d405a3 .config console log report ci-android-44-kasan-gce
2019/09/24 21:11 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0942eab8 .config console log report ci-android-44-kasan-gce
2019/09/19 15:22 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b eb940044 .config console log report ci-android-44-kasan-gce
2019/09/17 17:01 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 13dcda9b .config console log report ci-android-44-kasan-gce
2019/09/16 14:44 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b cb936299 .config console log report ci-android-44-kasan-gce
2019/09/16 13:31 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b cb936299 .config console log report ci-android-44-kasan-gce
2019/09/16 05:30 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 32d59357 .config console log report ci-android-44-kasan-gce
2019/09/10 08:32 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a60cb4cd .config console log report ci-android-44-kasan-gce
2019/09/09 10:08 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a60cb4cd .config console log report ci-android-44-kasan-gce
2019/11/22 03:52 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8098ea0f .config console log report ci-android-44-kasan-gce-386
2019/11/20 07:11 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b f4b7ed07 .config console log report ci-android-44-kasan-gce-386
2019/11/09 01:25 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:58 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 0f3ec414 .config console log report ci-android-44-kasan-gce-386
2019/10/28 17:58 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 439d7b14 .config console log report ci-android-44-kasan-gce-386
2019/10/25 15:30 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c2e837da .config console log report ci-android-44-kasan-gce-386
2019/10/22 13:56 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c59a7cd8 .config console log report ci-android-44-kasan-gce-386
2019/10/20 16:45 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 8c88c9c1 .config console log report ci-android-44-kasan-gce-386
2019/10/15 10:38 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 05ad7292 .config console log report ci-android-44-kasan-gce-386
2019/09/29 10:25 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b c1ad5441 .config console log report ci-android-44-kasan-gce-386
2019/09/22 16:47 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b d96e88f3 .config console log report ci-android-44-kasan-gce-386
2019/09/20 01:48 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b 4d3ae0b7 .config console log report ci-android-44-kasan-gce-386
2019/09/16 14:39 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b cb936299 .config console log report ci-android-44-kasan-gce-386
2019/09/10 13:53 https://android.googlesource.com/kernel/common android-4.4 62872f952d6b a60cb4cd .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.