INFO: task syz-executor400:3677 blocked for more than 143 seconds.
Not tainted 6.1.21-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor400 state:D stack:25752 pid:3677 ppid:3675 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5238 [inline]
__schedule+0x132c/0x4330 kernel/sched/core.c:6551
schedule+0xbf/0x180 kernel/sched/core.c:6627
wb_wait_for_completion+0x162/0x290 fs/fs-writeback.c:191
sync_inodes_sb+0x293/0xab0 fs/fs-writeback.c:2714
sync_filesystem+0x16b/0x220 fs/sync.c:64
generic_shutdown_super+0x6b/0x340 fs/super.c:474
kill_block_super+0x7a/0xe0 fs/super.c:1441
deactivate_locked_super+0xa0/0x110 fs/super.c:332
cleanup_mnt+0x490/0x520 fs/namespace.c:1186
task_work_run+0x246/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:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:296
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe957480d07
RSP: 002b:00007fff5ed729f8 EFLAGS: 00000202
ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fe957480d07
RDX: 00007fff5ed72ab9 RSI: 000000000000000a RDI: 00007fff5ed72ab0
RBP: 00007fff5ed72ab0 R08: 00000000ffffffff R09: 00007fff5ed72890
R10: 000055555640b653 R11: 0000000000000202 R12: 00007fff5ed73b20
R13: 000055555640b5f0 R14: 00007fff5ed72a20 R15: 0000000000000001
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0:
ffffffff8cf26870
(rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0:
ffffffff8cf27070
(
rcu_tasks_trace.tasks_gp_mutex
){+.+.}-{3:3}
, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8cf266a0 (rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire+0x0/0x30
4 locks held by kworker/u4:3/46:
#0:
ffff888145a94138
(
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x77a/0x11f0
#1: ffffc90000b77d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264
#2:
ffff888026f26650
(
sb_internal
#2
){.+.+}-{0:0}
, at: xfs_bmapi_convert_delalloc+0x263/0x12d0 fs/xfs/libxfs/xfs_bmap.c:4521
#3:
ffff888070131858
(
&xfs_nondir_ilock_class
){++++}-{3:3}
, at: xfs_bmapi_convert_delalloc+0x291/0x12d0 fs/xfs/libxfs/xfs_bmap.c:4526
2 locks held by kworker/0:2/151:
#0: ffff888012466538 ((wq_completion)rcu_gp
){+.+.}-{0:0}
, at: process_one_work+0x77a/0x11f0
#1: ffffc90002e1fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264
5 locks held by kworker/1:3/2960:
2 locks held by getty/3316:
#0: ffff888028227098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2177
2 locks held by syz-executor400/3677:
#0: ffff888026f260e0 (&type->s_umount_key#42){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362
#1: ffff88801fa4a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline]
#1: ffff88801fa4a7d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x274/0xab0 fs/fs-writeback.c:2712
2 locks held by dhcpcd/3701:
#0: ffff88807bc9a130 (sk_lock-AF_PACKET){+.+.}-{0:0}
, at: lock_sock include/net/sock.h:1721 [inline]
, at: packet_do_bind+0x2a/0xbd0 net/packet/af_packet.c:3193
#1: ffffffff8cf2bc78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#1: ffffffff8cf2bc78 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3b0/0x8a0 kernel/rcu/tree_exp.h:948
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.21-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xf18/0xf60 kernel/hung_task.c:377
kthread+0x268/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2960 Comm: kworker/1:3 Not tainted 6.1.21-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Workqueue: xfs-buf/loop0 xfs_buf_ioend_work
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1345 [inline]
RIP: 0010:update_rq_clock+0x33/0x870 kernel/sched/core.c:732
Code: 53 48 83 ec 30 49 89 fe 48 c7 c0 a4 9b 52 8e 48 c1 e8 03 49 bd 00 00 00 00 00 fc ff df 42 0f b6 04 28 84 c0 0f 85 4e 06 00 00 <83> 3d 2a c2 f4 0c 00 74 59 49 8d 9e 58 0d 00 00 48 89 d8 48 c1 e8
RSP: 0018:ffffc900001e0c20 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffffff8c986848 RCX: dffffc0000000000
RDX: 1ffffffff1f8e408 RSI: ffffffff8aebd760 RDI: ffff8880b9939dc0
RBP: 00000001000112b4 R08: ffffffff8fc72040 R09: ffffffff8fc72048
R10: ffffffff8fc72058 R11: ffffffff8fc72050 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff8880b9939dc0 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe88bda9990 CR3: 0000000027f89000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
scheduler_tick+0xfc/0x530 kernel/sched/core.c:5508
update_process_times+0x17b/0x1b0 kernel/time/timer.c:1844
tick_sched_handle kernel/time/tick-sched.c:243 [inline]
tick_sched_timer+0x386/0x550 kernel/time/tick-sched.c:1480
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x5a7/0xe50 kernel/time/hrtimer.c:1749
hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
__sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1113
sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1107
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:console_trylock_spinning+0x3ad/0x450 kernel/printk/printk.c:1919
Code: 0f 84 4c ff ff ff e8 b2 56 1c 00 fb 31 db eb 41 e8 a8 56 1c 00 e8 53 47 10 09 4d 85 ed 74 cd e8 99 56 1c 00 fb bb 01 00 00 00 <48> c7 c7 40 28 e0 8c 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc9000c7bf840 EFLAGS: 00000293
RAX: ffffffff816d3147 RBX: 0000000000000001 RCX: ffff88807e870000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000c7bf908 R08: ffffffff816d3100 R09: fffffbfff204de4a
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920018f7f08
R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000
vprintk_emit+0xb8/0x1f0 kernel/printk/printk.c:2267
_printk+0xd1/0x111 kernel/printk/printk.c:2289
__xfs_printk fs/xfs/xfs_message.c:24 [inline]
xfs_printk_level+0x1c6/0x310 fs/xfs/xfs_message.c:44
xfs_buf_verifier_error+0x168/0x2a0 fs/xfs/xfs_error.c:422
xfs_allocbt_read_verify+0x52/0xc0
xfs_buf_ioend+0x28f/0x780 fs/xfs/xfs_buf.c:1303
process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289
worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436
kthread+0x268/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.659 msecs