INFO: task syz.1.359:10030 blocked for more than 143 seconds. Not tainted 6.15.0-rc4-syzkaller-00011-gf15d97df5afa #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.359 state:D stack:27480 pid:10030 tgid:9989 ppid:9183 task_flags:0x400040 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x168f/0x4c70 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x165/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1b5/0x200 kernel/locking/rwsem.c:1694 vfs_rename+0x69a/0xec0 fs/namei.c:5092 do_renameat2+0x878/0xc50 fs/namei.c:5270 __do_sys_rename fs/namei.c:5317 [inline] __se_sys_rename fs/namei.c:5315 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5315 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f90a3b8e969 RSP: 002b:00007f90a19b4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f90a3db6160 RCX: 00007f90a3b8e969 RDX: 0000000000000000 RSI: 0000200000000100 RDI: 00002000000000c0 RBP: 00007f90a3c10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f90a3db6160 R15: 00007ffef856b408 Showing all locks held in the system: 4 locks held by kworker/u8:0/12: #0: ffff88801e2f1948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801e2f1948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319 #1: ffffc90000117c60 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000117c60 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319 #2: ffff8880527220e0 (&type->s_umount_key#65){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:562 #3: ffff88806da413b0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2213 [inline] #3: ffff88806da413b0 (&sbi->gc_lock){+.+.}-{4:4}, at: f2fs_balance_fs+0x513/0x780 fs/f2fs/segment.c:454 1 lock held by khungtaskd/31: #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8df3b860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764 3 locks held by kworker/u8:3/54: #0: ffff8880b89399d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605 #1: ffff8880b8923b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39e/0x6d0 kernel/sched/psi.c:987 #2: ffff8880b8925558 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x8ee/0xf30 kernel/time/timer.c:1159 3 locks held by kworker/u8:6/3552: 2 locks held by getty/5566: #0: ffff888030ce70a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036cb2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 7 locks held by syz.1.359/9990: 3 locks held by syz.1.359/10030: #0: ffff888052722420 (sb_writers#18){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:556 #1: ffff88805e1e5aa8 (&type->i_mutex_dir_key#11/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline] #1: ffff88805e1e5aa8 (&type->i_mutex_dir_key#11/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3265 [inline] #1: ffff88805e1e5aa8 (&type->i_mutex_dir_key#11/1){+.+.}-{4:4}, at: do_renameat2+0x3dd/0xc50 fs/namei.c:5216 #2: ffff88805e02e398 (&sb->s_type->i_mutex_key#24/4){+.+.}-{4:4}, at: vfs_rename+0x69a/0xec0 fs/namei.c:5092 2 locks held by syz-executor/10291: #0: ffff88806da7a0e0 (&type->s_umount_key#65){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88806da7a0e0 (&type->s_umount_key#65){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88806da7a0e0 (&type->s_umount_key#65){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 #1: ffffffff8df41200 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3774 2 locks held by syz.2.402/10522: #0: ffff8880527220e0 (&type->s_umount_key#65){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880527220e0 (&type->s_umount_key#65){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:120 #1: ffff8881433cc7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff8881433cc7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19f/0xa10 fs/fs-writeback.c:2831 2 locks held by syz.3.478/11731: #0: ffff8880527220e0 (&type->s_umount_key#65){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880527220e0 (&type->s_umount_key#65){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:120 #1: ffff8881433cc7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff8881433cc7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19f/0xa10 fs/fs-writeback.c:2831 2 locks held by syz.8.451/11848: #0: ffff8880527220e0 (&type->s_umount_key#65){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880527220e0 (&type->s_umount_key#65){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:120 #1: ffff8881433cc7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff8881433cc7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19f/0xa10 fs/fs-writeback.c:2831 2 locks held by syz.5.582/12849: #0: ffffffff8e66a208 (bio_slab_lock){+.+.}-{4:4}, at: bio_put_slab block/bio.c:140 [inline] #0: ffffffff8e66a208 (bio_slab_lock){+.+.}-{4:4}, at: bioset_exit+0x44a/0x690 block/bio.c:1664 #1: ffffffff8df41200 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3774 2 locks held by syz.7.584/12857: 2 locks held by syz.7.584/12914: 4 locks held by syz.1.585/12871: 2 locks held by dhcpcd/12917: #0: ffff8880407b6258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff8880407b6258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 #1: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #1: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f4/0x730 kernel/rcu/tree_exp.h:998 2 locks held by dhcpcd/12918: #0: ffff8880407b2258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff8880407b2258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 #1: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #1: ffffffff8df41338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b7/0x730 kernel/rcu/tree_exp.h:998 2 locks held by cmp/12929: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc4-syzkaller-00011-gf15d97df5afa #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/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:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:437 kthread+0x70e/0x8a0 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 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: 9990 Comm: syz.1.359 Not tainted 6.15.0-rc4-syzkaller-00011-gf15d97df5afa #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:109 [inline] RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:227 [inline] RIP: 0010:unwind_next_frame+0x2b7/0x2390 arch/x86/kernel/unwind_orc.c:494 Code: ff df 0f 84 03 02 00 00 4a 8d 14 ad fc 32 8b 8f 45 29 e8 4a 8d 1c 82 48 83 c3 fc 49 89 d5 48 39 da 0f 86 1c 10 00 00 49 29 d5 80 00 00 00 31 db e9 eb 16 00 00 49 81 fc 00 80 df 90 0f 92 c0 RSP: 0018:ffffc9000b64e1d8 EFLAGS: 00000202 RAX: ffffffff8f99cf20 RBX: ffffffff8f99cf24 RCX: ffffffff8f99cf28 RDX: ffffffff8f99cf14 RSI: ffffffff9018b6dc RDI: ffffffff8bc0fa00 RBP: ffffffff8f99cf28 R08: 000000000000000c R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff817199f5 R12: ffffffff821f585d R13: 0000000000000010 R14: ffffc9000b64e2a8 R15: ffffffff8f99cf24 FS: 00007f90a19f66c0(0000) GS:ffff888126202000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd7c0b185e8 CR3: 0000000060750000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4161 [inline] slab_alloc_node mm/slub.c:4210 [inline] kmem_cache_alloc_noprof+0x1c1/0x3c0 mm/slub.c:4217 kmem_alloc_batch lib/debugobjects.c:371 [inline] fill_pool+0x100/0x570 lib/debugobjects.c:403 debug_objects_fill_pool lib/debugobjects.c:725 [inline] debug_object_activate+0x383/0x420 lib/debugobjects.c:814 debug_rcu_head_queue kernel/rcu/rcu.h:224 [inline] __call_rcu_common kernel/rcu/tree.c:3067 [inline] call_rcu+0x95/0x990 kernel/rcu/tree.c:3202 slab_free_hook mm/slub.c:2362 [inline] slab_free mm/slub.c:4656 [inline] kmem_cache_free+0x301/0x3f0 mm/slub.c:4758 f2fs_submit_page_read+0x116/0x190 fs/f2fs/data.c:1113 f2fs_get_read_data_folio+0x393/0x690 fs/f2fs/data.c:1271 gc_data_segment fs/f2fs/gc.c:1638 [inline] do_garbage_collect+0x3ff2/0x78c0 fs/f2fs/gc.c:1825 f2fs_gc+0xc69/0x2540 fs/f2fs/gc.c:1929 f2fs_balance_fs+0x55b/0x780 fs/f2fs/segment.c:456 f2fs_map_blocks+0x3af1/0x43b0 fs/f2fs/data.c:1791 f2fs_expand_inode_data+0x653/0xaf0 fs/f2fs/file.c:1872 f2fs_fallocate+0x4f5/0x990 fs/f2fs/file.c:1975 vfs_fallocate+0x6a0/0x830 fs/open.c:338 ioctl_preallocate fs/ioctl.c:290 [inline] file_ioctl fs/ioctl.c:-1 [inline] do_vfs_ioctl+0x1b8f/0x1eb0 fs/ioctl.c:885 __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl+0x82/0x170 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f90a3b8e969 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:00007f90a19f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f90a3db5fa0 RCX: 00007f90a3b8e969 RDX: 0000200000000240 RSI: 0000000040305828 RDI: 0000000000000004 RBP: 00007f90a3c10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f90a3db5fa0 R15: 00007ffef856b408