syzbot


INFO: task hung in truncate_inode_pages_final

Status: auto-obsoleted due to no activity on 2024/07/05 07:04
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+b6973d2babdaf51385eb@syzkaller.appspotmail.com
First crash: 525d, last: 269d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] [squashfs?] INFO: task hung in truncate_inode_pages_final 0 (1) 2023/08/21 16:36
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in truncate_inode_pages_final origin:upstream C error 6 168d 423d 0/3 upstream: reported C repro on 2023/10/25 05:01
linux-5.15 INFO: task hung in truncate_inode_pages_final origin:lts-only syz error 1 92d 93d 0/3 upstream: reported syz repro on 2024/09/19 16:08
Last patch testing requests (9)
Created Duration User Patch Repo Result
2024/04/19 05:55 28m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/24 23:21 28m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/21 05:53 25m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/07 04:24 42m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/02/07 04:24 20m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/12/16 22:30 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/12/02 08:02 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/11/12 14:27 20m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/09/03 11:12 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log

Sample crash report:
INFO: task syz-executor239:6140 blocked for more than 143 seconds.
      Not tainted 6.7.0-rc3-syzkaller-g2cc14f52aeb7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor239 state:D stack:0     pid:6140  tgid:6140  ppid:6138   flags:0x00000004
Call trace:
 __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556
 context_switch kernel/sched/core.c:5376 [inline]
 __schedule+0x1354/0x2360 kernel/sched/core.c:6688
 __schedule_loop kernel/sched/core.c:6763 [inline]
 schedule+0xb8/0x19c kernel/sched/core.c:6778
 io_schedule+0x8c/0x12c kernel/sched/core.c:8998
 folio_wait_bit_common+0x65c/0xb90 mm/filemap.c:1273
 __folio_lock+0x2c/0x3c mm/filemap.c:1611
 folio_lock include/linux/pagemap.h:1031 [inline]
 truncate_inode_pages_range+0x960/0xf34 mm/truncate.c:421
 truncate_inode_pages mm/truncate.c:448 [inline]
 truncate_inode_pages_final+0x90/0xc0 mm/truncate.c:483
 evict+0x26c/0x68c fs/inode.c:668
 dispose_list fs/inode.c:699 [inline]
 evict_inodes+0x6b4/0x74c fs/inode.c:749
 generic_shutdown_super+0x9c/0x2b8 fs/super.c:675
 kill_block_super+0x44/0x90 fs/super.c:1667
 deactivate_locked_super+0xc4/0x144 fs/super.c:484
 deactivate_super+0xe0/0x100 fs/super.c:517
 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1256
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1263
 task_work_run+0x230/0x2e0 kernel/task_work.c:180
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x214c/0x393c arch/arm64/kernel/signal.c:1305
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:144 [inline]
 el0_svc+0x9c/0x158 arch/arm64/kernel/entry-common.c:679
 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595

Showing all locks held in the system:
1 lock held by khungtaskd/30:
 #0: ffff80008e6b4740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0xc/0x44 include/linux/rcupdate.h:300
1 lock held by klogd/5704:
 #0: ffff0001b4168d98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:558 [inline]
 #0: ffff0001b4168d98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1349 [inline]
 #0: ffff0001b4168d98 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1663 [inline]
 #0: ffff0001b4168d98 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x2dc/0x2360 kernel/sched/core.c:6604
2 locks held by getty/5856:
 #0: ffff0000d233b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340
 #1: ffff800094e302f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41c/0x1228 drivers/tty/n_tty.c:2201
1 lock held by syz-executor239/6140:
 #0: ffff0000d404a0e0 (&type->s_umount_key#44){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
 #0: ffff0000d404a0e0 (&type->s_umount_key#44){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
 #0: ffff0000d404a0e0 (&type->s_umount_key#44){+.+.}-{3:3}, at: deactivate_super+0xd8/0x100 fs/super.c:516

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


Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/02 20:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2cc14f52aeb7 f819d6f7 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages_final
2023/11/18 07:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8de1e7afcc1c cb976f63 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages_final
2023/08/19 15:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c014c37159a1 d216d8a0 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages_final
2024/01/23 03:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 1c0ecc51 .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages_final
2024/03/27 07:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages_final
2024/01/20 16:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages_final
2024/01/15 00:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages_final
2023/08/19 13:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c014c37159a1 d216d8a0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages_final
2023/07/14 20:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 d624500f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages_final
* Struck through repros no longer work on HEAD.