syzbot


INFO: task hung in blkdev_issue_write_same

Status: auto-closed as invalid on 2019/02/22 13:19
First crash: 2368d, last: 2368d

Sample crash report:
sd 0:0:1:0: [sda] tag#238 abort
sd 0:0:1:0: [sda] tag#237 abort
sd 0:0:1:0: [sda] tag#236 abort
sd 0:0:1:0: [sda] tag#235 abort
sd 0:0:1:0: [sda] tag#222 abort
INFO: task kworker/u4:3:1659 blocked for more than 120 seconds.
      Not tainted 4.4.133-g3f51ea2 #51
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kworker/u4:3    D ffff8801d42469a0 24304  1659      2 0x00000000
Workqueue: writeback wb_workfn (flush-8:0)
 ffff8801d42469a0 ffff8801d42469a0 ffff880100000008 ffffe8ffffd07200
 0000000041b58a00 ffff8801db31fdb8 ffff8801db31fde0 ffff8801db31f4d8
 ffff8801db31f4c0 ffff8801d0b34800 ffff8801d4238000 ffff8801d4247a70
Call Trace:
 [<ffffffff838b2f2a>] schedule+0x7a/0x1b0 kernel/sched/core.c:3359
 [<ffffffff838be341>] schedule_timeout+0x481/0x8b0 kernel/time/timer.c:1515
 [<ffffffff838b0dea>] io_schedule_timeout+0x1ba/0x390 kernel/sched/core.c:4941
 [<ffffffff838b46ee>] do_wait_for_common kernel/sched/completion.c:75 [inline]
 [<ffffffff838b46ee>] __wait_for_common kernel/sched/completion.c:93 [inline]
 [<ffffffff838b46ee>] wait_for_common_io kernel/sched/completion.c:107 [inline]
 [<ffffffff838b46ee>] wait_for_completion_io+0x1fe/0x2e0 kernel/sched/completion.c:155
 [<ffffffff81da033d>] blkdev_issue_write_same+0x4cd/0x610 block/blk-lib.c:196
 [<ffffffff81da0a5b>] blkdev_issue_zeroout+0x19b/0x2e0 block/blk-lib.c:295
 [<ffffffff8177a7d3>] sb_issue_zeroout include/linux/blkdev.h:1140 [inline]
 [<ffffffff8177a7d3>] ext4_ext_zeroout.isra.38+0x143/0x1c0 fs/ext4/extents.c:3138
 [<ffffffff81784ab1>] ext4_split_extent_at+0xac1/0xc00 fs/ext4/extents.c:3263
 [<ffffffff81784f09>] ext4_split_extent.isra.47+0x319/0x470 fs/ext4/extents.c:3338
 [<ffffffff817860bc>] ext4_ext_convert_to_initialized+0xcdc/0x25c0 fs/ext4/extents.c:3633
 [<ffffffff8178f6dc>] ext4_ext_handle_unwritten_extents fs/ext4/extents.c:4102 [inline]
 [<ffffffff8178f6dc>] ext4_ext_map_blocks+0x367c/0x4d60 fs/ext4/extents.c:4363
 [<ffffffff816dc9c4>] ext4_map_blocks+0x464/0x1330 fs/ext4/inode.c:599
 [<ffffffff816e9bfc>] mpage_map_one_extent fs/ext4/inode.c:2233 [inline]
 [<ffffffff816e9bfc>] mpage_map_and_submit_extent fs/ext4/inode.c:2289 [inline]
 [<ffffffff816e9bfc>] ext4_writepages+0x121c/0x2c80 fs/ext4/inode.c:2632
 [<ffffffff8143ff2f>] do_writepages+0xef/0x1d0 mm/page-writeback.c:2350
 [<ffffffff815a0451>] __writeback_single_inode+0x101/0x1330 fs/fs-writeback.c:1285
 [<ffffffff815a28fb>] writeback_sb_inodes+0x4ab/0xee0 fs/fs-writeback.c:1548
 [<ffffffff815a3981>] wb_writeback+0x2e1/0xd00 fs/fs-writeback.c:1724
 [<ffffffff815b0225>] wb_do_writeback fs/fs-writeback.c:1858 [inline]
 [<ffffffff815b0225>] wb_workfn+0x245/0xf20 fs/fs-writeback.c:1894
 [<ffffffff81181e0f>] process_one_work+0x7df/0x1600 kernel/workqueue.c:2064
 [<ffffffff81182d09>] worker_thread+0xd9/0xfc0 kernel/workqueue.c:2196
 [<ffffffff81190818>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff838c1395>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
4 locks held by kworker/u4:3/1659:
 #0:  ("writeback"){.+.+.+}, at: [<ffffffff81181cf0>] work_static include/linux/workqueue.h:186 [inline]
 #0:  ("writeback"){.+.+.+}, at: [<ffffffff81181cf0>] set_work_data kernel/workqueue.c:625 [inline]
 #0:  ("writeback"){.+.+.+}, at: [<ffffffff81181cf0>] set_work_pool_and_clear_pending kernel/workqueue.c:652 [inline]
 #0:  ("writeback"){.+.+.+}, at: [<ffffffff81181cf0>] process_one_work+0x6c0/0x1600 kernel/workqueue.c:2057
 #1:  ((&(&wb->dwork)->work)){+.+.+.}, at: [<ffffffff81181d2a>] process_one_work+0x6fa/0x1600 kernel/workqueue.c:2061
 #2:  (jbd2_handle){+.+...}, at: [<ffffffff818151f8>] start_this_handle+0x438/0xdf0 fs/jbd2/transaction.c:383
 #3:  (&ei->i_data_sem){++++..}, at: [<ffffffff816dc96c>] ext4_map_blocks+0x40c/0x1330 fs/ext4/inode.c:592
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 491 Comm: khungtaskd Not tainted 4.4.133-g3f51ea2 #51
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d93e0000 task.stack: ffff8801d93d8000
RIP: 0010:[<ffffffff810bfe16>]  [<ffffffff810bfe16>] native_apic_mem_write arch/x86/include/asm/apic.h:94 [inline]
RIP: 0010:[<ffffffff810bfe16>]  [<ffffffff810bfe16>] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline]
RIP: 0010:[<ffffffff810bfe16>]  [<ffffffff810bfe16>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline]
RIP: 0010:[<ffffffff810bfe16>]  [<ffffffff810bfe16>] flat_send_IPI_mask+0xf6/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8801d93dfcc8  EFLAGS: 00000046
RAX: 0000000003000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fb300
RBP: ffff8801d93dfcf0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000000000003 R14: 0000000000000002 R15: ffffffff8446f7a0
FS:  0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000c56000 CR3: 00000000b4bb9000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff8446f7a0 ffffffff84a18ae0 0000000000000007 fffffbfff0942c0c
 0000000000000040 ffff8801d93dfd10 ffffffff810b5dd1 ffffffff83c0b220
 0000000000000003 ffff8801d93dfd68 ffffffff81e19543 ffffffff8140db1f
