INFO: task syz-executor.4:4635 blocked for more than 143 seconds. Not tainted 5.15.117-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23584 pid: 4635 ppid: 3874 flags:0x00004004 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+0x100c/0x1240 fs/xfs/xfs_super.c:1658 get_tree_bdev+0x3fe/0x620 fs/super.c:1303 vfs_get_tree+0x88/0x270 fs/super.c:1508 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:0x7fe2bc8748ba RSP: 002b:00007fe2bbbe4f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000096cb RCX: 00007fe2bc8748ba RDX: 0000000020009700 RSI: 0000000020009740 RDI: 00007fe2bbbe4fe0 RBP: 00007fe2bbbe5020 R08: 00007fe2bbbe5020 R09: 0000000002000000 R10: 0000000002000000 R11: 0000000000000246 R12: 0000000020009700 R13: 0000000020009740 R14: 00007fe2bbbe4fe0 R15: 0000000020000000 Showing all locks held in the system: 1 lock held by kthreadd/2: #0: ffff8880b9a39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 1 lock held by khungtaskd/27: #0: ffffffff8c91c5e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3259: #0: ffff8880249a5098 (&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/0x1da0 drivers/tty/n_tty.c:2147 2 locks held by kworker/0:4/3519: #0: ffff888011c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc90002fbfd20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 2 locks held by kworker/1:4/3521: #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc90002cdfd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 1 lock held by syz-executor.0/3871: #0: ffffffff8c920b28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #0: ffffffff8c920b28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:842 2 locks held by syz-executor.5/3877: #0: ffff88801c0e9918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff88801c0ae468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 3 locks held by kworker/1:6/3942: #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc900032ffd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 #2: ffffffff8c920b28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #2: ffffffff8c920b28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:842 2 locks held by kworker/0:6/4156: #0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2280 #1: ffffc9000300fd20 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2282 3 locks held by syz-executor.4/4635: #0: ffff88807d80c0e0 (&type->s_umount_key#50/1){+.+.}-{3:3}, at: alloc_super+0x210/0x940 fs/super.c:229 #1: ffff888079842158 (&qinf->qi_tree_lock){+.+.}-{3:3}, at: xfs_qm_dquot_walk+0x132/0x4a0 fs/xfs/xfs_qm.c:73 #2: ffff888078d8ad08 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_dqlock fs/xfs/xfs_dquot.h:133 [inline] #2: ffff888078d8ad08 (&dqp->q_qlock){+.+.}-{3:3}, at: xfs_qm_flush_one+0xca/0x350 fs/xfs/xfs_qm.c:1225 1 lock held by syz-executor.3/7283: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3877 Comm: syz-executor.5 Not tainted 5.15.117-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:xas_start+0x366/0x7b0 lib/xarray.c:193 Code: 2c 24 84 db 74 76 49 8d 5d fe 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 0f 85 c6 03 00 00 0f b6 1b 40 00 00 00 89 de e8 3e 05 53 fd 83 fb 3f 0f 87 e4 03 00 00 e8 RSP: 0000:ffffc90002e1f610 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000006 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000002 RBP: 0000000000000b24 R08: ffffffff842cf604 R09: fffff940002ffb81 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90002e1f7a8 R13: ffff888067cc58c2 R14: ffffc90002e1f7b8 R15: 1ffff920005c3ef7 FS: 0000555555580400(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f27672ca000 CR3: 000000001b5af000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xas_load lib/xarray.c:233 [inline] xas_store+0xaa/0x19e0 lib/xarray.c:788 page_cache_delete mm/filemap.c:142 [inline] __delete_from_page_cache+0x672/0x860 mm/filemap.c:232 delete_from_page_cache+0x126/0x190 mm/filemap.c:266 truncate_inode_page+0x8d/0xb0 mm/truncate.c:219 shmem_undo_range+0x535/0x1b50 mm/shmem.c:960 shmem_truncate_range mm/shmem.c:1063 [inline] shmem_evict_inode+0x21b/0xa00 mm/shmem.c:1145 evict+0x2a4/0x620 fs/inode.c:587 __dentry_kill+0x436/0x650 fs/dcache.c:582 dentry_kill+0xbb/0x290 dput+0x1f1/0x420 fs/dcache.c:888 __fput+0x5ec/0x890 fs/file_table.c:288 task_work_run+0x129/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:175 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f94c7af37f7 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:00007ffc1caac088 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f94c7af37f7 RDX: 00007ffc1caac15a RSI: 000000000000000a RDI: 00007ffc1caac150 RBP: 00007ffc1caac150 R08: 00000000ffffffff R09: 00007ffc1caabf20 R10: 0000555555581893 R11: 0000000000000246 R12: 00007f94c7b3c43b R13: 00007ffc1caad210 R14: 0000555555581810 R15: 00007ffc1caad250