INFO: task syz-executor.1:6493 blocked for more than 143 seconds. Not tainted 5.15.133-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23584 pid: 6493 ppid: 3545 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_timeout+0xac/0x300 kernel/time/timer.c:1860 do_wait_for_common+0x2d9/0x480 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x48/0x60 kernel/sched/completion.c:138 xfs_buf_iowait+0xb4/0x400 fs/xfs/xfs_buf.c:1573 xfs_buf_delwri_pushbuf+0x2cf/0x4b0 fs/xfs/xfs_buf.c:2251 xfs_qm_flush_one+0x266/0x350 fs/xfs/xfs_qm.c:1249 xfs_qm_dquot_walk+0x22a/0x4a0 fs/xfs/xfs_qm.c:86 xfs_qm_quotacheck+0x2f7/0x640 fs/xfs/xfs_qm.c:1335 xfs_qm_mount_quotas+0x328/0x610 fs/xfs/xfs_qm.c:1441 xfs_mountfs+0x162b/0x1ca0 fs/xfs/xfs_mount.c:904 xfs_fs_fill_super+0xfd4/0x1210 fs/xfs/xfs_super.c:1658 get_tree_bdev+0x3fe/0x620 fs/super.c:1312 vfs_get_tree+0x88/0x270 fs/super.c:1517 do_new_mount+0x28b/0xae0 fs/namespace.c:2994 do_mount fs/namespace.c:3337 [inline] __do_sys_mount fs/namespace.c:3545 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fd311b7d1ea RSP: 002b:00007fd3100fcee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd3100fcf80 RCX: 00007fd311b7d1ea RDX: 0000000020009800 RSI: 0000000020009840 RDI: 00007fd3100fcf40 RBP: 0000000020009800 R08: 00007fd3100fcf80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020009840 R13: 00007fd3100fcf40 R14: 000000000000980a R15: 0000000020000040 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91f0a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3262: #0: ffff88814b08d098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by syz-executor.0/3544: #0: ffff8880793ae118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff88801b22c468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 3 locks held by syz-executor.4/3562: #0: ffff8880b9a39718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 #1: ffff8880b9a27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x53d/0x810 kernel/sched/psi.c:891 #2: ffffffff8c91f0a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:10/3911: #0: ffff888011c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900059efd20 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 2 locks held by kworker/0:11/1602: #0: ffff888011c72538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90011affd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by kworker/0:15/1733: #0: ffff888011c70d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90012cefd20 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8c923668 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #2: ffffffff8c923668 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:845 3 locks held by syz-executor.1/6493: #0: ffff88808c4f00e0 (&type->s_umount_key#72/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffff888075863158 (&qinf->qi_tree_lock){+.+.}-{3:3}, at: xfs_qm_dquot_walk+0x132/0x4a0 fs/xfs/xfs_qm.c:73 #2: ffff88802345fa48 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_dqlock fs/xfs/xfs_dquot.h:133 [inline] #2: ffff88802345fa48 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_qm_flush_one+0xca/0x350 fs/xfs/xfs_qm.c:1225 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.133-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 11272 Comm: syz-executor.0 Not tainted 5.15.133-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:arch_test_and_set_bit arch/x86/include/asm/bitops.h:138 [inline] RIP: 0010:test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:71 [inline] RIP: 0010:test_and_set_ti_thread_flag include/linux/thread_info.h:108 [inline] RIP: 0010:test_and_set_tsk_thread_flag include/linux/sched.h:1990 [inline] RIP: 0010:set_notify_resume include/linux/tracehook.h:162 [inline] RIP: 0010:task_work_add+0x137/0x1d0 kernel/task_work.c:51 Code: de e8 0d b5 2b 00 45 84 f6 75 54 e8 a3 b2 2b 00 e9 83 00 00 00 4c 89 ff be 08 00 00 00 e8 81 5b 75 00 31 db f0 49 0f ba 2f 01 <41> 0f 93 c6 0f 92 c3 bf 02 00 00 00 89 de e8 d6 b4 2b 00 31 ed 31 RSP: 0018:ffffc900108cfe60 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff81546abf RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff888012a8bb80 RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed1002551771 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888096cf0280 R13: dffffc0000000000 R14: 1ffff1100255189f R15: ffff888012a8bb80 FS: 00005555568c5480(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa2bc74a000 CR3: 0000000096091000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fput_many+0xe7/0x1b0 fs/file_table.c:336 filp_close+0x10e/0x150 fs/open.c:1325 __do_sys_close fs/open.c:1338 [inline] __se_sys_close fs/open.c:1336 [inline] __x64_sys_close+0x36/0x80 fs/open.c:1336 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fa2bc62d9da Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007ffc2ea442e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fa2bc62d9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000fd2 R08: 0000001b30e20000 R09: 0000000000000ac4 R10: 0000000081a6c190 R11: 0000000000000293 R12: 00007fa2bc1b3af8 R13: ffffffffffffffff R14: 00007fa2bc1b2000 R15: 0000000000369ce8