syzbot


INFO: task hung in do_blockdev_direct_IO

Status: auto-closed as invalid on 2019/02/22 12:59
First crash: 2547d, last: 2322d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 INFO: task hung in do_blockdev_direct_IO 36 2432d 2536d 0/2 auto-closed as invalid on 2019/02/22 14:39

Sample crash report:
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies.  Check SNMP counters.
INFO: task syz-executor1:1632 blocked for more than 140 seconds.
      Not tainted 4.9.112-g9e79039 #59
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor1   D27992  1632   3896 0x00000004
 ffff8801a2113000 ffff88018cfc5f80 ffff8801bea08540 ffff88018e48c800
 ffff8801db321c18 ffff8801cd51f320 ffffffff839e907d 1ffff10039aa3e58
 ffffffff85542200 0000000041b58ab3 00ffffff843c36c0 ffff8801db3224e8
Call Trace:
 [<ffffffff839ea67f>] schedule+0x7f/0x1b0 kernel/sched/core.c:3557
 [<ffffffff839f6a91>] schedule_timeout+0x861/0xf70 kernel/time/timer.c:1768
 [<ffffffff839e885a>] io_schedule_timeout+0x1ba/0x390 kernel/sched/core.c:5180
 [<ffffffff816431db>] io_schedule include/linux/sched.h:460 [inline]
 [<ffffffff816431db>] dio_await_one fs/direct-io.c:461 [inline]
 [<ffffffff816431db>] dio_await_completion fs/direct-io.c:515 [inline]
 [<ffffffff816431db>] do_blockdev_direct_IO+0x2d5b/0x5a80 fs/direct-io.c:1331
 [<ffffffff81645fa5>] __blockdev_direct_IO+0xa5/0xd0 fs/direct-io.c:1360
 [<ffffffff8162fb50>] blkdev_direct_IO+0xa0/0xd0 fs/block_dev.c:183
 [<ffffffff8143e870>] generic_file_read_iter+0x660/0x1a90 mm/filemap.c:1951
 [<ffffffff81632755>] blkdev_read_iter+0x105/0x170 fs/block_dev.c:1738
 [<ffffffff81615159>] generic_file_splice_read+0x2c9/0x4f0 fs/splice.c:309
 [<ffffffff816138ac>] do_splice_to+0x10c/0x170 fs/splice.c:899
 [<ffffffff81613b4f>] splice_direct_to_actor+0x23f/0x7e0 fs/splice.c:971
 [<ffffffff81614293>] do_splice_direct+0x1a3/0x270 fs/splice.c:1080
 [<ffffffff81575680>] do_sendfile+0x4f0/0xc60 fs/read_write.c:1393
 [<ffffffff81577701>] SYSC_sendfile64 fs/read_write.c:1448 [inline]
 [<ffffffff81577701>] SyS_sendfile64+0xd1/0x160 fs/read_write.c:1440
 [<ffffffff81006316>] do_syscall_64+0x1a6/0x490 arch/x86/entry/common.c:282
 [<ffffffff839f9f53>] 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: [<ffffffff8136675c>] check_hung_uninterruptible_tasks kernel/hung_task.c:168 [inline]
 #0:  (rcu_read_lock){......}, at: [<ffffffff8136675c>] watchdog+0x11c/0xa20 kernel/hung_task.c:239
 #1:  (tasklist_lock){.+.+..}, at: [<ffffffff81425de7>] debug_show_all_locks+0x79/0x218 kernel/locking/lockdep.c:4336
2 locks held by getty/3781:
 #0:  (&tty->ldisc_sem){++++++}, at: [<ffffffff839f8122>] ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:367
 #1:  (&ldata->atomic_read_lock){+.+...}, at: [<ffffffff8211edc2>] n_tty_read+0x202/0x16e0 drivers/tty/n_tty.c:2142

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

NMI backtrace for cpu 0
CPU: 0 PID: 519 Comm: khungtaskd Not tainted 4.9.112-g9e79039 #59
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
 ffff8801d859fd08 ffffffff81eb3249 0000000000000000 0000000000000000
 0000000000000000 0000000000000001 ffffffff810b9bd0 ffff8801d859fd40
 ffffffff81ebe547 0000000000000000 0000000000000000 0000000000000003
