syzbot


INFO: task hung in truncate_inode_pages_range

Status: auto-closed as invalid on 2019/02/22 13:19
First crash: 2478d, last: 2402d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: task hung in truncate_inode_pages_range C error 1 1147d 1387d 0/1 upstream: reported C repro on 2021/02/03 07:50
upstream INFO: task hung in truncate_inode_pages_range (5) fs mm 1 698d 698d 0/28 auto-obsoleted due to no activity on 2023/04/15 01:38
linux-4.14 INFO: task hung in truncate_inode_pages_range C error 2 819d 1462d 0/1 upstream: reported C repro on 2020/11/19 23:29
android-49 INFO: task hung in truncate_inode_pages_range 86 2320d 2479d 0/3 auto-closed as invalid on 2019/02/22 14:33
upstream INFO: task hung in truncate_inode_pages_range (2) fs mm 10 1819d 1889d 0/28 auto-closed as invalid on 2020/02/27 00:38
upstream INFO: task hung in truncate_inode_pages_range (4) block 1 1080d 1080d 0/28 closed as invalid on 2022/02/08 09:50
upstream INFO: task hung in truncate_inode_pages_range (3) fs 1 1602d 1602d 0/28 auto-closed as invalid on 2020/08/31 17:47
upstream INFO: task hung in truncate_inode_pages_range (6) squashfs fuse C 1 548d 544d 0/28 auto-obsoleted due to no activity on 2024/02/27 16:22
upstream INFO: task hung in truncate_inode_pages_range exfat 151 2203d 2538d 0/28 closed as dup on 2017/12/12 16:49
android-49 INFO: task hung in truncate_inode_pages_range (2) 1 1929d 1929d 0/3 auto-closed as invalid on 2019/12/08 23:58
linux-6.1 INFO: task hung in truncate_inode_pages_range origin:upstream C 2 1d04h 548d 0/3 upstream: reported C repro on 2023/05/23 07:52

Sample crash report:
buffer_io_error: 39 callbacks suppressed
Buffer I/O error on dev loop0, logical block 0, async page read
INFO: task blkid:19186 blocked for more than 120 seconds.
      Not tainted 4.4.124-g49632c6 #62
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
blkid           D ffff8800baf57370 28288 19186   2294 0x00000006
 ffff8800baf57370 ffff8801d850d108 0000000000000025 ffff8801d850c800
 ffffffff842bdb00 ffff8801db31fdb8 ffff8801db31fde0 ffff8801db31f4d8
 ffff8801db31f4c0 ffff8801c9dcc800 ffff8801d850c800 0000000000000000
Call Trace:
 [<ffffffff8376b6aa>] schedule+0x7a/0x1b0 kernel/sched/core.c:3359
 [<ffffffff837769c0>] schedule_timeout+0x3a0/0x970 kernel/time/timer.c:1515
 [<ffffffff8376953e>] io_schedule_timeout+0x1be/0x390 kernel/sched/core.c:4941
 [<ffffffff8376c96b>] io_schedule include/linux/sched.h:447 [inline]
 [<ffffffff8376c96b>] bit_wait_io+0x1b/0xc0 kernel/sched/wait.c:595
 [<ffffffff8376c4af>] __wait_on_bit_lock+0x8f/0x140 kernel/sched/wait.c:434
 [<ffffffff8141e55d>] __lock_page+0x18d/0x1f0 mm/filemap.c:888
 [<ffffffff8144e237>] lock_page include/linux/pagemap.h:458 [inline]
 [<ffffffff8144e237>] truncate_inode_pages_range+0x8e7/0xe70 mm/truncate.c:362
 [<ffffffff8144e7e4>] truncate_inode_pages+0x24/0x30 mm/truncate.c:390
 [<ffffffff815d04fc>] kill_bdev+0xbc/0xf0 fs/block_dev.c:82
 [<ffffffff815d3a51>] __blkdev_put+0x191/0x7e0 fs/block_dev.c:1523
 [<ffffffff815d4f15>] blkdev_put+0x85/0x550 fs/block_dev.c:1600
 [<ffffffff815d546b>] blkdev_close+0x8b/0xb0 fs/block_dev.c:1607
 [<ffffffff81523db3>] __fput+0x233/0x6d0 fs/file_table.c:208
 [<ffffffff815242d5>] ____fput+0x15/0x20 fs/file_table.c:244
 [<ffffffff8118bbc4>] task_work_run+0x104/0x180 kernel/task_work.c:115
 [<ffffffff8113309a>] exit_task_work include/linux/task_work.h:21 [inline]
 [<ffffffff8113309a>] do_exit+0x82a/0x2a10 kernel/exit.c:759
 [<ffffffff81139538>] do_group_exit+0x108/0x320 kernel/exit.c:889
 [<ffffffff8115c9a2>] 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
 [<ffffffff83779975>] int_ret_from_sys_call+0x25/0xa3
1 lock held by blkid/19186:
 #0:  (&bdev->bd_mutex){+.+.+.}, at: [<ffffffff815d397c>] __blkdev_put+0xbc/0x7e0 fs/block_dev.c:1516
