INFO: task syz-executor.3:5096 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:22816 pid:5096 tgid:5096 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 btrfs_close_devices+0x89/0x610 fs/btrfs/volumes.c:1155 close_ctree+0xade/0xfd0 fs/btrfs/disk-io.c:4392 generic_shutdown_super+0x159/0x3d0 fs/super.c:641 kill_anon_super+0x3a/0x60 fs/super.c:1225 btrfs_kill_super+0x3b/0x50 fs/btrfs/super.c:2091 deactivate_locked_super+0xbe/0x1a0 fs/super.c:472 deactivate_super+0xde/0x100 fs/super.c:505 cleanup_mnt+0x222/0x450 fs/namespace.c:1267 task_work_run+0x14e/0x250 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [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+0x278/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f986667f1d7 RSP: 002b:00007fffd3a1a998 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f986667f1d7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fffd3a1aa50 RBP: 00007fffd3a1aa50 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fffd3a1bb10 R13: 00007f98666c93b9 R14: 00007f98666dd6e0 R15: 0000000000000003 INFO: task syz-executor.0:5452 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:23776 pid:5452 tgid:5452 ppid:1 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 __lru_add_drain_all+0x69/0x740 mm/swap.c:867 invalidate_bdev+0x9a/0xd0 block/bdev.c:95 btrfs_close_bdev+0xef/0x130 fs/btrfs/volumes.c:1075 btrfs_close_one_device fs/btrfs/volumes.c:1099 [inline] close_fs_devices+0x1b5/0x930 fs/btrfs/volumes.c:1141 btrfs_close_devices+0x91/0x610 fs/btrfs/volumes.c:1156 close_ctree+0xade/0xfd0 fs/btrfs/disk-io.c:4392 generic_shutdown_super+0x159/0x3d0 fs/super.c:641 kill_anon_super+0x3a/0x60 fs/super.c:1225 btrfs_kill_super+0x3b/0x50 fs/btrfs/super.c:2091 deactivate_locked_super+0xbe/0x1a0 fs/super.c:472 deactivate_super+0xde/0x100 fs/super.c:505 cleanup_mnt+0x222/0x450 fs/namespace.c:1267 task_work_run+0x14e/0x250 kernel/task_work.c:180 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [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+0x278/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f098f47f1d7 RSP: 002b:00007ffcd7f11ab8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f098f47f1d7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcd7f11b70 RBP: 00007ffcd7f11b70 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffcd7f12c30 R13: 00007f098f4c93b9 R14: 000000000002a14c R15: 0000000000000002 INFO: task syz-executor.1:6273 blocked for more than 144 seconds. Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:27216 pid:6273 tgid:6272 ppid:5882 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5d00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6838 schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2558 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3de/0x5f0 kernel/sched/completion.c:116 __flush_work+0x5c4/0xb10 kernel/workqueue.c:4205 __lru_add_drain_all+0x52c/0x740 mm/swap.c:912 invalidate_bdev+0x9a/0xd0 block/bdev.c:95 __ext4_fill_super fs/ext4/super.c:5674 [inline] ext4_fill_super+0x29be/0xab20 fs/ext4/super.c:5699 get_tree_bdev+0x36f/0x610 fs/super.c:1614 vfs_get_tree+0x8f/0x380 fs/super.c:1779 do_new_mount fs/namespace.c:3352 [inline] path_mount+0x14e6/0x1f20 fs/namespace.c:3679 do_mount fs/namespace.c:3692 [inline] __do_sys_mount fs/namespace.c:3898 [inline] __se_sys_mount fs/namespace.c:3875 [inline] __x64_sys_mount+0x297/0x320 fs/namespace.c:3875 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe5eca7f5aa RSP: 002b:00007fe5ed7eeef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fe5ed7eef80 RCX: 00007fe5eca7f5aa RDX: 00000000200023c0 RSI: 0000000020002380 RDI: 00007fe5ed7eef40 RBP: 00000000200023c0 R08: 00007fe5ed7eef80 R09: 0000000001008802 R10: 0000000001008802 R11: 0000000000000202 R12: 0000000020002380 R13: 00007fe5ed7eef40 R14: 0000000000000606 R15: 000000000000002c Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8d7b0e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 2 locks held by getty/4832: #0: ffff88802a44d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 2 locks held by syz-executor.3/5096: #0: ffff8880249180e0 (&type->s_umount_key#72){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880249180e0 (&type->s_umount_key#72){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880249180e0 (&type->s_umount_key#72){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:504 #1: ffffffff8df55548 (uuid_mutex){+.+.}-{3:3}, at: btrfs_close_devices+0x89/0x610 fs/btrfs/volumes.c:1155 3 locks held by syz-executor.0/5452: #0: ffff8880298b40e0 (&type->s_umount_key#72){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880298b40e0 (&type->s_umount_key#72){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880298b40e0 (&type->s_umount_key#72){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:504 #1: ffffffff8df55548 (uuid_mutex){+.+.}-{3:3}, at: btrfs_close_devices+0x89/0x610 fs/btrfs/volumes.c:1155 #2: ffffffff8d8ce008 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x69/0x740 mm/swap.c:867 2 locks held by syz-executor.2/6247: 2 locks held by syz-executor.4/6257: 2 locks held by syz-executor.1/6273: #0: ffff88807c1280e0 (&type->s_umount_key#26/1){+.+.}-{3:3}, at: alloc_super+0x23d/0xbd0 fs/super.c:343 #1: ffffffff8d8ce008 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x69/0x740 mm/swap.c:867 2 locks held by syz-executor.1/6323: #0: ffff88807830d4c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xeb/0x180 fs/file.c:1191 #1: ffff88802f19a420 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 2 locks held by syz-executor.1/6324: #0: ffff88807830d748 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xeb/0x180 fs/file.c:1191 #1: ffff88802f19a420 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 1 lock held by syz-executor.1/6325: #0: ffff88807830d4c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xeb/0x180 fs/file.c:1191 1 lock held by syz-executor.1/6326: #0: ffff88807830d4c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xeb/0x180 fs/file.c:1191 2 locks held by syz-executor.1/6327: #0: ffff8880245d9748 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xeb/0x180 fs/file.c:1191 #1: ffff88802f19a420 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 1 lock held by syz-executor.1/6328: #0: ffff88807830d748 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xeb/0x180 fs/file.c:1191 2 locks held by syz-executor.1/6329: #0: ffff8880245d94c8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xeb/0x180 fs/file.c:1191 #1: ffff88802f19a420 (sb_writers#5){.+.+}-{0:0}, at: ksys_write+0x12f/0x260 fs/read_write.c:643 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #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+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 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+0xf86/0x1240 kernel/hung_task.c:380 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/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: 6257 Comm: syz-executor.4 Not tainted 6.9.0-rc5-syzkaller-00031-g71b1543c83d6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:kasan_check_range+0x158/0x1a0 mm/kasan/generic.c:190 Code: 74 11 80 38 00 74 ef 4d 8d 1c 2c 48 85 c0 48 89 c2 75 93 48 89 da 4c 89 d8 4c 29 da e9 2c ff ff ff 5b b8 01 00 00 00 5d 41 5c cc cc cc cc b8 01 00 00 00 c3 cc cc cc cc 48 29 c3 48 89 da 49 RSP: 0018:ffffc900036df8e0 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff816bdb09 RDX: fffffbfff1f3e623 RSI: 0000000000000008 RDI: ffffffff8f9f3110 RBP: 1ffff920006dbf1f R08: 0000000000000000 R09: fffffbfff1f3e622 R10: ffffffff8f9f3117 R11: 0000000000000002 R12: ffffffff8d7ddb08 R13: dffffc0000000000 R14: 000000000003d78c R15: ffffed10172a507d FS: 00007fbf495536c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbf49552f00 CR3: 000000005e0ee000 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_release include/trace/events/lock.h:69 [inline] lock_release+0xa9/0x6c0 kernel/locking/lockdep.c:5765 seqcount_lockdep_reader_access include/linux/seqlock.h:73 [inline] ktime_get+0x91/0x4a0 kernel/time/timekeeping.c:846 clockevents_program_min_delta+0x82/0x3a0 kernel/time/clockevents.c:241 clockevents_program_event+0x2a6/0x380 kernel/time/clockevents.c:336 tick_program_event+0xa9/0x140 kernel/time/tick-oneshot.c:44 __hrtimer_reprogram kernel/time/hrtimer.c:684 [inline] __hrtimer_reprogram kernel/time/hrtimer.c:658 [inline] hrtimer_reprogram+0x283/0x460 kernel/time/hrtimer.c:869 hrtimer_start_range_ns+0x7ea/0xe10 kernel/time/hrtimer.c:1306 posixtimer_rearm+0x1ee/0x360 kernel/time/posix-timers.c:267 dequeue_signal+0x2ac/0x660 kernel/signal.c:696 get_signal+0x5fb/0x2710 kernel/signal.c:2790 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 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+0x14a/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbf4887dea7 Code: 14 25 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 RSP: 002b:00007fbf495530c8 EFLAGS: 00000246 RAX: 00000000000000ca RBX: 00007fbf489abf80 RCX: 00007fbf4887dea9 RDX: 0000000000000000 RSI: 0000800000000006 RDI: 0000000020001300 RBP: 00007fbf488ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fbf489abf80 R15: 00007ffcf844d338