syzbot


INFO: task hung in truncate_inode_pages

Status: upstream: reported C repro on 2023/09/16 05:45
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+bae3c73c7bf2fe3a740b@syzkaller.appspotmail.com
First crash: 443d, last: 25d
Discussions (5)
Title Replies (including bot) Last reply
[syzbot] Monthly block report (Oct 2024) 0 (1) 2024/10/16 15:35
[syzbot] Monthly block report (Mar 2024) 0 (1) 2024/03/12 09:29
[syzbot] Monthly block report (Feb 2024) 0 (1) 2024/02/09 20:57
[syzbot] Monthly block report (Dec 2023) 0 (1) 2023/12/10 10:05
[syzbot] [block?] INFO: task hung in truncate_inode_pages 0 (1) 2023/09/16 05:45
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in truncate_inode_pages 5 73d 179d 0/3 upstream: reported on 2024/05/26 06:36
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/11/09 10:44 30m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/11/09 10:44 31m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/11/09 10:44 22m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/11/09 10:44 28m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/10/08 23:37 27m retest repro upstream report log
2024/09/18 08:46 24m retest repro upstream report log
2024/08/17 10:16 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/08/17 10:16 24m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/08/17 10:16 30m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/08/16 02:57 21m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log

Sample crash report:
INFO: task udevd:3160 blocked for more than 450 seconds.
      Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd           state:D stack:0     pid:3160  tgid:3160  ppid:2959   flags:0x0000000d
Call trace:
 __switch_to+0x1c8/0x2a0 arch/arm64/kernel/process.c:556
 context_switch kernel/sched/core.c:5400 [inline]
 __schedule+0xad8/0x2ae8 kernel/sched/core.c:6727
 __schedule_loop kernel/sched/core.c:6802 [inline]
 schedule+0xd0/0x24c kernel/sched/core.c:6817
 io_schedule+0xac/0x114 kernel/sched/core.c:9023
 folio_wait_bit_common+0x2ac/0x6dc mm/filemap.c:1274
 __folio_lock mm/filemap.c:1612 [inline]
 folio_lock include/linux/pagemap.h:1031 [inline]
 folio_lock include/linux/pagemap.h:1027 [inline]
 __filemap_get_folio+0x35c/0x798 mm/filemap.c:1865
 truncate_inode_pages_range+0x270/0xa7c mm/truncate.c:367
 truncate_inode_pages+0x14/0x20 mm/truncate.c:439
 kill_bdev block/bdev.c:79 [inline]
 blkdev_flush_mapping+0xfc/0x24c block/bdev.c:638
 blkdev_put_whole+0xd4/0xf0 block/bdev.c:669
 bdev_release+0x30c/0x778 block/bdev.c:985
 blkdev_release+0x2c/0x4c block/fops.c:631
 __fput+0x1a4/0x92c fs/file_table.c:376
 ____fput+0x10/0x1c fs/file_table.c:404
 task_work_run+0x124/0x20c kernel/task_work.c:180
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0x754/0x1f54 kernel/exit.c:871
 do_group_exit+0xa4/0x208 kernel/exit.c:1020
 get_signal+0x199c/0x1ae0 kernel/signal.c:2893
 do_signal arch/arm64/kernel/signal.c:1249 [inline]
 do_notify_resume+0x47c/0x3208 arch/arm64/kernel/signal.c:1302
 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+0x11c/0x140 arch/arm64/kernel/entry-common.c:679
 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595
INFO: task syz-executor346:3167 blocked for more than 450 seconds.
      Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor346 state:D stack:0     pid:3167  tgid:3166  ppid:3156   flags:0x00000005
Call trace:
 __switch_to+0x1c8/0x2a0 arch/arm64/kernel/process.c:556
 context_switch kernel/sched/core.c:5400 [inline]
 __schedule+0xad8/0x2ae8 kernel/sched/core.c:6727
 __schedule_loop kernel/sched/core.c:6802 [inline]
 schedule+0xd0/0x24c kernel/sched/core.c:6817
 schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6874
 __mutex_lock_common kernel/locking/mutex.c:684 [inline]
 __mutex_lock+0x4e8/0x840 kernel/locking/mutex.c:752
 mutex_lock_nested+0x24/0x30 kernel/locking/mutex.c:804
 bdev_open_by_dev+0x190/0xa20 block/bdev.c:859
 blkdev_open+0xcc/0x29c block/fops.c:615
 do_dentry_open+0x4e8/0x128c fs/open.c:953
 vfs_open+0x90/0xc8 fs/open.c:1087
 do_open fs/namei.c:3641 [inline]
 path_openat+0x1480/0x20b4 fs/namei.c:3798
 do_filp_open+0x16c/0x330 fs/namei.c:3825
 do_sys_openat2+0x12c/0x160 fs/open.c:1404
 do_sys_open fs/open.c:1419 [inline]
 __do_sys_openat fs/open.c:1435 [inline]
 __se_sys_openat fs/open.c:1430 [inline]
 __arm64_sys_openat+0x12c/0x1b8 fs/open.c:1430
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x6c/0x258 arch/arm64/kernel/syscall.c:51
 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:155
 el0_svc+0x58/0x140 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595
INFO: lockdep is turned off.

Crashes (29):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/01/15 06:42 upstream 052d534373b7 551587c1 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 INFO: task hung in truncate_inode_pages
2023/09/12 05:38 upstream 0bb80ecc33a8 59da8366 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 INFO: task hung in truncate_inode_pages
2024/01/29 07:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca cc4a4020 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages
2024/01/19 09:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 0802e17d9aca 239abf84 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages
2023/12/08 21:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d46efae31672 28b24332 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages
2023/10/22 17:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 78124b0c1d10 361b23dc .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages
2024/10/16 05:27 upstream 2f87d0916ce0 bde2d81c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm32 INFO: task hung in truncate_inode_pages
2024/02/07 07:30 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 INFO: task hung in truncate_inode_pages
2024/02/07 05:54 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 INFO: task hung in truncate_inode_pages
2024/02/07 05:43 upstream 99bd3cb0d12e 6404acf9 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat INFO: task hung in truncate_inode_pages
2023/09/10 01:56 upstream 6099776f9f26 6654cf89 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 INFO: task hung in truncate_inode_pages
2023/09/10 01:50 upstream 6099776f9f26 6654cf89 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-compat INFO: task hung in truncate_inode_pages
2023/09/05 06:31 upstream 7a1415eebeec 0b6286dc .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64 INFO: task hung in truncate_inode_pages
2024/02/27 22:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9abbc24128bc 05e69c83 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages
2024/02/22 23:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9abbc24128bc 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages
2023/09/24 00:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe4469582053 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in truncate_inode_pages
2024/10/26 10:20 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 5f153a692bac 65e8686b .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/25 08:13 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes ad81b171eb9d c79b8ca5 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/23 14:41 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c 15fa2979 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/23 14:40 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c 15fa2979 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/23 14:39 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c 15fa2979 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/23 14:38 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c 15fa2979 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/23 14:37 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c 15fa2979 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/23 14:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c 15fa2979 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/23 14:36 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c 15fa2979 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/23 14:35 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c 15fa2979 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/20 12:43 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c cd6fc0a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/20 12:42 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c cd6fc0a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
2024/10/20 12:37 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes c05ad457ce8c cd6fc0a3 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-riscv64 INFO: task hung in truncate_inode_pages
* Struck through repros no longer work on HEAD.