INFO: task syz-executor.0:3898 blocked for more than 143 seconds.
Not tainted 6.1.53-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:21528 pid:3898 ppid:1 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5241 [inline]
__schedule+0x132c/0x4330 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+0x293/0xab0 fs/fs-writeback.c:2717
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:1459
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:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5deae7dc07
RSP: 002b:00007ffe7c66dff8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f5deae7dc07
RDX: 0000000000000000 RSI: 000000000000000a RDI: 00007ffe7c66e0b0
RBP: 00007ffe7c66e0b0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe7c66f170
R13: 00007f5deaed7af2 R14: 000000000001250b R15: 0000000000000003
Showing all locks held in the system:
5 locks held by kworker/u4:1/11:
#0:
ffff888018036138
(
(wq_completion)writeback
){+.+.}-{0:0}
, at: process_one_work+0x77a/0x11f0
#1:
ffffc90000107d20
(
(work_completion)(&(&wb->dwork)->work)
){+.+.}-{0:0}
, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2267
#2:
ffff88802680c650
(
sb_internal
#2
){.+.+}-{0:0}
, at: xfs_bmapi_convert_delalloc+0x263/0x12d0 fs/xfs/libxfs/xfs_bmap.c:4521
#3:
ffff88806e828118
(
&xfs_nondir_ilock_class
){++++}-{3:3}
, at: xfs_bmapi_convert_delalloc+0x291/0x12d0 fs/xfs/libxfs/xfs_bmap.c:4526
#4:
ffff8880b9839e18
(
&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537
1 lock held by rcu_tasks_kthre/12:
#0:
ffffffff8d127530
(
rcu_tasks.tasks_gp_mutex
){+.+.}-{3:3}
, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8d127d30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:516
1 lock held by khungtaskd/28:
#0: ffffffff8d127360
(
rcu_read_lock
){....}-{1:2}
, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3304:
#0:
ffff888144a8c098
(
&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
5 locks held by kworker/0:4/3559:
2 locks held by syz-executor.0/3898:
#0:
ffff88802680c0e0
(
&type->s_umount_key
#50
){+.+.}-{3:3}
, at: deactivate_super+0xa9/0xe0 fs/super.c:362
#1:
ffff88801ed887d0
(
&bdi->wb_switch_rwsem
){+.+.}-{3:3}
, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:362 [inline]
, at: sync_inodes_sb+0x274/0xab0 fs/fs-writeback.c:2715
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.53-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 3559 Comm: kworker/0:4 Not tainted 6.1.53-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
Workqueue: xfs-buf/loop0 xfs_buf_ioend_work
RIP: 0010:preempt_count_sub+0x1a/0x160 kernel/sched/core.c:5731
Code: 8c 8a 82 00 e9 6f ff ff ff 0f 1f 80 00 00 00 00 41 56 53 89 fb 48 c7 c0 c0 e0 c7 91 48 c1 e8 03 49 be 00 00 00 00 00 fc ff df <42> 0f b6 04 30 84 c0 0f 85 c0 00 00 00 83 3d 52 f4 69 10 00 75 22
RSP: 0018:ffffc900000075c8 EFLAGS: 00000806
RAX: 1ffffffff238fc18 RBX: 0000000000000001 RCX: 1ffff92000000ed8
RDX: dffffc0000000000 RSI: ffffc90003d88000 RDI: 0000000000000001
RBP: ffffc900000076c0 R08: ffffc90003d8f708 R09: ffffc90000007710
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900000076c0
R13: ffffffff8f7f4160 R14: dffffc0000000000 R15: ffffc90000007710
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005571a3c3e600 CR3: 000000000ce8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unwind_next_frame+0x1a3f/0x2220 arch/x86/kernel/unwind_orc.c:629
arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack+0x3b/0x60 mm/kasan/common.c:45
__kasan_record_aux_stack+0xb0/0xc0 mm/kasan/generic.c:486
insert_work+0x54/0x3d0 kernel/workqueue.c:1361
__queue_work+0xb30/0xf50 kernel/workqueue.c:1520
call_timer_fn+0x19e/0x6b0 kernel/time/timer.c:1474
expire_timers kernel/time/timer.c:1514 [inline]
__run_timers+0x6a8/0x890 kernel/time/timer.c:1790
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1803
__do_softirq+0x2e9/0xa4c kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x155/0x240 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
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 f2 84 1c 00 fb 31 db eb 41 e8 e8 84 1c 00 e8 93 4a 15 09 4d 85 ed 74 cd e8 d9 84 1c 00 fb bb 01 00 00 00 <48> c7 c7 20 35 00 8d 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc90003d8f7c0 EFLAGS: 00000293
RAX: ffffffff816d6717 RBX: 0000000000000001 RCX: ffff8880215d5940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003d8f888 R08: ffffffff816d66d0 R09: fffffbfff2090c55
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920007b1ef8
R13: 0000000000000200 R14: 0000000000000046 R15: dffffc0000000000
vprintk_emit+0xb8/0x1f0 kernel/printk/printk.c:2267
_printk+0xd1/0x111 kernel/printk/printk.c:2289
print_hex_dump+0x1a2/0x250 lib/hexdump.c:285
xfs_hex_dump+0x39/0x50 fs/xfs/xfs_message.c:110
xfs_buf_verifier_error+0x1ca/0x2a0 fs/xfs/xfs_error.c:428
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:2292
worker_thread+0xa5f/0x1210 kernel/workqueue.c:2439
kthread+0x268/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306