syzbot


INFO: task hung in sync_blockdev

Status: auto-closed as invalid on 2019/02/22 13:59
First crash: 2435d, last: 2404d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 INFO: task hung in sync_blockdev 6 2432d 2469d 0/3 auto-closed as invalid on 2019/02/22 12:31
upstream INFO: task hung in sync_blockdev fs 25 2421d 2479d 0/28 auto-closed as invalid on 2019/02/22 10:34

Sample crash report:
Buffer I/O error on dev loop0, logical block 21, async page read
Buffer I/O error on dev loop0, logical block 22, async page read
Buffer I/O error on dev loop0, logical block 23, async page read
Buffer I/O error on dev loop0, logical block 24, async page read
IPVS: Creating netns size=2552 id=17
INFO: task syz-executor3:7771 blocked for more than 120 seconds.
      Not tainted 4.4.125-g38f41ec #63
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor3   D ffff8801d397f3c0 26608  7771   3766 0x00000006
 ffff8801d397f3c0 ffff8800bba1e908 0000000000000025 ffff8800bba1e000
 ffffffff842bdb00 ffff8801db31fdb8 ffff8801db31fde0 ffff8801db31f4d8
 ffff8801db31f4c0 ffff8801d9b49800 ffff8800bba1e000 0000000000000000
Call Trace:
 [<ffffffff8376b82a>] schedule+0x7a/0x1b0 kernel/sched/core.c:3359
 [<ffffffff83776b40>] schedule_timeout+0x3a0/0x970 kernel/time/timer.c:1515
 [<ffffffff837696be>] io_schedule_timeout+0x1be/0x390 kernel/sched/core.c:4941
 [<ffffffff8376caeb>] io_schedule include/linux/sched.h:447 [inline]
 [<ffffffff8376caeb>] bit_wait_io+0x1b/0xc0 kernel/sched/wait.c:595
 [<ffffffff8376c22c>] __wait_on_bit+0x8c/0x140 kernel/sched/wait.c:395
 [<ffffffff8141dcf5>] wait_on_page_bit+0x1e5/0x210 mm/filemap.c:758
 [<ffffffff8141dee3>] wait_on_page_writeback include/linux/pagemap.h:530 [inline]
 [<ffffffff8141dee3>] __filemap_fdatawait_range+0x1c3/0x2e0 mm/filemap.c:410
 [<ffffffff8141e025>] filemap_fdatawait_range+0x25/0x50 mm/filemap.c:440
 [<ffffffff814240e5>] filemap_fdatawait mm/filemap.c:490 [inline]
 [<ffffffff814240e5>] filemap_write_and_wait+0xf5/0x120 mm/filemap.c:507
 [<ffffffff815d35c0>] __sync_blockdev fs/block_dev.c:178 [inline]
 [<ffffffff815d35c0>] sync_blockdev.part.21+0x50/0x70 fs/block_dev.c:187
 [<ffffffff815d3bd4>] sync_blockdev fs/block_dev.c:174 [inline]
 [<ffffffff815d3bd4>] __blkdev_put+0x184/0x7e0 fs/block_dev.c:1522
 [<ffffffff815d50a5>] blkdev_put+0x85/0x550 fs/block_dev.c:1600
 [<ffffffff815d55fb>] blkdev_close+0x8b/0xb0 fs/block_dev.c:1607
 [<ffffffff81523f43>] __fput+0x233/0x6d0 fs/file_table.c:208
 [<ffffffff81524465>] ____fput+0x15/0x20 fs/file_table.c:244
 [<ffffffff8118bd44>] task_work_run+0x104/0x180 kernel/task_work.c:115
 [<ffffffff8113321a>] exit_task_work include/linux/task_work.h:21 [inline]
 [<ffffffff8113321a>] do_exit+0x82a/0x2a10 kernel/exit.c:759
 [<ffffffff811396b8>] do_group_exit+0x108/0x320 kernel/exit.c:889
 [<ffffffff8115cb22>] get_signal+0x4f2/0x1550 kernel/signal.c:2317
 [<ffffffff8100e7fb>] do_signal+0x8b/0x1d40 arch/x86/kernel/signal.c:712
 [<ffffffff810035fa>] exit_to_usermode_loop+0x11a/0x160 arch/x86/entry/common.c:248
 [<ffffffff81006535>] prepare_exit_to_usermode arch/x86/entry/common.c:283 [inline]
 [<ffffffff81006535>] syscall_return_slowpath+0x1b5/0x1f0 arch/x86/entry/common.c:348
 [<ffffffff83779af5>] int_ret_from_sys_call+0x25/0xa3
