INFO: task syz-executor.1:12373 blocked for more than 143 seconds. Not tainted 6.9.0-rc7-syzkaller-00136-gf4345f05c0df #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27384 pid:12373 tgid:12370 ppid:12210 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 inode_lock_nested include/linux/fs.h:830 [inline] lock_rename fs/namei.c:3066 [inline] do_renameat2+0x62c/0x13f0 fs/namei.c:4972 __do_sys_renameat2 fs/namei.c:5071 [inline] __se_sys_renameat2 fs/namei.c:5068 [inline] __x64_sys_renameat2+0xd2/0xf0 fs/namei.c:5068 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbf8767dd69 RSP: 002b:00007fbf884570c8 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007fbf877ac120 RCX: 00007fbf8767dd69 RDX: 0000000000000006 RSI: 0000000020000280 RDI: 0000000000000006 RBP: 00007fbf876ca49e R08: 0000000000000005 R09: 0000000000000000 R10: 0000000020000440 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fbf877ac120 R15: 00007ffd10062de8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4834: #0: ffff88807d6380a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.3/5472: 3 locks held by syz-executor.0/7388: 2 locks held by syz-executor.2/7854: 2 locks held by kworker/u8:0/10437: 1 lock held by syz-executor.1/12371: 2 locks held by syz-executor.1/12373: #0: ffff888033b9e420 (sb_writers#25){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88803e1986d0 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:830 [inline] #1: ffff88803e1986d0 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: lock_rename fs/namei.c:3066 [inline] #1: ffff88803e1986d0 (&type->i_mutex_dir_key#21/1){+.+.}-{3:3}, at: do_renameat2+0x62c/0x13f0 fs/namei.c:4972 3 locks held by syz-executor.4/13266: #0: ffff88804cbb00e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804cbb00e0 (&type->s_umount_key#79){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804cbb00e0 (&type->s_umount_key#79){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:504 #1: ffff8880af980278 (&c->state_lock){+.+.}-{3:3}, at: __bch2_fs_stop+0x109/0x550 fs/bcachefs/super.c:621 #2: ffffffff8e33a138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffffffff8e33a138 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939 2 locks held by syz-executor.1/13484: 3 locks held by syz-executor.3/13494: 2 locks held by syz-executor.2/13504: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc7-syzkaller-00136-gf4345f05c0df #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 12371 Comm: syz-executor.1 Not tainted 6.9.0-rc7-syzkaller-00136-gf4345f05c0df #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:deref_stack_reg+0x1c7/0x260 arch/x86/kernel/unwind_orc.c:406 Code: 58 48 39 c5 77 53 49 39 c7 76 4e 48 83 c0 08 48 39 e8 76 4c 4c 39 f8 77 47 e8 15 99 54 00 48 8b 2c 24 48 89 ef e8 79 08 00 00 <48> 89 c3 48 8b 6c 24 18 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 RSP: 0018:ffffc90003846aa8 EFLAGS: 00000293 RAX: ffffc90003847668 RBX: ffffc90003846be0 RCX: ffff888022035a00 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffc90003847528 RBP: ffffc90003847528 R08: ffffffff81416d6b R09: ffffffff814158df R10: 0000000000000003 R11: ffff888022035a00 R12: 1ffff92000708d7d R13: 1ffff92000708d7e R14: 1ffff92000708d7c R15: ffffc90003848000 FS: 00007fbf884996c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f8c809000 CR3: 000000004cd1c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0x1ab8/0x2a00 arch/x86/kernel/unwind_orc.c:648 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:312 [inline] __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook mm/slub.c:3804 [inline] slab_alloc_node mm/slub.c:3851 [inline] kmem_cache_alloc+0x174/0x350 mm/slub.c:3858 kmem_cache_zalloc include/linux/slab.h:739 [inline] alloc_buffer_head+0x2d/0x2a0 fs/buffer.c:3001 folio_alloc_buffers+0x2da/0x840 fs/buffer.c:924 create_empty_buffers+0x3a/0x740 fs/buffer.c:1650 block_read_full_folio+0x258/0xe10 fs/buffer.c:2365 filemap_read_folio+0x1a0/0x790 mm/filemap.c:2331 do_read_cache_folio+0x134/0x820 mm/filemap.c:3747 do_read_cache_page+0x30/0x200 mm/filemap.c:3813 read_mapping_page include/linux/pagemap.h:888 [inline] dir_get_page fs/sysv/dir.c:64 [inline] sysv_find_entry+0x1af/0x410 fs/sysv/dir.c:157 sysv_inode_by_name+0x98/0x1f0 fs/sysv/dir.c:374 sysv_lookup+0x6b/0xe0 fs/sysv/namei.c:38 __lookup_slow+0x28c/0x3f0 fs/namei.c:1692 lookup_slow+0x53/0x70 fs/namei.c:1709 walk_component fs/namei.c:2004 [inline] link_path_walk+0x9ea/0xea0 fs/namei.c:2331 path_lookupat+0xa9/0x450 fs/namei.c:2484 do_o_path+0x95/0x230 fs/namei.c:3770 path_openat+0x2aa0/0x3240 fs/namei.c:3792 do_filp_open+0x235/0x490 fs/namei.c:3826 do_sys_openat2+0x13e/0x1d0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbf8767dd69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbf884990c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fbf877abf80 RCX: 00007fbf8767dd69 RDX: 0000000000200002 RSI: 0000000020000400 RDI: ffffffffffffff9c RBP: 00007fbf876ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fbf877abf80 R15: 00007ffd10062de8