syzbot


INFO: task hung in blkdev_issue_zeroout

Status: auto-closed as invalid on 2019/02/22 13:49
First crash: 2114d, last: 2111d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 INFO: task hung in blkdev_issue_zeroout (2) 1 1620d 1620d 0/1 auto-closed as invalid on 2020/03/09 08:50
android-414 INFO: task hung in blkdev_issue_zeroout 1 1884d 1830d 0/1 auto-closed as invalid on 2019/08/18 07:18

Sample crash report:
binder: 8335:8337 ioctl 81009431 20000140 returned -22
binder: 8335:8343 ioctl 81009431 20000140 returned -22
INFO: task syz-executor1:8269 blocked for more than 140 seconds.
      Not tainted 4.9.111-g03c70fe #58
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor1   D26104  8269   3870 0x00000004
 ffff8801a5200000 ffff8801c6a9e4c0 ffff8801cab19a40 ffff8801d7da3000
 ffff8801db321c18 ffff8801d5c6fa40 ffffffff839e7ded 0000000041b58ab3
 ffffffff843c3108 ffffffff81236170 00ff880100000001 ffff8801db3224e8
Call Trace:
 [<ffffffff839e93ef>] schedule+0x7f/0x1b0 kernel/sched/core.c:3557
 [<ffffffff839f5801>] schedule_timeout+0x861/0xf70 kernel/time/timer.c:1768
 [<ffffffff839e75ca>] io_schedule_timeout+0x1ba/0x390 kernel/sched/core.c:5180
 [<ffffffff839ead23>] do_wait_for_common kernel/sched/completion.c:75 [inline]
 [<ffffffff839ead23>] __wait_for_common kernel/sched/completion.c:93 [inline]
 [<ffffffff839ead23>] wait_for_common_io kernel/sched/completion.c:107 [inline]
 [<ffffffff839ead23>] wait_for_completion_io+0x203/0x2e0 kernel/sched/completion.c:155
 [<ffffffff81df9ec2>] submit_bio_wait+0x112/0x180 block/bio.c:885
 [<ffffffff81e3fa75>] __blkdev_issue_zeroout block/blk-lib.c:239 [inline]
 [<ffffffff81e3fa75>] blkdev_issue_zeroout+0x3a5/0x490 block/blk-lib.c:281
 [<ffffffff81632a6d>] blkdev_fallocate+0x32d/0x440 fs/block_dev.c:1822
 [<ffffffff81568789>] vfs_fallocate+0x359/0x600 fs/open.c:329
 [<ffffffff8156b693>] SYSC_fallocate fs/open.c:352 [inline]
 [<ffffffff8156b693>] SyS_fallocate+0x53/0x90 fs/open.c:346
 [<ffffffff81006316>] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282
 [<ffffffff839f8cd3>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb

Showing all locks held in the system:
2 locks held by khungtaskd/519:
 #0:  (rcu_read_lock){......}, at: [<ffffffff813666fc>] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline]
 #0:  (rcu_read_lock){......}, at: [<ffffffff813666fc>] watchdog+0x11c/0xa20 kernel/hung_task.c:239
 #1:  (tasklist_lock){.+.+..}, at: [<ffffffff81425d87>] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336
1 lock held by rsyslogd/3681:
 #0:  (&f->f_pos_lock){+.+.+.}, at: [<ffffffff815d810c>] __fdget_pos+0xac/0xd0 fs/file.c:781
2 locks held by getty/3777:
 #0:  (&tty->ldisc_sem){++++++}, at: [<ffffffff839f6e92>] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367
 #1:  (&ldata->atomic_read_lock){+.+...}, at: [<ffffffff8211e602>] n_tty_read+0x202/0x16e0 drivers/tty/n_tty.c:2133
1 lock held by syz-executor1/8269:
 #0:  (sb_writers){.+.+.+}, at: [<ffffffff8156872b>] sb_start_write include/linux/fs.h:1573 [inline]
 #0:  (sb_writers){.+.+.+}, at: [<ffffffff8156872b>] vfs_fallocate+0x2fb/0x600 fs/open.c:328
1 lock held by syz-executor1/8346:
 #0:  (sb_writers){.+.+.+}, at: [<ffffffff8156872b>] sb_start_write include/linux/fs.h:1573 [inline]
 #0:  (sb_writers){.+.+.+}, at: [<ffffffff8156872b>] vfs_fallocate+0x2fb/0x600 fs/open.c:328

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 519 Comm: khungtaskd Not tainted 4.9.111-g03c70fe #58
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801d951fd08 ffffffff81eb2729 0000000000000000 0000000000000000
 0000000000000000 0000000000000001 ffffffff810b9af0 ffff8801d951fd40
 ffffffff81ebda27 0000000000000000 0000000000000000 0000000000000003
Call Trace:
 [<ffffffff81eb2729>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81eb2729>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff81ebda27>] nmi_cpu_backtrace.cold.2+0x48/0x87 lib/nmi_backtrace.c:99
 [<ffffffff81ebd9ba>] nmi_trigger_cpumask_backtrace+0x12a/0x14f lib/nmi_backtrace.c:60
 [<ffffffff810b9bf4>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37
 [<ffffffff81366c94>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline]
 [<ffffffff81366c94>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff81366c94>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff81366c94>] watchdog+0x6b4/0xa20 kernel/hung_task.c:239
 [<ffffffff8119d05d>] kthread+0x26d/0x300 kernel/kthread.c:211
 [<ffffffff839f8e9c>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at pc 0xffffffff839f78f6

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/07 17:11 https://android.googlesource.com/kernel/common android-4.9 03c70feafdb2 ab89aea9 .config console log report ci-android-49-kasan-gce
2018/07/04 19:47 https://android.googlesource.com/kernel/common android-4.9 03c70feafdb2 e1b966c6 .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.