INFO: task syz.2.86:4709 blocked for more than 143 seconds. Not tainted 6.1.147-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.86 state:D stack:27016 pid:4709 ppid:4270 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 io_schedule+0x7c/0xd0 kernel/sched/core.c:8797 folio_wait_bit_common+0x6e1/0xf60 mm/filemap.c:1324 folio_put_wait_locked mm/filemap.c:1493 [inline] do_read_cache_folio+0x1a9/0x760 mm/filemap.c:3609 erofs_bread+0x18e/0x670 fs/erofs/data.c:50 erofs_find_target_block fs/erofs/namei.c:102 [inline] erofs_namei+0x28f/0xf00 fs/erofs/namei.c:175 erofs_lookup+0x14b/0x390 fs/erofs/namei.c:204 __lookup_slow+0x27d/0x3a0 fs/namei.c:1690 lookup_slow+0x53/0x70 fs/namei.c:1707 walk_component fs/namei.c:1998 [inline] link_path_walk+0x928/0xe50 fs/namei.c:2325 path_openat+0x276/0x2e70 fs/namei.c:3779 do_filp_open+0x1c1/0x3c0 fs/namei.c:3810 do_sys_openat2+0x142/0x490 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8929b8ebe9 RSP: 002b:00007f892a9aa038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8929db6090 RCX: 00007f8929b8ebe9 RDX: 0000000000000002 RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f8929c11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8929db6128 R14: 00007f8929db6090 R15: 00007fff4457b588 INFO: task syz.2.86:4710 blocked for more than 144 seconds. Not tainted 6.1.147-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.86 state:D stack:28424 pid:4710 ppid:4270 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 rwsem_down_write_slowpath+0xbed/0x1090 kernel/locking/rwsem.c:1189 inode_lock include/linux/fs.h:758 [inline] open_last_lookups fs/namei.c:3547 [inline] path_openat+0x7c2/0x2e70 fs/namei.c:3780 do_filp_open+0x1c1/0x3c0 fs/namei.c:3810 do_sys_openat2+0x142/0x490 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8929b8ebe9 RSP: 002b:00007f892a989038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8929db6180 RCX: 00007f8929b8ebe9 RDX: 0000000000000441 RSI: 0000200000000080 RDI: ffffffffffffff9c RBP: 00007f8929c11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000014a R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8929db6218 R14: 00007f8929db6180 R15: 00007fff4457b588 INFO: task syz.2.86:4712 blocked for more than 145 seconds. Not tainted 6.1.147-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.86 state:D stack:26792 pid:4712 ppid:4270 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 rwsem_down_write_slowpath+0xbed/0x1090 kernel/locking/rwsem.c:1189 inode_lock include/linux/fs.h:758 [inline] open_last_lookups fs/namei.c:3547 [inline] path_openat+0x7c2/0x2e70 fs/namei.c:3780 do_filp_open+0x1c1/0x3c0 fs/namei.c:3810 do_sys_openat2+0x142/0x490 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8929b8ebe9 RSP: 002b:00007f892a968038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8929db6270 RCX: 00007f8929b8ebe9 RDX: 0000000000101042 RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f8929c11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8929db6308 R14: 00007f8929db6270 R15: 00007fff4457b588 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb2b7b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cb2bfd0 ( rcu_tasks_trace.tasks_gp_mutex ){+.+.}-{3:3} , at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/27: #0: ffffffff8cb2ae20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513 2 locks held by getty/4032: #0: ffff88814d4ba098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3} , at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198 4 locks held by syz.2.86/4703: 1 lock held by syz.2.86/4709: #0: ffff888071508198 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff888071508198 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: lookup_slow+0x46/0x70 fs/namei.c:1706 1 lock held by syz.2.86/4710: #0: ffff888071508198 ( &type->i_mutex_dir_key #10){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #10){++++}-{3:3}, at: open_last_lookups fs/namei.c:3547 [inline] #10){++++}-{3:3}, at: path_openat+0x7c2/0x2e70 fs/namei.c:3780 1 lock held by syz.2.86/4712: #0: ffff888071508198 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline] #0: ffff888071508198 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: open_last_lookups fs/namei.c:3547 [inline] #0: ffff888071508198 (&type->i_mutex_dir_key#10){++++}-{3:3}, at: path_openat+0x7c2/0x2e70 fs/namei.c:3780 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.1.147-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xeee/0xf30 kernel/hung_task.c:377 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4703 Comm: syz.2.86 Not tainted 6.1.147-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:kasan_check_range+0x1af/0x290 mm/kasan/generic.c:189 Code: 8d 56 07 4d 85 f6 4d 0f 49 d6 49 83 e2 f8 4d 29 d6 74 12 41 80 39 00 0f 85 a0 00 00 00 49 ff c1 49 ff ce 75 ee 5b 41 5e 41 5f 84 db 75 61 f7 c3 00 ff 00 00 75 5e f7 c3 00 00 ff 00 75 5d 49 RSP: 0018:ffffc900001e0798 EFLAGS: 00000056 RAX: 0000000000000001 RBX: ffff88802af3bb80 RCX: ffffffff8163a2b4 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90add328 RBP: 0000000000000004 R08: dffffc0000000000 R09: fffffbfff215ba66 R10: fffffbfff215ba66 R11: 1ffffffff215ba65 R12: 0000000000000010 R13: dffffc0000000000 R14: ffff88802af3c688 R15: 0000000000000751 FS: 00007f892a9cb6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f567af83ad8 CR3: 00000000207ee000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] mark_lock+0x94/0x320 kernel/locking/lockdep.c:4606 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xc69/0x7c50 kernel/locking/lockdep.c:5003 lock_acquire+0x1b4/0x490 kernel/locking/lockdep.c:5662 call_timer_fn+0xde/0x670 kernel/time/timer.c:1501 expire_timers kernel/time/timer.c:1544 [inline] __run_timers+0x550/0x7c0 kernel/time/timer.c:1820 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833 handle_softirqs+0x2a1/0x920 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:console_trylock_spinning kernel/printk/printk.c:1948 [inline] RIP: 0010:vprintk_emit+0x461/0x680 kernel/printk/printk.c:2302 Code: 85 8f 01 00 00 e8 3f b9 1a 00 41 89 df 4d 85 f6 48 8b 1c 24 75 07 e8 2e b9 1a 00 eb 06 e8 27 b9 1a 00 fb 48 c7 c7 a0 f0 b1 8c <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 53 e8 57 db RSP: 0018:ffffc9000515f0c0 EFLAGS: 00000246 RAX: ffffffff81660db9 RBX: ffffffff81660c65 RCX: 0000000000080000 RDX: ffffc9000dd29000 RSI: 000000000007ffff RDI: ffffffff8cb1f0a0 RBP: ffffc9000515f1b0 R08: dffffc0000000000 R09: fffffbfff215ba6c R10: fffffbfff215ba6c R11: 1ffffffff215ba6b R12: dffffc0000000000 R13: 1ffff92000a2be1c R14: 0000000000000200 R15: 0000000000000057 _printk+0xcc/0x110 kernel/printk/printk.c:2328 _erofs_err+0x11f/0x170 fs/erofs/super.c:35 z_erofs_pcluster_readmore+0x367/0x4f0 fs/erofs/zdata.c:1668 z_erofs_read_folio+0x23b/0x5b0 fs/erofs/zdata.c:1691 filemap_read_folio+0x160/0x760 mm/filemap.c:2490 do_read_cache_folio+0x2a0/0x760 mm/filemap.c:3627 erofs_bread+0x18e/0x670 fs/erofs/data.c:50 erofs_find_target_block fs/erofs/namei.c:102 [inline] erofs_namei+0x28f/0xf00 fs/erofs/namei.c:175 erofs_lookup+0x14b/0x390 fs/erofs/namei.c:204 lookup_open fs/namei.c:3460 [inline] open_last_lookups fs/namei.c:3550 [inline] path_openat+0xfaf/0x2e70 fs/namei.c:3780 do_filp_open+0x1c1/0x3c0 fs/namei.c:3810 do_sys_openat2+0x142/0x490 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8929b8ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f892a9cb038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f8929db5fa0 RCX: 00007f8929b8ebe9 RDX: 0000000000000002 RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f8929c11e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000096 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8929db6038 R14: 00007f8929db5fa0 R15: 00007fff4457b588