syzbot


INFO: task hung in ocfs2_read_blocks

Status: auto-obsoleted due to no activity on 2025/08/09 10:09
Subsystems: ocfs2
[Documentation on labels]
First crash: 162d, last: 113d

Sample crash report:
INFO: task syz.4.16:6661 blocked for more than 144 seconds.
      Not tainted 6.15.0-rc5-syzkaller-gc32f8dc5aaf9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.16        state:D stack:0     pid:6661  tgid:6660  ppid:6493   task_flags:0x400140 flags:0x00000011
Call trace:
 __switch_to+0x414/0x834 arch/arm64/kernel/process.c:734 (T)
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x13b0/0x28d4 kernel/sched/core.c:6767
 __schedule_loop kernel/sched/core.c:6845 [inline]
 schedule+0xb4/0x230 kernel/sched/core.c:6860
 io_schedule+0x84/0xf0 kernel/sched/core.c:7742
 bit_wait_io+0x1c/0xac kernel/sched/wait_bit.c:247
 __wait_on_bit kernel/sched/wait_bit.c:49 [inline]
 out_of_line_wait_on_bit+0x158/0x1f0 kernel/sched/wait_bit.c:64
 wait_on_bit_io include/linux/wait_bit.h:105 [inline]
 __wait_on_buffer+0x6c/0x7c fs/buffer.c:123
 wait_on_buffer include/linux/buffer_head.h:422 [inline]
 ocfs2_read_blocks+0xe78/0x14f4 fs/ocfs2/buffer_head_io.c:362
 ocfs2_read_inode_block_full fs/ocfs2/inode.c:1617 [inline]
 ocfs2_read_inode_block+0xd4/0x178 fs/ocfs2/inode.c:1629
 ocfs2_assign_bh fs/ocfs2/dlmglue.c:2415 [inline]
 ocfs2_inode_lock_full_nested+0x230/0x16a0 fs/ocfs2/dlmglue.c:2510
 ocfs2_reserve_suballoc_bits+0x144/0x3b60 fs/ocfs2/suballoc.c:788
 ocfs2_reserve_new_inode+0x3c0/0xac0 fs/ocfs2/suballoc.c:1072
 ocfs2_mknod+0x710/0x1cf0 fs/ocfs2/namei.c:303
 ocfs2_create+0x190/0x474 fs/ocfs2/namei.c:673
 lookup_open fs/namei.c:3701 [inline]
 open_last_lookups fs/namei.c:3800 [inline]
 path_openat+0x12d8/0x2c40 fs/namei.c:4036
 do_filp_open+0x18c/0x36c fs/namei.c:4066
 do_sys_openat2+0x11c/0x1b4 fs/open.c:1429
 do_sys_open fs/open.c:1444 [inline]
 __do_sys_openat fs/open.c:1460 [inline]
 __se_sys_openat fs/open.c:1455 [inline]
 __arm64_sys_openat+0x120/0x158 fs/open.c:1455
 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49
 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132
 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151
 el0_svc+0x58/0x17c arch/arm64/kernel/entry-common.c:767
 el0t_64_sync_handler+0x78/0x108 arch/arm64/kernel/entry-common.c:786
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600

Showing all locks held in the system:
3 locks held by kworker/u8:0/12:
3 locks held by kworker/u8:1/13:
1 lock held by khungtaskd/32:
 #0: ffff80008f4f88a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:330
6 locks held by kworker/R-write/34:
 #0: ffff0000c20e9948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212
 #1: ffff800097ca7ba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212
 #2: ffff0000d871a0e0
 (&type->s_umount_key#30){++++}-{4:4}, at: super_trylock_shared+0x24/0xdc fs/super.c:562
 #3: ffff0000d871cb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1778 [inline]
 #3: ffff0000d871cb98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x14c/0x29c fs/ext4/inode.c:2828
 #4: ffff0000d8720950 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0xe4c/0x10dc fs/jbd2/transaction.c:442
 #5: ffff0000de055bf0 (&ei->i_data_sem){++++}-{4:4}, at: ext4_map_blocks+0x5cc/0x13ac fs/ext4/inode.c:705
3 locks held by kworker/u8:2/44:
3 locks held by kworker/u8:3/45:
2 locks held by kworker/1:1H/59:
 #0: ffff0000c20b6548 ((wq_completion)kblockd){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212
 #1: ffff800097e87bc0 ((work_completion)(&q->timeout_work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212
3 locks held by kworker/u8:4/143:
3 locks held by kworker/u8:5/318:
3 locks held by kworker/u8:6/411:
3 locks held by kworker/u8:7/2198:
3 locks held by kworker/R-ipv6_/4139:
 #0: ffff0000d2813948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x658/0x156c kernel/workqueue.c:3212
 #1: ffff8000a13c7ba0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x6ec/0x156c kernel/workqueue.c:3212
 #2: ffff80009247ace8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock+0x20/0x2c net/core/rtnetlink.c:80
2 locks held by kworker/R-bat_e/4220:
3 locks held by kworker/u8:8/4483:
1 lock held by klogd/6093:
2 locks held by udevd/6104:
2 locks held by dhcpcd/6158:
3 locks held by dhcpcd/6159:
2 locks held by getty/6252:
 #0: 

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/11 10:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c32f8dc5aaf9 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in ocfs2_read_blocks
2025/03/24 01:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 INFO: task hung in ocfs2_read_blocks
* Struck through repros no longer work on HEAD.