INFO: task syz-executor.5:7881 blocked for more than 143 seconds.
Not tainted 6.1.62-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D
stack:28224 pid:7881 ppid:7581 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5241 [inline]
__schedule+0x142d/0x4550 kernel/sched/core.c:6554
schedule+0xbf/0x180 kernel/sched/core.c:6630
wb_wait_for_completion+0x162/0x290 fs/fs-writeback.c:191
sync_inodes_sb+0x28f/0xb10 fs/fs-writeback.c:2722
iterate_supers+0x127/0x1e0 fs/super.c:746
ksys_sync+0xb9/0x1c0 fs/sync.c:102
__do_sys_sync+0xa/0x10 fs/sync.c:113
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+0x63/0xcd
RIP: 0033:0x7f1edc47cae9
RSP: 002b:00007f1edd22b0c8 EFLAGS: 00000246
ORIG_RAX: 00000000000000a2
RAX: ffffffffffffffda RBX: 00007f1edc59bf80 RCX: 00007f1edc47cae9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007f1edc4c847a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f1edc59bf80 R15: 00007ffd057dcce8
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0:
ffffffff8d12a230 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/13:
#0:
ffffffff8d12aa30
(
rcu_tasks_trace.tasks_gp_mutex
){+.+.}-{3:3}
, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516
1 lock held by khungtaskd/28:
#0:
ffffffff8d12a060
(
rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:747 [inline]
, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6493
2 locks held by getty/3305:
#0:
ffff888028d9b098 (&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:2188
2 locks held by kworker/1:10/3995:
#0:
ffff88802852cd38
(
(wq_completion)xfs-buf/loop3
){+.+.}-{0:0}
, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1:
ffffc900055a7d20
(
(work_completion)(&bp->b_ioend_work)
){+.+.}-{0:0}
, at: psi_task_switch+0x43d/0x770 kernel/sched/psi.c:1000
2 locks held by kworker/u4:13/5569:
#0:
ffff8881422c6938
(
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1:
ffffc900156afd20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
4 locks held by syz-executor.3/7094:
2 locks held by syz-executor.5/7881:
#0:
ffff8880783c00e0
(&type->s_umount_key#61){++++}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:744
#1: ffff8881433e27d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline]
#1: ffff8881433e27d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x270/0xb10 fs/fs-writeback.c:2720
5 locks held by kworker/1:8/8205:
6 locks held by kworker/0:14/8266:
#0:
ffff888143ea8138
((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#1: ffffc9000462fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}
, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267
#2:
ffff888145361190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:836 [inline]
, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5758
#3:
ffff8881453644f8 (&port_dev->status_lock
){+.+.}-{3:3}
, at: usb_lock_port drivers/usb/core/hub.c:3122 [inline]
, at: hub_port_connect drivers/usb/core/hub.c:5330 [inline]
, at: hub_port_connect_change drivers/usb/core/hub.c:5574 [inline]
, at: port_event drivers/usb/core/hub.c:5730 [inline]
, at: hub_event+0x31e5/0x5730 drivers/usb/core/hub.c:5812
#4:
ffff888022907468 (hcd->address0_mutex){+.+.}-{3:3}
, at: hub_port_connect drivers/usb/core/hub.c:5331 [inline]
, at: hub_port_connect_change drivers/usb/core/hub.c:5574 [inline]
, at: port_event drivers/usb/core/hub.c:5730 [inline]
, at: hub_event+0x3213/0x5730 drivers/usb/core/hub.c:5812
#5:
ffff8880b9839e18
(
&rq->__lock
){-.-.}-{2:2}
, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537
4 locks held by syz-executor.0/9018:
#0:
ffff888086fe2098
(
&tty->ldisc_sem
){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1:
ffff888086fe2130
(&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:944 [inline]
(&tty->atomic_write_lock){+.+.}-{3:3}, at: do_tty_write drivers/tty/tty_io.c:967 [inline]
(&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write+0x1f5/0x890 drivers/tty/tty_io.c:1089
#2: ffff888086fe22e8 (&tty->termios_rwsem){++++}-{3:3}
, at: n_tty_write+0x25e/0x1260 drivers/tty/n_tty.c:2350
#3:
ffffc900049bb380
(&ldata->output_lock){+.+.}-{3:3}, at: process_output drivers/tty/n_tty.c:503 [inline]
(&ldata->output_lock){+.+.}-{3:3}, at: n_tty_write+0xe1a/0x1260 drivers/tty/n_tty.c:2379
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.62-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/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+0xf88/0xfd0 kernel/hung_task.c:377
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8266 Comm: kworker/0:14 Not tainted 6.1.62-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
Workqueue: xfs-buf/loop3 xfs_buf_ioend_work
RIP: 0010:format_decode+0x682/0x1f10 lib/vsprintf.c:2556
Code: 00 00 40 00 00 00 eb 2a e8 bb 35 07 f7 48 bb 00 00 00 00 02 00 00 00 eb 19 e8 aa 35 07 f7 48 bb 00 00 00 00 04 00 00 00 eb 08 99 35 07 f7 4c 89 eb 48 ba 00 00 00 00 00 fc ff df 48 8b 44 24
RSP: 0018:ffffc9000462f120 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000010 RCX: 000000000000008b
RDX: 0000000000000005 RSI: ffffffff8e5cc320 RDI: 0000000000000030
RBP: ffffc9000462f210 R08: 0000000000000005 R09: ffffffff8a83587b
R10: 0000000000000005 R11: ffff888090485940 R12: ffffffff8aeca647
R13: 0000001000000000 R14: ffffffff8aeca647 R15: 1ffffffff15d94c8
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff92b27f70 CR3: 000000000ce8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
vsnprintf+0x14d/0x1c70 lib/vsprintf.c:2752
sprintf+0xd6/0x120 lib/vsprintf.c:3004
print_time kernel/printk/printk.c:1274 [inline]
info_print_prefix+0x167/0x300 kernel/printk/printk.c:1300
record_print_text kernel/printk/printk.c:1349 [inline]
console_emit_next_record+0x71c/0xea0 kernel/printk/printk.c:2725
console_unlock+0x278/0x7c0 kernel/printk/printk.c:2871
vprintk_emit+0x523/0x740 kernel/printk/printk.c:2268
_printk+0xd1/0x111 kernel/printk/printk.c:2293
__xfs_printk fs/xfs/xfs_message.c:24 [inline]
_xfs_alert_tag+0x1d0/0x2f0 fs/xfs/xfs_message.c:74
xfs_buf_verifier_error+0x14e/0x2a0 fs/xfs/xfs_error.c:417
xfs_allocbt_read_verify+0x52/0xc0
xfs_buf_ioend+0x28f/0x780 fs/xfs/xfs_buf.c:1303
process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306