syzbot


INFO: task hung in blkdev_fsync

Status: auto-closed as invalid on 2019/02/22 15:27
First crash: 2479d, last: 2328d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 INFO: task hung in blkdev_fsync 42 2403d 2480d 0/2 auto-closed as invalid on 2019/02/22 13:49
upstream INFO: task hung in blkdev_fsync (2) kasan mm 1 1085d 1085d 0/28 closed as invalid on 2022/02/08 09:40
upstream INFO: task hung in blkdev_fsync fs 29 2415d 2479d 0/28 closed as dup on 2018/02/14 15:37

Sample crash report:
binder: undelivered TRANSACTION_COMPLETE
binder: send failed reply for transaction 127, target dead
INFO: task syz-executor5:18611 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-executor5   D28928 18611   3857 0x00000004
 ffff8801d8cf9800 ffff8801d05f8fc0 ffff8801a5621a40 ffff8801952e3000
 ffff8801db221c18 ffff8801960f7970 ffffffff839e7ded 0000000041b58ab3
 ffffffff843c3108 ffffffff81236170 00ffe8ffffc01480 ffff8801db2224e8
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
 [<ffffffff839ea839>] io_schedule include/linux/sched.h:460 [inline]
 [<ffffffff839ea839>] bit_wait_io+0x19/0xa0 kernel/sched/wait.c:582
 [<ffffffff839e9f83>] __wait_on_bit+0x93/0x120 kernel/sched/wait.c:383
 [<ffffffff81433f50>] wait_on_page_bit+0x130/0x140 mm/filemap.c:802
 [<ffffffff81434121>] wait_on_page_writeback include/linux/pagemap.h:526 [inline]
 [<ffffffff81434121>] __filemap_fdatawait_range+0x1c1/0x290 mm/filemap.c:453
 [<ffffffff81434215>] filemap_fdatawait_range+0x25/0x50 mm/filemap.c:483
 [<ffffffff8143cf65>] filemap_write_and_wait_range+0x85/0xb0 mm/filemap.c:584
 [<ffffffff8162f146>] blkdev_fsync+0x66/0xb0 fs/block_dev.c:369
 [<ffffffff8161a76c>] vfs_fsync_range+0x10c/0x260 fs/sync.c:195
 [<ffffffff8161a932>] vfs_fsync fs/sync.c:209 [inline]
 [<ffffffff8161a932>] do_fsync+0x42/0xb0 fs/sync.c:219
 [<ffffffff8161b0d9>] SYSC_fdatasync fs/sync.c:233 [inline]
 [<ffffffff8161b0d9>] SyS_fdatasync+0x19/0x20 fs/sync.c:231
 [<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/3676:
 #0:  (&f->f_pos_lock){+.+.+.}, at: [<ffffffff815d810c>] __fdget_pos+0xac/0xd0 fs/file.c:781
2 locks held by getty/3772:
 #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

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

NMI backtrace for cpu 1
CPU: 1 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
 ffff8801d96dfd08 ffffffff81eb2729 0000000000000000 0000000000000001
 0000000000000001 0000000000000001 ffffffff810b9af0 ffff8801d96dfd40
 ffffffff81ebda27 0000000000000001 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 1 to CPUs 0:
NMI backtrace for cpu 0 skipped: idling at pc 0xffffffff839f78f6

Crashes (61):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/07 19:50 https://android.googlesource.com/kernel/common android-4.9 03c70feafdb2 ab89aea9 .config console log report ci-android-49-kasan-gce
2018/04/05 22:53 https://android.googlesource.com/kernel/common android-4.9 7cd956196346 a932eae6 .config console log report ci-android-49-kasan-gce
2018/04/05 11:45 https://android.googlesource.com/kernel/common android-4.9 7cd956196346 5e1ccffc .config console log report ci-android-49-kasan-gce
2018/03/13 12:09 https://android.googlesource.com/kernel/common android-4.9 a2904940bde8 08dacaa0 .config console log report ci-android-49-kasan-gce
2018/03/12 14:51 https://android.googlesource.com/kernel/common android-4.9 a2904940bde8 f505ca4b .config console log report ci-android-49-kasan-gce
2018/03/09 14:29 https://android.googlesource.com/kernel/common android-4.9 00db063b0f88 36d1c454 .config console log report ci-android-49-kasan-gce
2018/03/07 02:12 https://android.googlesource.com/kernel/common android-4.9 b324a701539e c8a18476 .config console log report ci-android-49-kasan-gce
2018/02/07 03:49 https://android.googlesource.com/kernel/common android-4.9 550c01d0e051 66c15deb .config console log report ci-android-49-kasan-gce
2018/04/17 05:20 https://android.googlesource.com/kernel/common android-4.9 8683408f8e81 b80fd3b5 .config console log report ci-android-49-kasan-gce-386
2018/04/04 08:46 https://android.googlesource.com/kernel/common android-4.9 13b40d327b49 676bd07e .config console log report ci-android-49-kasan-gce-386
2018/04/02 19:05 https://android.googlesource.com/kernel/common android-4.9 9c3fb9cd6e63 676bd07e .config console log report ci-android-49-kasan-gce-386
2018/04/02 13:25 https://android.googlesource.com/kernel/common android-4.9 9c3fb9cd6e63 dc889257 .config console log report ci-android-49-kasan-gce-386
2018/03/31 21:44 https://android.googlesource.com/kernel/common android-4.9 9c3fb9cd6e63 0174c6c8 .config console log report ci-android-49-kasan-gce-386
2018/03/26 10:14 https://android.googlesource.com/kernel/common android-4.9 dd1e37e64645 e033c1f1 .config console log report ci-android-49-kasan-gce-386
2018/03/25 15:26 https://android.googlesource.com/kernel/common android-4.9 dd1e37e64645 e033c1f1 .config console log report ci-android-49-kasan-gce-386
2018/03/25 11:23 https://android.googlesource.com/kernel/common android-4.9 dd1e37e64645 e033c1f1 .config console log report ci-android-49-kasan-gce-386
2018/03/24 12:21 https://android.googlesource.com/kernel/common android-4.9 e34e3186e9e3 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/24 11:11 https://android.googlesource.com/kernel/common android-4.9 e34e3186e9e3 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/23 23:54 https://android.googlesource.com/kernel/common android-4.9 ebc27895e954 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/23 21:18 https://android.googlesource.com/kernel/common android-4.9 ebc27895e954 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/23 20:05 https://android.googlesource.com/kernel/common android-4.9 ebc27895e954 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/23 10:46 https://android.googlesource.com/kernel/common android-4.9 f361eb39cdbf 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/23 06:35 https://android.googlesource.com/kernel/common android-4.9 f361eb39cdbf 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/23 03:23 https://android.googlesource.com/kernel/common android-4.9 f361eb39cdbf 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/23 01:52 https://android.googlesource.com/kernel/common android-4.9 960923fdc278 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/22 15:05 https://android.googlesource.com/kernel/common android-4.9 960923fdc278 2e9d9054 .config console log report ci-android-49-kasan-gce-386
2018/03/20 15:18 https://android.googlesource.com/kernel/common android-4.9 71df7bbae4d8 72c33b66 .config console log report ci-android-49-kasan-gce-386
2018/03/19 11:38 https://android.googlesource.com/kernel/common android-4.9 bb52bba67e35 7e7d7ed2 .config console log report ci-android-49-kasan-gce-386
2018/03/18 06:05 https://android.googlesource.com/kernel/common android-4.9 fc8bd0f6ffec 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/17 19:40 https://android.googlesource.com/kernel/common android-4.9 fc8bd0f6ffec 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/17 19:29 https://android.googlesource.com/kernel/common android-4.9 fc8bd0f6ffec 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/17 13:28 https://android.googlesource.com/kernel/common android-4.9 fc8bd0f6ffec 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/17 11:24 https://android.googlesource.com/kernel/common android-4.9 fc8bd0f6ffec 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/17 07:57 https://android.googlesource.com/kernel/common android-4.9 fc8bd0f6ffec 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/16 15:01 https://android.googlesource.com/kernel/common android-4.9 fc8bd0f6ffec 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/14 20:48 https://android.googlesource.com/kernel/common android-4.9 97d7f1c7c0f0 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/14 14:22 https://android.googlesource.com/kernel/common android-4.9 97d7f1c7c0f0 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/13 20:31 https://android.googlesource.com/kernel/common android-4.9 97d7f1c7c0f0 08dacaa0 .config console log report ci-android-49-kasan-gce-386
2018/03/12 16:50 https://android.googlesource.com/kernel/common android-4.9 a2904940bde8 f505ca4b .config console log report ci-android-49-kasan-gce-386
2018/03/12 15:37 https://android.googlesource.com/kernel/common android-4.9 a2904940bde8 f505ca4b .config console log report ci-android-49-kasan-gce-386
2018/03/11 17:35 https://android.googlesource.com/kernel/common android-4.9 a2904940bde8 36d1c454 .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.