1 lock held by syz-executor3/7771:
 #0:  (&bdev->bd_mutex){+.+.+.}, at: [<ffffffff815d3b0c>] __blkdev_put+0xbc/0x7e0 fs/block_dev.c:1516
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 486 Comm: khungtaskd Not tainted 4.4.125-g38f41ec #63
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8800bac7e000 task.stack: ffff8800bac48000
RIP: 0010:[<ffffffff810c3f87>]  [<ffffffff810c3f87>] native_apic_mem_write arch/x86/include/asm/apic.h:94 [inline]
RIP: 0010:[<ffffffff810c3f87>]  [<ffffffff810c3f87>] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline]
RIP: 0010:[<ffffffff810c3f87>]  [<ffffffff810c3f87>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline]
RIP: 0010:[<ffffffff810c3f87>]  [<ffffffff810c3f87>] flat_send_IPI_mask+0xf7/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8800bac4fcb8  EFLAGS: 00000046
RAX: 0000000003000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fb300
RBP: ffff8800bac4fce0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000000000003 R14: ffffffff8426f5a0 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c42ed01000 CR3: 00000000b8c28000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff8426f5a0 ffffffff847f0b40 fffffbfff08fdc1c dffffc0000000000
 ffff8801db31bca0 ffff8800bac4fd00 ffffffff810b9abb ffffffff839f6dc0
 0000000000000003 ffff8800bac4fd60 ffffffff81d11764 ffffffff8141b993
Call Trace:
 [<ffffffff810b9abb>] nmi_raise_cpu_backtrace+0x5b/0x70 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81d11764>] nmi_trigger_all_cpu_backtrace+0x4a4/0x550 lib/nmi_backtrace.c:85
 [<ffffffff810b9b54>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff813695ca>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff813695ca>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff813695ca>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff813695ca>] watchdog+0x6fa/0xae0 kernel/hung_task.c:238
 [<ffffffff81190b48>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff83779d95>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
Code: b3 5f ff f6 c4 10 75 e1 44 89 e8 c1 e0 18 89 04 25 10 b3 5f ff 44 89 fa 09 da 80 cf 04 41 83 ff 02 0f 44 d3 89 14 25 00 b3 5f ff <41> f7 c4 00 02 00 00 74 1a e8 2b 33 17 00 4c 89 e7 57 9d 0f 1f 
NMI backtrace for cpu 1
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.125-g38f41ec #63
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d9b49800 task.stack: ffff8801d9b58000
RIP: 0010:[<ffffffff810d0666>]  [<ffffffff810d0666>] native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:49
RSP: 0018:ffff8801d9b5fd98  EFLAGS: 00000246
RAX: 0000000000000007 RBX: ffffffff847dec48 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8801d9b4a0dc
RBP: ffff8801d9b5fd98 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: fffffbfff07088c0 R14: ffffffff847ecfb8 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcfddcdf9ce CR3: 00000000b8c28000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801d9b5fdd0 ffffffff81027e65 ffff8801d9b60000 ffffffff847dec48
 fffffbfff07088c0 ffffffff847ecfb8 0000000000000000 ffff8801d9b5fde0
 ffffffff810293da ffff8801d9b5fdf8 ffffffff81221948 dffffc0000000000
Call Trace:
 [<ffffffff81027e65>] arch_safe_halt arch/x86/include/asm/paravirt.h:117 [inline]
 [<ffffffff81027e65>] default_idle+0x55/0x3c0 arch/x86/kernel/process.c:290
 [<ffffffff810293da>] arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:281
 [<ffffffff81221948>] default_idle_call+0x48/0x70 kernel/sched/idle.c:93
 [<ffffffff8122204d>] cpuidle_idle_call kernel/sched/idle.c:157 [inline]
 [<ffffffff8122204d>] cpu_idle_loop kernel/sched/idle.c:253 [inline]
 [<ffffffff8122204d>] cpu_startup_entry+0x5fd/0x8f0 kernel/sched/idle.c:301
 [<ffffffff810adcd4>] start_secondary+0x304/0x3e0 arch/x86/kernel/smpboot.c:242
Code: 00 00 00 00 00 55 48 89 e5 fa 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb 5d c3 66 0f 1f 84 00 00 00 00 00 55 48 89 e5 fb f4 <5d> c3 0f 1f 84 00 00 00 00 00 55 48 89 e5 f4 5d c3 66 0f 1f 84 

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/10 23:02 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 8b8de427 .config console log report ci-android-44-kasan-gce
2018/04/23 07:43 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 d23fcf6c .config console log report ci-android-44-kasan-gce-386
2018/04/17 07:15 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 b80fd3b5 .config console log report ci-android-44-kasan-gce-386
2018/04/10 15:13 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 8e873e9d .config console log report ci-android-44-kasan-gce-386
2018/04/10 09:18 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 b9f65507 .config console log report ci-android-44-kasan-gce-386
2018/04/10 07:24 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 b9f65507 .config console log report ci-android-44-kasan-gce-386
2018/04/09 18:56 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 f13fb445 .config console log report ci-android-44-kasan-gce-386
2018/04/03 11:33 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 676bd07e .config console log report ci-android-44-kasan-gce-386
2018/04/01 17:56 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 dc889257 .config console log report ci-android-44-kasan-gce-386
2018/04/01 05:22 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 0174c6c8 .config console log report ci-android-44-kasan-gce-386
2018/03/31 19:14 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 0174c6c8 .config console log report ci-android-44-kasan-gce-386
2018/03/22 16:24 https://android.googlesource.com/kernel/common android-4.4 d63fdf61a4dc 2e9d9054 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.