Call Trace:
 [<ffffffff81eb3249>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81eb3249>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff81ebe547>] nmi_cpu_backtrace.cold.2+0x48/0x87 lib/nmi_backtrace.c:99
 [<ffffffff81ebe4da>] nmi_trigger_cpumask_backtrace+0x12a/0x14f lib/nmi_backtrace.c:60
 [<ffffffff810b9cd4>] arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:37
 [<ffffffff81366cf4>] trigger_all_cpu_backtrace include/linux/nmi.h:58 [inline]
 [<ffffffff81366cf4>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff81366cf4>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff81366cf4>] watchdog+0x6b4/0xa20 kernel/hung_task.c:239
 [<ffffffff8119d0bd>] kthread+0x26d/0x300 kernel/kthread.c:211
 [<ffffffff839fa11c>] 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 0xffffffff839f8b86

Crashes (678):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/14 12:03 https://android.googlesource.com/kernel/common android-4.9 9e7903954483 92a49505 .config console log report ci-android-49-kasan-gce
2018/06/03 18:47 https://android.googlesource.com/kernel/common android-4.9 d7e64f8022e4 2f93b54f .config console log report ci-android-49-kasan-gce
2018/05/25 12:29 https://android.googlesource.com/kernel/common android-4.9 2e35bed46b50 f48c20b8 .config console log report ci-android-49-kasan-gce
2018/05/22 06:04 https://android.googlesource.com/kernel/common android-4.9 aef17a58e8ca f48c20b8 .config console log report ci-android-49-kasan-gce-root
2018/05/22 03:21 https://android.googlesource.com/kernel/common android-4.9 aef17a58e8ca f48c20b8 .config console log report ci-android-49-kasan-gce-root
2018/05/19 04:54 https://android.googlesource.com/kernel/common android-4.9 e14d1a35ebd9 849705db .config console log report ci-android-49-kasan-gce-root
2018/05/17 07:54 https://android.googlesource.com/kernel/common android-4.9 73fdfa38c59d a367c1d7 .config console log report ci-android-49-kasan-gce-root
2018/05/16 15:04 https://android.googlesource.com/kernel/common android-4.9 39c856663dcc 75b2448a .config console log report ci-android-49-kasan-gce
2018/04/28 00:59 https://android.googlesource.com/kernel/common android-4.9 71fce1edd26d 7785e404 .config console log report ci-android-49-kasan-gce
2018/04/27 00:45 https://android.googlesource.com/kernel/common android-4.9 71fce1edd26d 73417389 .config console log report ci-android-49-kasan-gce
2018/04/23 17:30 https://android.googlesource.com/kernel/common android-4.9 142d4b530f5a 0d8e591c .config console log report ci-android-49-kasan-gce
2018/04/16 00:36 https://android.googlesource.com/kernel/common android-4.9 8683408f8e81 7a67784c .config console log report ci-android-49-kasan-gce
2018/04/14 23:06 https://android.googlesource.com/kernel/common android-4.9 2ba4887f2937 7a67784c .config console log report ci-android-49-kasan-gce
2018/04/02 11:47 https://android.googlesource.com/kernel/common android-4.9 9c3fb9cd6e63 dc889257 .config console log report ci-android-49-kasan-gce
2018/04/02 02:17 https://android.googlesource.com/kernel/common android-4.9 9c3fb9cd6e63 dc889257 .config console log report ci-android-49-kasan-gce
2018/03/30 07:59 https://android.googlesource.com/kernel/common android-4.9 bb94f9d8f542 d47f0ed6 .config console log report ci-android-49-kasan-gce
2018/03/25 11:59 https://android.googlesource.com/kernel/common android-4.9 dd1e37e64645 e033c1f1 .config console log report ci-android-49-kasan-gce
2018/03/20 17:23 https://android.googlesource.com/kernel/common android-4.9 71df7bbae4d8 72c33b66 .config console log report ci-android-49-kasan-gce
2018/03/19 05:00 https://android.googlesource.com/kernel/common android-4.9 bb52bba67e35 08dacaa0 .config console log report ci-android-49-kasan-gce
2018/03/13 22:18 https://android.googlesource.com/kernel/common android-4.9 97d7f1c7c0f0 08dacaa0 .config console log report ci-android-49-kasan-gce
2018/07/04 12:24 https://android.googlesource.com/kernel/common android-4.9 00a0bcbfcfb6 317fc8ea .config console log report ci-android-49-kasan-gce-386
2018/07/04 06:35 https://android.googlesource.com/kernel/common android-4.9 00a0bcbfcfb6 317fc8ea .config console log report ci-android-49-kasan-gce-386
2018/07/04 03:55 https://android.googlesource.com/kernel/common android-4.9 00a0bcbfcfb6 317fc8ea .config console log report ci-android-49-kasan-gce-386
2018/07/03 22:10 https://android.googlesource.com/kernel/common android-4.9 00a0bcbfcfb6 317fc8ea .config console log report ci-android-49-kasan-gce-386
2018/07/03 12:13 https://android.googlesource.com/kernel/common android-4.9 00a0bcbfcfb6 317fc8ea .config console log report ci-android-49-kasan-gce-386
2018/06/20 00:48 https://android.googlesource.com/kernel/common android-4.9 e1815b3eba5b 095ef806 .config console log report ci-android-49-kasan-gce-386
2018/06/15 09:23 https://android.googlesource.com/kernel/common android-4.9 b7d377b4640b 27c5f59f .config console log report ci-android-49-kasan-gce-386
2018/06/13 04:52 https://android.googlesource.com/kernel/common android-4.9 db2c520bb56b 6dcbc435 .config console log report ci-android-49-kasan-gce-386
2018/06/07 03:33 https://android.googlesource.com/kernel/common android-4.9 42a730adb6e2 e0e534c6 .config console log report ci-android-49-kasan-gce-386
2018/06/03 14:18 https://android.googlesource.com/kernel/common android-4.9 d7e64f8022e4 2f93b54f .config console log report ci-android-49-kasan-gce-386
2018/06/02 22:20 https://android.googlesource.com/kernel/common android-4.9 d7e64f8022e4 2f93b54f .config console log report ci-android-49-kasan-gce-386
2018/06/01 09:18 https://android.googlesource.com/kernel/common android-4.9 a56900fabe12 2f93b54f .config console log report ci-android-49-kasan-gce-386
2018/05/30 09:57 https://android.googlesource.com/kernel/common android-4.9 7fd40752c316 2f93b54f .config console log report ci-android-49-kasan-gce-386
2018/05/25 09:46 https://android.googlesource.com/kernel/common android-4.9 2e35bed46b50 f48c20b8 .config console log report ci-android-49-kasan-gce-386
2018/05/03 08:36 https://android.googlesource.com/kernel/common android-4.9 f679e4d9b77a 9ce14f4b .config console log report ci-android-49-kasan-gce-386
2018/05/02 16:30 https://android.googlesource.com/kernel/common android-4.9 1321d4226176 d5b114b4 .config console log report ci-android-49-kasan-gce-386
2018/04/06 21:43 https://android.googlesource.com/kernel/common android-4.9 7cd956196346 4f1152d4 .config console log report ci-android-49-kasan-gce-386
2018/03/28 17:40 https://android.googlesource.com/kernel/common android-4.9 dd1e37e64645 bf5e585c .config console log report ci-android-49-kasan-gce-386
2018/03/26 05:01 https://android.googlesource.com/kernel/common android-4.9 dd1e37e64645 e033c1f1 .config console log report ci-android-49-kasan-gce-386
2018/03/25 06:12 https://android.googlesource.com/kernel/common android-4.9 f152ce1be2ab 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/24 02:30 https://android.googlesource.com/kernel/common android-4.9 ebc27895e954 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/23 05:42 https://android.googlesource.com/kernel/common android-4.9 f361eb39cdbf 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/21 22:46 https://android.googlesource.com/kernel/common android-4.9 71df7bbae4d8 f63eeee9 .config console log report ci-android-49-kasan-gce-386
2018/03/21 20:47 https://android.googlesource.com/kernel/common android-4.9 71df7bbae4d8 f63eeee9 .config console log report ci-android-49-kasan-gce-386
2018/03/20 11:29 https://android.googlesource.com/kernel/common android-4.9 71df7bbae4d8 7e7d7ed2 .config console log report ci-android-49-kasan-gce-386
2018/03/18 01:26 https://android.googlesource.com/kernel/common android-4.9 fc8bd0f6ffec 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/15 03:05 https://android.googlesource.com/kernel/common android-4.9 52447008883e 08dacaa0 .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.