INFO: task syz-executor.5:9916 blocked for more than 143 seconds. Not tainted 6.4.0-rc1-syzkaller-00177-gbb7c241fae62 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27000 pid:9916 ppid:5040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 jfs_flush_journal+0x733/0xec0 fs/jfs/jfs_logmgr.c:1564 jfs_sync_fs+0x80/0xa0 fs/jfs/super.c:684 sync_filesystem+0x1c0/0x220 fs/sync.c:66 jfs_remount+0x136/0x6b0 fs/jfs/super.c:432 reconfigure_super+0x3c9/0x7c0 fs/super.c:956 do_remount fs/namespace.c:2701 [inline] path_mount+0xc19/0xf80 fs/namespace.c:3361 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa30d88d69a RSP: 002b:00007fa30e682f88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa30d88d69a RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000 RBP: 00007fa30e683020 R08: 00007fa30e683020 R09: 0000000001a404ac R10: 0000000001a404ac R11: 0000000000000206 R12: 0000000020000180 R13: 0000000020000100 R14: 00007fa30e682fe0 R15: 0000000020000b00 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf27670 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27a30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf274a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4746: #0: ffff88802d6aa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor.2/5030: #0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline] #0: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a3/0x890 kernel/rcu/tree_exp.h:992 2 locks held by syz-executor.1/5033: #0: ffff8880866ba0e0 (&type->s_umount_key#57){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 #1: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline] #1: ffffffff8cf2cb78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x46c/0x890 kernel/rcu/tree_exp.h:992 2 locks held by kworker/1:12/5389: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc90005c27d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/u4:7/5432: #0: ffff8880b983c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffffc90005967d20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 2 locks held by kworker/0:13/5818: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77e/0x10e0 kernel/workqueue.c:2378 #1: ffffc900164afd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7c8/0x10e0 kernel/workqueue.c:2380 1 lock held by syz-executor.5/9916: #0: ffff88802904a0e0 (&type->s_umount_key#105){++++}-{3:3}, at: do_remount fs/namespace.c:2698 [inline] #0: ffff88802904a0e0 (&type->s_umount_key#105){++++}-{3:3}, at: path_mount+0xbd2/0xf80 fs/namespace.c:3361 1 lock held by syz-executor.3/13032: #0: ffff8880336ac0e0 (&type->s_umount_key#56/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 1 lock held by syz-executor.0/13064: #0: ffff88802904a0e0 (&type->s_umount_key#105){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:743 1 lock held by syz-executor.4/13081: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc1-syzkaller-00177-gbb7c241fae62 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5030 Comm: syz-executor.2 Not tainted 6.4.0-rc1-syzkaller-00177-gbb7c241fae62 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:__bfs kernel/locking/lockdep.c:1805 [inline] RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1850 [inline] RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2800 [inline] RIP: 0010:check_prev_add kernel/locking/lockdep.c:3112 [inline] RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3227 [inline] RIP: 0010:validate_chain+0x1d0c/0x58e0 kernel/locking/lockdep.c:3842 Code: fc ff df 80 3c 08 00 74 08 4c 89 f7 e8 9d 5f 77 00 48 09 5c 24 38 4d 8b 3e 4d 39 f7 0f 84 f4 fb ff ff 41 b5 01 eb 0c 4d 8b 3f <4d> 39 f7 0f 84 e3 fb ff ff 49 8d 5f 30 48 89 d8 48 c1 e8 03 48 b9 RSP: 0018:ffffc90003e1ee20 EFLAGS: 00000046 RAX: 1ffffffff2290af9 RBX: ffffffff914857f8 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff9006e130 RBP: ffffc90003e1f0c8 R08: dffffc0000000000 R09: fffffbfff206504d R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff914836f8 R13: 0000000000000000 R14: ffffffff9006e110 R15: ffffffff915eb6a8 FS: 000055555740c400(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc901e0ba4 CR3: 0000000040512000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lock_acquire+0x1295/0x2000 kernel/locking/lockdep.c:5074 lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5691 do_write_seqcount_begin_nested include/linux/seqlock.h:516 [inline] do_write_seqcount_begin include/linux/seqlock.h:541 [inline] psi_group_change+0x12d/0x1310 kernel/sched/psi.c:795 psi_task_switch+0x199/0x770 kernel/sched/psi.c:946 psi_sched_switch kernel/sched/stats.h:185 [inline] __schedule+0x2528/0x4900 kernel/sched/core.c:6664 preempt_schedule_irq+0xfb/0x1b0 kernel/sched/core.c:6981 irqentry_exit+0x57/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:lock_acquire+0x25a/0x520 kernel/locking/lockdep.c:5695 Code: 2b 00 74 08 4c 89 f7 e8 74 36 78 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0018:ffffc90003e1f820 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff920007c3f10 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffffffff8aea9e20 RDI: ffffffff8b3842c0 RBP: ffffc90003e1f968 R08: dffffc0000000000 R09: fffffbfff2278fb4 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920007c3f0c R13: dffffc0000000000 R14: ffffc90003e1f880 R15: 0000000000000246 __flush_workqueue+0x178/0x1620 kernel/workqueue.c:2925 close_ctree+0x3b9/0xc60 fs/btrfs/disk-io.c:4586 generic_shutdown_super+0x134/0x340 fs/super.c:500 kill_anon_super+0x3b/0x60 fs/super.c:1107 btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2138 deactivate_locked_super+0xa4/0x110 fs/super.c:331 cleanup_mnt+0x426/0x4c0 fs/namespace.c:1177 task_work_run+0x24a/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xd9/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:297 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fde1068d5d7 Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcf33bb238 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fde1068d5d7 RDX: 00007ffcf33bb309 RSI: 000000000000000a RDI: 00007ffcf33bb300 RBP: 00007ffcf33bb300 R08: 00000000ffffffff R09: 00007ffcf33bb0d0 R10: 000055555740d873 R11: 0000000000000246 R12: 00007fde106e6cdc R13: 00007ffcf33bc3c0 R14: 000055555740d810 R15: 00007ffcf33bc400