INFO: task syz-executor195:5014 blocked for more than 143 seconds.
Not tainted 6.5.0-rc7-syzkaller-00022-ga5e505a99ca7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor195 state:D
stack:24968 pid:5014 ppid:5011 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5381 [inline]
__schedule+0x1873/0x48f0 kernel/sched/core.c:6710
schedule+0xc3/0x180 kernel/sched/core.c:6786
wb_wait_for_completion+0x166/0x290 fs/fs-writeback.c:192
sync_inodes_sb+0x297/0xab0 fs/fs-writeback.c:2736
sync_filesystem+0x16f/0x220 fs/sync.c:64
generic_shutdown_super+0x6f/0x340 fs/super.c:472
kill_block_super+0x68/0xa0 fs/super.c:1417
deactivate_locked_super+0xa4/0x110 fs/super.c:330
cleanup_mnt+0x426/0x4c0 fs/namespace.c:1254
task_work_run+0x24a/0x300 kernel/task_work.c:179
ptrace_notify+0x2cd/0x380 kernel/signal.c:2376
ptrace_report_syscall include/linux/ptrace.h:411 [inline]
ptrace_report_syscall_exit include/linux/ptrace.h:473 [inline]
syscall_exit_work kernel/entry/common.c:252 [inline]
syscall_exit_to_user_mode_prepare kernel/entry/common.c:279 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:284 [inline]
syscall_exit_to_user_mode+0x15c/0x280 kernel/entry/common.c:297
do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f96993b3387
RSP: 002b:00007fff86a25d48 EFLAGS: 00000206
ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f96993b3387
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007fff86a25e00
RBP: 00007fff86a25e00 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000206 R12: 00007fff86a26e60
R13: 000055555692d6c0 R14: 0000000000000001 R15: 431bde82d7b634db
Showing all locks held in the system:
4 locks held by kworker/u4:1/12:
#0:
ffff88814564e938
(
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x7e3/0x12c0 kernel/workqueue.c:2572
#1:
ffffc90000117d00
(
(work_completion)(&(&wb->dwork)->work)
){+.+.}-{0:0}
, at: process_one_work+0x82b/0x12c0 kernel/workqueue.c:2574
#2:
ffff88801f75c600
(sb_internal#2){.+.+}-{0:0}, at: native_irq_enable arch/x86/include/asm/irqflags.h:42 [inline]
(sb_internal#2){.+.+}-{0:0}, at: arch_local_irq_enable arch/x86/include/asm/irqflags.h:77 [inline]
(sb_internal#2){.+.+}-{0:0}, at: arch_local_irq_restore arch/x86/include/asm/irqflags.h:135 [inline]
(sb_internal#2){.+.+}-{0:0}, at: console_trylock_spinning+0x3b4/0x460 kernel/printk/printk.c:1972
#3: ffff888074e00118 (&xfs_nondir_ilock_class
#3){++++}-{3:3}
, at: xfs_bmapi_convert_delalloc+0x295/0x1310 fs/xfs/libxfs/xfs_bmap.c:4532
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8d3295f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by rcu_tasks_trace/14:
#0: ffffffff8d3299b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:522
1 lock held by khungtaskd/28:
#0: ffffffff8d329420 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
5 locks held by kworker/0:2/775:
2 locks held by getty/4772:
#0:
ffff888029476098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2187
2 locks held by syz-executor195/5014:
#0:
ffff88801f75c0e0
(&type->s_umount_key
#43){+.+.}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:360
#1: ffff8881413927d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline]
#1: ffff8881413927d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inodes_sb+0x278/0xab0 fs/fs-writeback.c:2734
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.5.0-rc7-syzkaller-00022-ga5e505a99ca7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xec2/0xf00 kernel/hung_task.c:379
kthread+0x2b8/0x350 kernel/kthread.c:389
ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 775 Comm: kworker/0:2 Not tainted 6.5.0-rc7-syzkaller-00022-ga5e505a99ca7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
Workqueue: xfs-buf/loop0 xfs_buf_ioend_work
RIP: 0010:look_up_lock_class+0x87/0x140 kernel/locking/lockdep.c:940
Code: 80 46 86 c8 61 49 0f af c7 48 c1 e8 34 48 8b 1c c5 40 89 84 91 e8 79 01 00 00 48 85 db 74 6e 4c 39 7b 40 74 05 48 8b 1b eb eb <48> 8b 8b c0 00 00 00 49 8b 76 18 48 39 f1 74 55 49 8b 16 48 c7 c0
RSP: 0018:ffffc90000007650 EFLAGS: 00000046
RAX: 0000000000000001 RBX: ffffffff904bd1c0 RCX: ffff88801f0d8000
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffc90000007c00
RBP: ffffc90000007750 R08: dffffc0000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffffbfff1d30efe R12: 0000000000000000
R13: 1ffff92000000ed8 R14: ffffc90000007c00 R15: ffffffff92384620
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056214f4e1068 CR3: 000000002c97e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
register_lock_class+0x104/0x990 kernel/locking/lockdep.c:1292
__lock_acquire+0x190/0x7f70 kernel/locking/lockdep.c:5021
lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5761
call_timer_fn+0xe2/0x580 kernel/time/timer.c:1697
expire_timers kernel/time/timer.c:1751 [inline]
__run_timers+0x64f/0x860 kernel/time/timer.c:2022
run_timer_softirq+0x67/0xf0 kernel/time/timer.c:2035
__do_softirq+0x2ab/0x908 kernel/softirq.c:553
invoke_softirq kernel/softirq.c:427 [inline]
__irq_exit_rcu+0xf1/0x1b0 kernel/softirq.c:632
irq_exit_rcu+0x9/0x20 kernel/softirq.c:644
sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1109
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:console_trylock_spinning+0x3b8/0x460
Code: ed 0f 84 48 ff ff ff e8 86 f9 1c 00 fb 31 db eb 45 e8 7c f9 1c 00 e8 37 13 4e 09 4d 85 ed 74 cd e8 6d f9 1c 00 fb f3 0f 1e fa 01 00 00 00 48 c7 c7 c0 50 20 8d 31 f6 ba 01 00 00 00 31 c9 41
RSP: 0018:ffffc90003daf820 EFLAGS: 00000293
RAX: ffffffff816ebec3 RBX: 0000000000000000 RCX: ffff88801f0d8000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003daf8e8 R08: ffffffff816ebe7c R09: 1ffffffff20f6879
R10: dffffc0000000000 R11: fffffbfff20f687a R12: 1ffff920007b5f04
R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000
vprintk_emit+0xbc/0x1f0 kernel/printk/printk.c:2306
_printk+0xd5/0x120 kernel/printk/printk.c:2328
__xfs_printk fs/xfs/xfs_message.c:24 [inline]
_xfs_alert_tag+0x1d4/0x2f0 fs/xfs/xfs_message.c:74
xfs_buf_verifier_error+0x152/0x2a0 fs/xfs/xfs_error.c:449
xfs_allocbt_read_verify+0x5a/0xd0
xfs_buf_ioend+0x270/0x6f0 fs/xfs/xfs_buf.c:1302
process_one_work+0x92c/0x12c0 kernel/workqueue.c:2600
worker_thread+0xa63/0x1210 kernel/workqueue.c:2751
kthread+0x2b8/0x350 kernel/kthread.c:389
ret_from_fork+0x2e/0x60 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.730 msecs