INFO: task syz-executor.3:11872 blocked for more than 143 seconds. Not tainted 6.9.0-rc6-syzkaller-00046-g18daea77cca6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:23288 pid:11872 tgid:11871 ppid:6907 flags:0x00004006 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 jbd2_log_wait_commit+0x29f/0x4a0 fs/jbd2/journal.c:697 ext4_fc_commit+0x1d5/0x2060 fs/ext4/fast_commit.c:1199 ext4_fsync_journal fs/ext4/fsync.c:115 [inline] ext4_sync_file+0x6f2/0xb90 fs/ext4/fsync.c:167 generic_write_sync include/linux/fs.h:2795 [inline] iomap_dio_complete+0x5a8/0x960 fs/iomap/direct-io.c:126 ext4_dio_write_iter fs/ext4/file.c:577 [inline] ext4_file_write_iter+0x15e5/0x1a10 fs/ext4/file.c:696 call_write_iter include/linux/fs.h:2110 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0xa84/0xcb0 fs/read_write.c:590 ksys_write+0x1a0/0x2c0 fs/read_write.c:643 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:0x7f4db3a7dea9 RSP: 002b:00007f4db473b0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f4db3babf80 RCX: 00007f4db3a7dea9 RDX: 000000000000f000 RSI: 0000000020000200 RDI: 0000000000000007 RBP: 00007f4db3aca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000004d R14: 00007f4db3babf80 R15: 00007ffd6c4b48d8 INFO: task syz-executor.1:11880 blocked for more than 143 seconds. Not tainted 6.9.0-rc6-syzkaller-00046-g18daea77cca6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25080 pid:11880 tgid:11878 ppid:11202 flags:0x00004006 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_timeout+0xb0/0x310 kernel/time/timer.c:2558 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 __flush_work+0xa7b/0xc90 kernel/workqueue.c:4218 __lru_add_drain_all+0x504/0x570 mm/swap.c:912 invalidate_bdev+0x93/0xc0 block/bdev.c:95 btrfs_get_bdev_and_sb+0xfb/0x170 fs/btrfs/volumes.c:490 btrfs_open_one_device fs/btrfs/volumes.c:654 [inline] open_fs_devices+0x2b4/0x1260 fs/btrfs/volumes.c:1193 btrfs_get_tree_super fs/btrfs/super.c:1821 [inline] btrfs_get_tree+0x504/0x1920 fs/btrfs/super.c:2084 vfs_get_tree+0x90/0x2a0 fs/super.c:1779 fc_mount+0x1b/0xb0 fs/namespace.c:1125 btrfs_get_tree_subvol fs/btrfs/super.c:2047 [inline] btrfs_get_tree+0x652/0x1920 fs/btrfs/super.c:2085 vfs_get_tree+0x90/0x2a0 fs/super.c:1779 do_new_mount+0x2be/0xb40 fs/namespace.c:3352 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3875 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:0x7f9021c7f5aa RSP: 002b:00007f90217feef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f90217fef80 RCX: 00007f9021c7f5aa RDX: 00000000200000c0 RSI: 00000000200001c0 RDI: 00007f90217fef40 RBP: 00000000200000c0 R08: 00007f90217fef80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000200001c0 R13: 00007f90217fef40 R14: 00000000000055a1 R15: 0000000020000000 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334d60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 1 lock held by khugepaged/36: #0: ffffffff8e3ec148 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x570 mm/swap.c:867 2 locks held by kworker/u8:6/1278: #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3242 [inline] #0: ffff888015089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3348 #1: ffff8880b9428948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 2 locks held by getty/4822: #0: ffff88802aebb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031432f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.2/11716: #0: ffff88805d4160e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88805d4160e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88805d4160e0 (&type->s_umount_key#63){+.+.}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:504 #1: ffff88802fa260e0 (&type->s_umount_key#31){++++}-{3:3}, at: ovl_sync_fs+0x11b/0x180 fs/overlayfs/super.c:231 1 lock held by syz-executor.0/11866: 3 locks held by syz-executor.3/11872: #0: ffff8880676885c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x259/0x320 fs/file.c:1191 #1: ffff88802fa26420 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2855 [inline] #1: ffff88802fa26420 (sb_writers#4){.+.+}-{0:0}, at: vfs_write+0x233/0xcb0 fs/read_write.c:586 #2: ffff88805ce2e800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:795 [inline] #2: ffff88805ce2e800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_dio_write_iter fs/ext4/file.c:530 [inline] #2: ffff88805ce2e800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_file_write_iter+0x388/0x1a10 fs/ext4/file.c:696 2 locks held by syz-executor.1/11880: #0: ffffffff8e898868 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree_super fs/btrfs/super.c:1805 [inline] #0: ffffffff8e898868 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree+0x2dc/0x1920 fs/btrfs/super.c:2084 #1: ffffffff8e3ec148 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x570 mm/swap.c:867 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc6-syzkaller-00046-g18daea77cca6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11866 Comm: syz-executor.0 Not tainted 6.9.0-rc6-syzkaller-00046-g18daea77cca6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:kasan_check_range+0x5/0x290 mm/kasan/generic.c:188 Code: 8d e8 bf 1f e5 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 <41> 57 41 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 RSP: 0018:ffffc90007657790 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81728df4 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fa7cce8 RBP: ffffc900076578f8 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc900076579f0 R11: fffff52000ecaf42 R12: 1ffff92000ecaefc R13: dffffc0000000000 R14: 0000000000000000 R15: 1ffff11003c670a8 FS: 00007f8c65fc86c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002006b000 CR3: 000000001f702000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] cpumask_test_cpu include/linux/cpumask.h:505 [inline] cpu_online include/linux/cpumask.h:1120 [inline] trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0xd4/0x550 kernel/locking/lockdep.c:5725 __might_fault+0xc6/0x120 mm/memory.c:6220 __copy_to_user include/linux/uaccess.h:133 [inline] save_xstate_epilog arch/x86/kernel/fpu/signal.c:127 [inline] copy_fpstate_to_sigframe+0xa82/0xd90 arch/x86/kernel/fpu/signal.c:245 get_sigframe+0x55d/0x700 arch/x86/kernel/signal.c:142 x64_setup_rt_frame+0x180/0xcc0 arch/x86/kernel/signal_64.c:175 setup_rt_frame arch/x86/kernel/signal.c:223 [inline] handle_signal arch/x86/kernel/signal.c:267 [inline] arch_do_signal_or_restart+0x458/0x860 arch/x86/kernel/signal.c:312 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8c6527dea9 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:00007f8c65fc80c8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00007f8c653abf80 RCX: 00007f8c6527dea9 RDX: 000000002006b000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007f8c652ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f8c653abf80 R15: 00007ffcbe3dfbb8