INFO: task syz-executor226:5149 blocked for more than 143 seconds.
Not tainted 6.9.0-rc7-syzkaller-00183-gcf87f46fd34d #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor226 state:D
stack:22928 pid:5149 tgid:5149 ppid:5142 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0xf15/0x5d00 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6838
wb_wait_for_completion+0x1b2/0x270 fs/fs-writeback.c:217
sync_inodes_sb+0x1b7/0xa40 fs/fs-writeback.c:2783
sync_filesystem+0x176/0x290 fs/sync.c:64
generic_shutdown_super+0x7e/0x3d0 fs/super.c:620
kill_block_super+0x3b/0x90 fs/super.c:1675
xfs_kill_sb+0x15/0x50 fs/xfs/xfs_super.c:2026
deactivate_locked_super+0xbe/0x1a0 fs/super.c:472
deactivate_super+0xde/0x100 fs/super.c:505
cleanup_mnt+0x222/0x450 fs/namespace.c:1267
task_work_run+0x14e/0x250 kernel/task_work.c:180
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x278/0x2a0 kernel/entry/common.c:218
do_syscall_64+0xdc/0x260 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8b0054b047
RSP: 002b:00007fff95ed95b8 EFLAGS: 00000206
ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f8b0054b047
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff95ed9670
RBP: 00007fff95ed9670 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000206 R12: 00007fff95eda720
R13: 000055558cab58f0 R14: 00007fff95eda760 R15: 0000000000000003
Showing all locks held in the system:
2 locks held by kworker/0:0/7:
#0:
ffff8880b943ea58
(
&rq->__lock
){-.-.}-{2:2}
, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559
#1: ffff8880b9428a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988
2 locks held by kworker/1:0/24:
1 lock held by khungtaskd/29:
#0:
ffffffff8d9b0e20
(
rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
4 locks held by kworker/u8:6/138:
#0:
ffff8880192e4948
(
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242
#1: ffffc90002dafd80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243
#2: ffff888067afa610 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x175/0xc90 fs/xfs/libxfs/xfs_bmap.c:4625
#3: ffff88806ddc88d8 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_ilock+0x2ef/0x420 fs/xfs/xfs_inode.c:206
4 locks held by kworker/u8:8/2410:
#0: ffff8880192e4948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242
#1: ffffc90009f47d80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243
#2: ffff88802c85a610 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x175/0xc90 fs/xfs/libxfs/xfs_bmap.c:4625
#3: ffff88806dd188d8 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_ilock+0x2ef/0x420 fs/xfs/xfs_inode.c:206
2 locks held by getty/4838:
#0: ffff88802a8460a0 (&tty->ldisc_sem){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1:
ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}
, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201
2 locks held by syz-executor226/5147:
#0:
ffff88802c85a0e0
(
&type->s_umount_key
#65
){+.+.}-{3:3}
, at: __super_lock fs/super.c:56 [inline]
, at: __super_lock_excl fs/super.c:71 [inline]
, at: deactivate_super+0xd6/0x100 fs/super.c:504
#1:
ffff88801fd727d0
(
&bdi->wb_switch_rwsem
){+.+.}-{3:3}
, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:389 [inline]
, at: sync_inodes_sb+0x19d/0xa40 fs/fs-writeback.c:2781
2 locks held by syz-executor226/5148:
#0:
ffff888067afa0e0
(&type->s_umount_key#65){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
(&type->s_umount_key#65){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
(&type->s_umount_key#65){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:504
#1:
ffff88801fc6e7d0
(&bdi->wb_switch_rwsem
){+.+.}-{3:3}
, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:389 [inline]
, at: sync_inodes_sb+0x19d/0xa40 fs/fs-writeback.c:2781
2 locks held by syz-executor226/5149:
#0: ffff88802d92c0e0
(&type->s_umount_key
#65
){+.+.}-{3:3}
, at: __super_lock fs/super.c:56 [inline]
, at: __super_lock_excl fs/super.c:71 [inline]
, at: deactivate_super+0xd6/0x100 fs/super.c:504
#1:
ffff88801fc687d0
(
&bdi->wb_switch_rwsem
){+.+.}-{3:3}
, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:389 [inline]
, at: sync_inodes_sb+0x19d/0xa40 fs/fs-writeback.c:2781
2 locks held by syz-executor226/5146:
#0:
ffff8880232960e0
(
&type->s_umount_key
#65
){+.+.}-{3:3}
, at: __super_lock fs/super.c:56 [inline]
, at: __super_lock_excl fs/super.c:71 [inline]
, at: deactivate_super+0xd6/0x100 fs/super.c:504
#1:
ffff88801fc527d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:389 [inline]
ffff88801fc527d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19d/0xa40 fs/fs-writeback.c:2781
2 locks held by syz-executor226/5150:
#0: ffff888025ab80e0 (&type->s_umount_key#65){+.+.}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff888025ab80e0 (&type->s_umount_key#65){+.+.}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff888025ab80e0 (&type->s_umount_key#65){+.+.}-{3:3}, at: deactivate_super+0xd6/0x100 fs/super.c:504
#1: ffff88801fd4c7d0
(&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:389 [inline]
(&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x19d/0xa40 fs/fs-writeback.c:2781
2 locks held by kworker/1:4/5156:
4 locks held by kworker/u8:3/5209:
#0:
ffff8880192e4948
(
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242
#1:
ffffc900034ffd80 ((work_completion)(&(&wb->dwork)->work)
){+.+.}-{0:0}
, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243
#2:
ffff888023296610
(
sb_internal
#2
){.+.+}-{0:0}
, at: xfs_bmapi_convert_delalloc+0x175/0xc90 fs/xfs/libxfs/xfs_bmap.c:4625
#3: ffff88806ddce5d8 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_ilock+0x2ef/0x420 fs/xfs/xfs_inode.c:206
4 locks held by kworker/u8:5/5249:
#0: ffff8880192e4948 (
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242
#1:
ffffc9000361fd80
((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}
, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243
#2:
ffff88802d92c610
(
sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x175/0xc90 fs/xfs/libxfs/xfs_bmap.c:4625
#3:
ffff88806de85658
(
&xfs_nondir_ilock_class
#3
){++++}-{3:3}, at: xfs_ilock+0x2ef/0x420 fs/xfs/xfs_inode.c:206
4 locks held by kworker/u8:7/5250:
#0: ffff8880192e4948 (
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x1296/0x1ac0 kernel/workqueue.c:3242
#1: ffffc900033efd80 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x906/0x1ac0 kernel/workqueue.c:3243
#2: ffff888025ab8610 (sb_internal#2){.+.+}-{0:0}, at: xfs_bmapi_convert_delalloc+0x175/0xc90 fs/xfs/libxfs/xfs_bmap.c:4625
#3: ffff88806ddcaf98 (&xfs_nondir_ilock_class#3){++++}-{3:3}, at: xfs_ilock+0x2ef/0x420 fs/xfs/xfs_inode.c:206
2 locks held by kworker/0:5/5254:
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc7-syzkaller-00183-gcf87f46fd34d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf86/0x1240 kernel/hung_task.c:380
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5254 Comm: kworker/0:5 Not tainted 6.9.0-rc7-syzkaller-00183-gcf87f46fd34d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Workqueue: xfs-buf/loop4 xfs_buf_ioend_work
RIP: 0010:wq_watchdog_touch+0x28/0x120 kernel/workqueue.c:7467
Code: 90 90 66 0f 1f 00 41 54 55 48 c7 c5 00 f2 60 8d 53 48 63 df e8 49 fe 33 00 31 ff 89 de e8 20 f9 33 00 85 db 0f 88 83 00 00 00 33 fe 33 00 48 c7 c5 60 88 02 00 48 83 fb 07 0f 87 ca 00 00 00
RSP: 0018:ffffc9000376f5f8 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8159ce80
RDX: ffff888029351e00 RSI: 0000000000000000 RDI: 0000000000000005
RBP: ffffffff8d60f200 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000005 R12: 00000000000026f7
R13: 0000000000000020 R14: fffffbfff296ad7e R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056275d0305f0 CR3: 000000007f266000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
touch_nmi_watchdog include/linux/nmi.h:149 [inline]
wait_for_lsr+0xa0/0x180 drivers/tty/serial/8250/8250_port.c:2078
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3318 [inline]
serial8250_console_write+0xca3/0x1090 drivers/tty/serial/8250/8250_port.c:3396
console_emit_next_record kernel/printk/printk.c:2913 [inline]
console_flush_all+0x53c/0xd70 kernel/printk/printk.c:2979
console_unlock+0xae/0x290 kernel/printk/printk.c:3048
vprintk_emit kernel/printk/printk.c:2348 [inline]
vprintk_emit+0x11a/0x5a0 kernel/printk/printk.c:2303
vprintk+0x7f/0xa0 kernel/printk/printk_safe.c:45
_printk+0xc8/0x100 kernel/printk/printk.c:2373
__xfs_printk fs/xfs/xfs_message.c:24 [inline]
_xfs_alert_tag+0x238/0x290 fs/xfs/xfs_message.c:74
xfs_buf_verifier_error+0x190/0x320 fs/xfs/xfs_error.c:449
xfs_allocbt_read_verify+0x43/0xe0 fs/xfs/libxfs/xfs_alloc_btree.c:375
xfs_buf_ioend+0x867/0x1b70 fs/xfs/xfs_buf.c:1376
process_one_work+0x9a9/0x1ac0 kernel/workqueue.c:3267
process_scheduled_works kernel/workqueue.c:3348 [inline]
worker_thread+0x6c8/0xf70 kernel/workqueue.c:3429
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244