INFO: task syz-executor.1:7645 blocked for more than 143 seconds.
Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:26168 pid:7645 ppid:5039 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0xc9a/0x5880 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
xlog_grant_head_wait+0x140/0xb10 fs/xfs/xfs_log.c:307
xlog_grant_head_check+0x3d9/0x420 fs/xfs/xfs_log.c:369
xfs_log_reserve+0x35d/0x890 fs/xfs/xfs_log.c:486
xfs_trans_reserve+0x479/0x670 fs/xfs/xfs_trans.c:194
xfs_trans_alloc+0x33e/0x880 fs/xfs/xfs_trans.c:283
xfs_qm_qino_alloc+0x397/0xb70 fs/xfs/xfs_qm.c:779
xfs_qm_init_quotainos+0x546/0x710 fs/xfs/xfs_qm.c:1560
xfs_qm_init_quotainfo+0xce/0xa80 fs/xfs/xfs_qm.c:643
xfs_qm_mount_quotas+0x59/0x690 fs/xfs/xfs_qm.c:1444
xfs_mountfs+0x1e07/0x1f60 fs/xfs/xfs_mount.c:959
xfs_fs_fill_super+0x1490/0x1fc0 fs/xfs/xfs_super.c:1714
get_tree_bdev+0x43e/0x7d0 fs/super.c:1319
vfs_get_tree+0x8d/0x350 fs/super.c:1520
do_new_mount fs/namespace.c:3335 [inline]
path_mount+0x136e/0x1e70 fs/namespace.c:3662
do_mount fs/namespace.c:3675 [inline]
__do_sys_mount fs/namespace.c:3884 [inline]
__se_sys_mount fs/namespace.c:3861 [inline]
__x64_sys_mount+0x283/0x300 fs/namespace.c:3861
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7ff76748d8ba
RSP: 002b:00007ff7682d8f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 000000000000baee RCX: 00007ff76748d8ba
RDX: 000000002000bb00 RSI: 000000002000bb40 RDI: 00007ff7682d8fe0
RBP: 00007ff7682d9020 R08: 00007ff7682d9020 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000002000bb00
R13: 000000002000bb40 R14: 00007ff7682d8fe0 R15: 0000000020000080
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c797bf0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8c7978f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff8c798800 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6559
1 lock held by hwrng/728:
#0: ffffffff8d285228 (reading_mutex){+.+.}-{3:3}, at: hwrng_fillfn+0x141/0x3e0 drivers/char/hw_random/core.c:505
2 locks held by getty/4754:
#0: ffff88814b850098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xf02/0x13f0 drivers/tty/n_tty.c:2176
3 locks held by kworker/1:7/7041:
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2379
#1: ffffc9001699fdb0 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2383
#2: ffffffff8c7a3bf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
#2: ffffffff8c7a3bf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992
2 locks held by kworker/1:10/7045:
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2379
#1: ffffc9001698fdb0 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2383
2 locks held by syz-executor.1/7645:
#0: ffff888020e280e0 (&type->s_umount_key#49/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228
#1: ffff888020e28650 (sb_internal#2){.+.+}-{0:0}, at: xfs_qm_qino_alloc+0x397/0xb70 fs/xfs/xfs_qm.c:779
3 locks held by kworker/u4:8/7745:
2 locks held by syz-executor.5/8503:
#0: ffff88807dc340e0 (&type->s_umount_key#49/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228
#1: ffff88807dc34650 (sb_internal#2){.+.+}-{0:0}
, at: xfs_qm_qino_alloc+0x397/0xb70 fs/xfs/xfs_qm.c:779
1 lock held by syz-executor.4/8578:
1 lock held by syz-executor.1/8583:
2 locks held by syz-executor.0/8584:
2 locks held by syz-executor.2/8595:
7 locks held by syz-executor.3/8596:
#0: ffff88807d3b2ac8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xd7/0xf0 fs/file.c:1047
#1: ffff888075ca4460 (sb_writers#10){.+.+}-{0:0}, at: do_writev+0x12a/0x2f0 fs/read_write.c:976
#2: ffff8880691a1c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x285/0x600 fs/kernfs/file.c:325
#3: ffffffff8c7e2088 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_lock include/linux/cgroup.h:370 [inline]
#3: ffffffff8c7e2088 (cgroup_mutex){+.+.}-{3:3}, at: cgroup_kn_lock_live+0x138/0x520 kernel/cgroup/cgroup.c:1683
#4: ffffffff8c640270 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2459 [inline]
#4: ffffffff8c640270 (cpu_hotplug_lock){++++}-{0:0}, at: cgroup_procs_write_start+0x149/0x670 kernel/cgroup/cgroup.c:2963
#5: ffffffff8c7e1e50 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_attach_lock kernel/cgroup/cgroup.c:2461 [inline]
#5: ffffffff8c7e1e50 (cgroup_threadgroup_rwsem){++++}-{0:0}, at: cgroup_procs_write_start+0x155/0x670 kernel/cgroup/cgroup.c:2963
#6: ffffffff8c7a3bf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
#6: ffffffff8c7a3bf8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:992
1 lock held by syz-executor.5/8597:
#0: ffffffff8e11a8a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
#0: ffffffff8e11a8a8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6414
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #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+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/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+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 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: 7676 Comm: kworker/0:16 Not tainted 6.4.0-syzkaller-01406-ge8f75c0270d9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023
Workqueue: 0x0 (rcu_gp)
RIP: 0010:__sanitizer_cov_trace_cmp4+0x4/0x20 kernel/kcov.c:278
Code: 84 00 00 00 00 00 f3 0f 1e fa 48 8b 0c 24 0f b7 d6 0f b7 f7 bf 02 00 00 00 e9 38 ff ff ff 0f 1f 84 00 00 00 00 00 f3 0f 1e fa <48> 8b 0c 24 89 f2 89 fe bf 04 00 00 00 e9 1a ff ff ff 66 2e 0f 1f
RSP: 0018:ffffc9000b367d18 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 1ffff11017307788 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888015a5c2d0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000094001 R12: 0000000000000000
R13: 0000000000000000 R14: ffff888053569000 R15: ffff8880b983bc00
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000002758a000 CR4: 0000000000350ef0
Call Trace:
process_one_work+0x26d/0x15e0 kernel/workqueue.c:2322
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2555
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308