INFO: task syz-executor:5818 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:21192 pid:5818 tgid:5818 ppid:1 task_flags:0x400140 flags:0x00080003 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x16f3/0x4c20 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] schedule+0x165/0x360 kernel/sched/core.c:7026 io_schedule+0x81/0xe0 kernel/sched/core.c:7871 TXN_SLEEP_DROP_LOCK fs/jfs/jfs_txnmgr.c:125 [inline] txBegin+0x26e/0xb10 fs/jfs/jfs_txnmgr.c:375 add_missing_indices+0xb0/0xce0 fs/jfs/jfs_dtree.c:2630 jfs_readdir+0x1d92/0x3ae0 fs/jfs/jfs_dtree.c:3031 wrap_directory_iterator+0x99/0xe0 fs/readdir.c:65 iterate_dir+0x3a5/0x580 fs/readdir.c:108 __do_sys_getdents64 fs/readdir.c:410 [inline] __se_sys_getdents64+0xe4/0x260 fs/readdir.c:396 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcbd02e2033 RSP: 002b:00007ffc6aa6e1f8 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 0000555573663640 RCX: 00007fcbd02e2033 RDX: 0000000000008000 RSI: 0000555573663640 RDI: 0000000000000006 RBP: 0000555573663614 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffa8 R13: 0000000000000016 R14: 0000555573663610 R15: 00007ffc6aa715a0 Showing all locks held in the system: 1 lock held by khungtaskd/39: #0: ffffffff8d5aa840 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8d5aa840 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8d5aa840 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 3 locks held by kworker/u8:5/89: 3 locks held by kworker/u8:7/1017: #0: ffff8880373e1938 ((wq_completion)loop6){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff8880373e1938 ((wq_completion)loop6){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc9000477fba0 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc9000477fba0 ((work_completion)(&worker->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffff888024221160 (&lo->lo_work_lock){+.+.}-{3:3}, at: spin_lock_irq include/linux/spinlock_rt.h:93 [inline] #2: ffff888024221160 (&lo->lo_work_lock){+.+.}-{3:3}, at: loop_process_work+0xc33/0x1060 drivers/block/loop.c:1961 6 locks held by kworker/u8:14/1406: 2 locks held by kworker/u8:16/3044: 2 locks held by getty/5566: #0: ffff88823bf768a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90003e8b2e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1400 drivers/tty/n_tty.c:2222 2 locks held by syz-executor/5818: #0: ffff888039513f28 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x253/0x320 fs/file.c:1232 #1: ffff8880601a5d78 (&type->i_mutex_dir_key#25){++++}-{4:4}, at: wrap_directory_iterator+0x5d/0xe0 fs/readdir.c:54 3 locks held by syz-executor/7878: 1 lock held by syz-executor/7896: #0: ffff8880614400d0 (&type->s_umount_key#108){+.+.}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff8880614400d0 (&type->s_umount_key#108){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff8880614400d0 (&type->s_umount_key#108){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 4 locks held by udevd/8091: #0: ffff888022196ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:995 [inline] #0: ffff888022196ea8 (&sb->s_type->i_mutex_key#7){++++}-{4:4}, at: blkdev_read_iter+0x2ff/0x440 block/fops.c:858 #1: ffff888022197078 (mapping.invalidate_lock){++++}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:1045 [inline] #1: ffff888022197078 (mapping.invalidate_lock){++++}-{4:4}, at: page_cache_ra_unbounded+0x1a3/0x8e0 mm/readahead.c:233 #2: ffffffff8d5aa840 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #2: ffffffff8d5aa840 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #2: ffffffff8d5aa840 (rcu_read_lock){....}-{1:3}, at: blk_mq_dispatch_queue_requests+0x552/0x800 block/blk-mq.c:2887 #3: ffff888024221160 (&lo->lo_work_lock){+.+.}-{3:3}, at: spin_lock_irq include/linux/spinlock_rt.h:93 [inline] #3: ffff888024221160 (&lo->lo_work_lock){+.+.}-{3:3}, at: loop_queue_work drivers/block/loop.c:805 [inline] #3: ffff888024221160 (&lo->lo_work_lock){+.+.}-{3:3}, at: loop_queue_rq+0x23c/0xb00 drivers/block/loop.c:1891 no locks held by udevd/8093. 3 locks held by kworker/u8:1/8121: #0: ffff88814045b138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88814045b138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90003d07ba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90003d07ba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffff888024212408 (&wb->work_lock){+.+.}-{3:3}, at: spin_lock_irq include/linux/spinlock_rt.h:93 [inline] #2: ffff888024212408 (&wb->work_lock){+.+.}-{3:3}, at: get_next_work_item fs/fs-writeback.c:2245 [inline] #2: ffff888024212408 (&wb->work_lock){+.+.}-{3:3}, at: wb_do_writeback fs/fs-writeback.c:2340 [inline] #2: ffff888024212408 (&wb->work_lock){+.+.}-{3:3}, at: wb_workfn+0x23c/0xf00 fs/fs-writeback.c:2382 8 locks held by syz.6.480/9355: 5 locks held by syz.7.479/9369: 2 locks held by dhcpcd-run-hook/9372: 2 locks held by syz.8.482/9375: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 39 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline] watchdog+0xf60/0xfa0 kernel/hung_task.c:495 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 8093 Comm: udevd Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__preempt_count_add kernel/rcu/tree.c:747 [inline] RIP: 0010:rcu_is_watching+0x8/0xb0 kernel/rcu/tree.c:750 Code: d9 0c 03 eb cc 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 <53> 65 ff 05 d0 71 fd 0f e8 ab 8c 1b 09 89 c3 83 f8 08 73 65 49 bf RSP: 0018:ffffc90003c27140 EFLAGS: 00000202 RAX: 0000000000000001 RBX: ffffffff8ac0031d RCX: ffff88802ec9bc00 RDX: 0000000000000001 RSI: ffffffff8cf64b05 RDI: ffffffff8b3ddd60 RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff81737cf5 R10: ffffc90003c27278 R11: ffffffff81aadd90 R12: 1ffff92000784e45 R13: ffffc90003c27260 R14: ffffc90003c27228 R15: ffffffff81737cf5 FS: 00007fd0255e5880(0000) GS:ffff888126ef9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f414a4a1000 CR3: 0000000037fb0000 CR4: 00000000003526f0 Call Trace: rcu_read_lock include/linux/rcupdate.h:868 [inline] class_rcu_constructor include/linux/rcupdate.h:1195 [inline] unwind_next_frame+0xd4/0x2390 arch/x86/kernel/unwind_orc.c:479 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 save_stack+0xf7/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x71/0x1f0 mm/page_owner.c:311 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1394 [inline] free_unref_folios+0xc22/0x1860 mm/page_alloc.c:2963 folios_put_refs+0x569/0x670 mm/swap.c:1002 folio_batch_release include/linux/pagevec.h:101 [inline] shmem_undo_range+0x49e/0x14b0 mm/shmem.c:1120 shmem_truncate_range mm/shmem.c:1232 [inline] shmem_evict_inode+0x272/0xa70 mm/shmem.c:1360 evict+0x504/0x9c0 fs/inode.c:810 __dentry_kill+0x209/0x660 fs/dcache.c:669 dput+0x19f/0x2b0 fs/dcache.c:911 __fput+0x69d/0xa80 fs/file_table.c:476 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xe9/0x130 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd0256d3407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffe8c101460 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007fd0255e5880 RCX: 00007fd0256d3407 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 00007fd0255e56e8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002 R13: 00005556720a2190 R14: 0000000000000008 R15: 00005556720bdf10