Call Trace:
 [<ffffffff810b5dd1>] nmi_raise_cpu_backtrace+0x61/0x80 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81e19543>] nmi_trigger_all_cpu_backtrace.cold.4+0x70/0xad lib/nmi_backtrace.c:85
 [<ffffffff810b5e74>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff8141a209>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff8141a209>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff8141a209>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff8141a209>] watchdog.cold.1+0xd3/0xee kernel/hung_task.c:238
 [<ffffffff81190818>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff838c1395>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
Code: b3 5f ff f6 c4 10 75 e2 44 89 e8 c1 e0 18 89 04 25 10 b3 5f ff 44 89 f2 09 da 80 cf 04 41 83 fe 02 0f 44 d3 89 14 25 00 b3 5f ff <41> f7 c4 00 02 00 00 75 1a 4c 89 e7 57 9d 0f 1f 44 00 00 e8 a2 
NMI backtrace for cpu 1
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.133-g3f51ea2 #51
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801d9a41800 task.stack: ffff8801d9a50000
RIP: 0010:[<ffffffff810cc306>]  [<ffffffff810cc306>] native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:49
RSP: 0018:ffff8801d9a57da0  EFLAGS: 00000246
RAX: 0000000000000007 RBX: ffffffff84a05ba8 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8801d9a420dc
RBP: ffff8801d9a57da0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000001 R14: fffffbfff074890c R15: ffffffff84a05ba8
FS:  0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0f7eb91fe0 CR3: 00000000b4bb9000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801d9a57dd8 ffffffff81025da5 ffff8801d9a58000 0000000000000000
 0000000000000000 fffffbfff074890c ffffffff84a05ba8 ffff8801d9a57de8
 ffffffff810272f0 ffff8801d9a57e00 ffffffff8121ba97 dffffc0000000000
Call Trace:
 [<ffffffff81025da5>] arch_safe_halt arch/x86/include/asm/paravirt.h:117 [inline]
 [<ffffffff81025da5>] default_idle+0x55/0x3c0 arch/x86/kernel/process.c:290
 [<ffffffff810272f0>] arch_cpu_idle+0x10/0x20 arch/x86/kernel/process.c:281
 [<ffffffff8121ba97>] default_idle_call+0x57/0x70 kernel/sched/idle.c:93
 [<ffffffff8121c23f>] cpuidle_idle_call kernel/sched/idle.c:157 [inline]
 [<ffffffff8121c23f>] cpu_idle_loop kernel/sched/idle.c:253 [inline]
 [<ffffffff8121c23f>] cpu_startup_entry+0x6af/0x780 kernel/sched/idle.c:301
 [<ffffffff810aa1e4>] start_secondary+0x324/0x400 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 (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/28 18:45 https://android.googlesource.com/kernel/common android-4.4 3f51ea2db97d f48c20b8 .config console log report ci-android-44-kasan-gce
* Struck through repros no longer work on HEAD.