Sending NMI to all CPUs:
NMI backtrace for cpu 0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.124-g49632c6 #62
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffffffff84217840 task.stack: ffffffff84200000
RIP: 0010:[<ffffffff810d0666>]  [<ffffffff810d0666>] native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:49
RSP: 0018:ffffffff84207dc0  EFLAGS: 00000246
RAX: 0000000000000007 RBX: ffffffff847deac8 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff8421811c
RBP: ffffffff84207dc0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: fffffbfff07088c0 R14: ffffffff847ece38 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001424298 CR3: 00000001ca27e000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff84207df8 ffffffff81027e85 ffffffff84208000 ffffffff847deac8
 fffffbfff07088c0 ffffffff847ece38 0000000000000000 ffffffff84207e08
 ffffffff810293fa ffffffff84207e20 ffffffff812217c8 dffffc0000000000
Call Trace:
 [<ffffffff81027e85>] arch_safe_halt arch/x86/include/asm/paravirt.h:117 [inline]
 [<ffffffff81027e85>] default_idle+0x55/0x3c0 arch/x86/kernel/process.c:290
 [<ffffffff810293fa>] arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:281
 [<ffffffff812217c8>] default_idle_call+0x48/0x70 kernel/sched/idle.c:93
 [<ffffffff81221ecd>] cpuidle_idle_call kernel/sched/idle.c:157 [inline]
 [<ffffffff81221ecd>] cpu_idle_loop kernel/sched/idle.c:253 [inline]
 [<ffffffff81221ecd>] cpu_startup_entry+0x5fd/0x8f0 kernel/sched/idle.c:301
 [<ffffffff83766639>] rest_init+0x189/0x190 init/main.c:410
 [<ffffffff84823811>] start_kernel+0x6b9/0x6ee init/main.c:682
 [<ffffffff84822312>] x86_64_start_reservations+0x2a/0x2c arch/x86/kernel/head64.c:196
 [<ffffffff84822454>] x86_64_start_kernel+0x140/0x163 arch/x86/kernel/head64.c:185
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 
NMI backtrace for cpu 1
CPU: 1 PID: 486 Comm: khungtaskd Not tainted 4.4.124-g49632c6 #62
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8800bb058000 task.stack: ffff8801d8d50000
RIP: 0010:[<ffffffff810c3fa7>]  [<ffffffff810c3fa7>] native_apic_mem_write arch/x86/include/asm/apic.h:94 [inline]
RIP: 0010:[<ffffffff810c3fa7>]  [<ffffffff810c3fa7>] __default_send_IPI_dest_field arch/x86/include/asm/ipi.h:119 [inline]
RIP: 0010:[<ffffffff810c3fa7>]  [<ffffffff810c3fa7>] _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:61 [inline]
RIP: 0010:[<ffffffff810c3fa7>]  [<ffffffff810c3fa7>] flat_send_IPI_mask+0xf7/0x1a0 arch/x86/kernel/apic/apic_flat_64.c:69
RSP: 0018:ffff8801d8d57cb8  EFLAGS: 00000046
RAX: 0000000003000000 RBX: 0000000000000c00 RCX: 0000000000000000
RDX: 0000000000000c00 RSI: 0000000000000000 RDI: ffffffffff5fb300
RBP: ffff8801d8d57ce0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000246
R13: 0000000000000003 R14: ffffffff8426f5a0 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa7d233b000 CR3: 00000001ca27e000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff8426f5a0 ffffffff847f09c0 fffffbfff08fdbec dffffc0000000000
 ffff8801db31bca0 ffff8801d8d57d00 ffffffff810b9adb ffffffff839f6e40
 0000000000000003 ffff8801d8d57d60 ffffffff81d115a4 ffffffff8141b803
Call Trace:
 [<ffffffff810b9adb>] nmi_raise_cpu_backtrace+0x5b/0x70 arch/x86/kernel/apic/hw_nmi.c:33
 [<ffffffff81d115a4>] nmi_trigger_all_cpu_backtrace+0x4a4/0x550 lib/nmi_backtrace.c:85
 [<ffffffff810b9b74>] arch_trigger_all_cpu_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 [<ffffffff8136944a>] trigger_all_cpu_backtrace include/linux/nmi.h:44 [inline]
 [<ffffffff8136944a>] check_hung_task kernel/hung_task.c:125 [inline]
 [<ffffffff8136944a>] check_hung_uninterruptible_tasks kernel/hung_task.c:182 [inline]
 [<ffffffff8136944a>] watchdog+0x6fa/0xae0 kernel/hung_task.c:238
 [<ffffffff811909c8>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff83779c15>] 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 8b 31 17 00 4c 89 e7 57 9d 0f 1f 

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/03/29 03:17 https://android.googlesource.com/kernel/common android-4.4 49632c6d9873 bf5e585c .config console log report ci-android-44-kasan-gce
2018/02/07 21:08 https://android.googlesource.com/kernel/common android-4.4 810bdaf1dd74 9fb5ec43 .config console log report ci-android-44-kasan-gce
2018/04/25 04:36 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 37e76fe2 .config console log report ci-android-44-kasan-gce-386
2018/04/25 04:28 https://android.googlesource.com/kernel/common android-4.4 bd23e3af1765 37e76fe2 .config console log report ci-android-44-kasan-gce-386
2018/04/19 22:59 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 3642839c .config console log report ci-android-44-kasan-gce-386
2018/03/06 23:57 https://android.googlesource.com/kernel/common android-4.4 d63fdf61a4dc c8a18476 .config console log report ci-android-44-kasan-gce-386
2018/03/05 19:03 https://android.googlesource.com/kernel/common android-4.4 855ea747806b bbd5104f .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.