INFO: task syz-executor:5829 blocked for more than 143 seconds.
Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor state:D stack:20160 pid:5829 tgid:5829 ppid:1 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5371 [inline]
__schedule+0x189f/0x4c80 kernel/sched/core.c:6758
__schedule_loop kernel/sched/core.c:6835 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6850
schedule_timeout+0xb0/0x290 kernel/time/sleep_timeout.c:75
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common kernel/sched/completion.c:116 [inline]
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
__flush_work+0xa47/0xc60 kernel/workqueue.c:4235
flush_work kernel/workqueue.c:4256 [inline]
flush_delayed_work+0x169/0x1c0 kernel/workqueue.c:4278
gfs2_clear_rgrpd+0xd0/0x6d0 fs/gfs2/rgrp.c:731
gfs2_put_super+0x8c0/0x940 fs/gfs2/super.c:647
generic_shutdown_super+0x139/0x2d0 fs/super.c:642
kill_block_super+0x44/0x90 fs/super.c:1710
deactivate_locked_super+0xc4/0x130 fs/super.c:473
cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1414
task_work_run+0x24f/0x310 kernel/task_work.c:227
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0xa2f/0x28e0 kernel/exit.c:938
do_group_exit+0x207/0x2c0 kernel/exit.c:1087
__do_sys_exit_group kernel/exit.c:1098 [inline]
__se_sys_exit_group kernel/exit.c:1096 [inline]
__x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1096
x64_sys_call+0x26a8/0x26b0 arch/x86/include/generated/asm/syscalls_64.h:232
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3e0d185d29
RSP: 002b:00007ffe9ed0da48 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f3e0d2018b9 RCX: 00007f3e0d185d29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000005 R08: 00007ffe9ed0b7e7 R09: 00007ffe9ed0ec90
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe9ed0ec90
R13: 00007f3e0d201894 R14: 00007ffe9ed0ecd0 R15: 00000000000000a5
INFO: task kworker/0:2H:7522 blocked for more than 143 seconds.
Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:2H state:D stack:24664 pid:7522 tgid:7522 ppid:2 flags:0x00004000
Workqueue: gfs2-glock/syz:syz glock_work_func
Call Trace:
context_switch kernel/sched/core.c:5371 [inline]
__schedule+0x189f/0x4c80 kernel/sched/core.c:6758
__schedule_loop kernel/sched/core.c:6835 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6850
io_schedule+0x8d/0x110 kernel/sched/core.c:7683
bit_wait_io+0x12/0xd0 kernel/sched/wait_bit.c:247
__wait_on_bit_lock+0xd5/0x530 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1d5/0x260 kernel/sched/wait_bit.c:117
wait_on_bit_lock_io include/linux/wait_bit.h:221 [inline]
__lock_buffer fs/buffer.c:71 [inline]
lock_buffer include/linux/buffer_head.h:426 [inline]
discard_buffer fs/buffer.c:1576 [inline]
block_invalidate_folio+0x36a/0x790 fs/buffer.c:1633
folio_invalidate mm/truncate.c:126 [inline]
truncate_cleanup_folio+0x203/0x300 mm/truncate.c:146
truncate_inode_pages_range+0x2e5/0x10e0 mm/truncate.c:326
do_xmote+0x6dc/0x1250 fs/gfs2/glock.c:754
glock_work_func+0x343/0x5c0 fs/gfs2/glock.c:1090
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744
5 locks held by kworker/u8:7/1164:
2 locks held by getty/5588:
#0: ffff8880359e20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/5829:
#0: ffff88805b0880e0 (&type->s_umount_key#121){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88805b0880e0 (&type->s_umount_key#121){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88805b0880e0 (&type->s_umount_key#121){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
2 locks held by syz-executor/5845:
2 locks held by syz-executor/7518:
2 locks held by kworker/0:2H/7522:
#0: ffff888054c17148 ((wq_completion)gfs2-glock/syz:syz){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff888054c17148 ((wq_completion)gfs2-glock/syz:syz){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc9000f287c60 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000f287c60 ((work_completion)(&(&gl->gl_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
1 lock held by syz-executor/10844:
#0: ffff88801b7220e0 (&type->s_umount_key#60){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88801b7220e0 (&type->s_umount_key#60){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88801b7220e0 (&type->s_umount_key#60){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
2 locks held by syz.4.1211/13501:
1 lock held by syz.4.1288/13578:
1 lock held by syz.9.1302/13657:
2 locks held by syz.6.1303/13658:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline]
watchdog+0xff6/0x1040 kernel/hung_task.c:397
kthread+0x7a9/0x920 kernel/kthread.c:464
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
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 UID: 0 PID: 13578 Comm: syz.4.1288 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__to_kthread kernel/kthread.c:101 [inline]
RIP: 0010:kthread_is_per_cpu+0x31/0xf0 kernel/kthread.c:686
Code: 41 56 41 54 53 49 89 ff 49 bc 00 00 00 00 00 fc ff df e8 d2 c0 34 00 49 8d 9f a8 06 00 00 48 89 d8 48 c1 e8 03 42 80 3c 20 00 <74> 08 48 89 df e8 35 3c 9b 00 4c 8b 33 4d 85 f6 74 37 49 83 c7 2c
RSP: 0018:ffffc90000007600 EFLAGS: 00000046
RAX: 1ffff11003adc0d5 RBX: ffff88801d6e06a8 RCX: ffff888031fabc00
RDX: 0000000000000100 RSI: ffffffff8c0aaba0 RDI: ffff88801d6e0000
RBP: ffff88801ac90010 R08: ffffffff815fd9e1 R09: fffff52000000ebc
R10: dffffc0000000000 R11: fffff52000000ebc R12: dffffc0000000000
R13: ffff88801ac90010 R14: 1ffff92000000f7e R15: ffff88801d6e0000
FS: 00007fb51afe46c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000561dda1c3000 CR3: 000000007ce44000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
can_migrate_task+0x22c/0xa10 kernel/sched/fair.c:9424
detach_tasks kernel/sched/fair.c:9586 [inline]
sched_balance_rq+0x517c/0x8620 kernel/sched/fair.c:11782
sched_balance_domains+0x565/0xa90 kernel/sched/fair.c:12203
handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2061 [inline]
RIP: 0010:vprintk_emit+0x700/0xa10 kernel/printk/printk.c:2431
Code: 00 e8 f4 c7 20 00 4c 8d bc 24 a0 00 00 00 4d 85 e4 75 07 e8 e2 c7 20 00 eb 06 e8 db c7 20 00 fb 49 bc 00 00 00 00 00 fc ff df <48> c7 c7 60 37 81 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc9000bb376a0 EFLAGS: 00000283
RAX: ffffffff819e5c45 RBX: 0000000000000000 RCX: 0000000000080000
RDX: ffffc90004d11000 RSI: 00000000000244e8 RDI: 00000000000244e9
RBP: ffffc9000bb377b0 R08: ffffffff819e5c1e R09: 1ffffffff285af30
R10: dffffc0000000000 R11: fffffbfff285af31 R12: dffffc0000000000
R13: 1ffff92001766ed8 R14: ffffffff819e5a80 R15: ffffc9000bb37740
_printk+0xd5/0x120 kernel/printk/printk.c:2457
f2fs_printk+0x3e1/0x470
sanity_check_raw_super fs/f2fs/super.c:3504 [inline]
read_raw_super_block fs/f2fs/super.c:4015 [inline]
f2fs_fill_super+0x91e/0x7330 fs/f2fs/super.c:4473
mount_bdev+0x20a/0x2d0 fs/super.c:1693
legacy_get_tree+0xee/0x190 fs/fs_context.c:662
vfs_get_tree+0x90/0x2b0 fs/super.c:1814
do_new_mount+0x2be/0xb40 fs/namespace.c:3556
do_mount fs/namespace.c:3896 [inline]
__do_sys_mount fs/namespace.c:4107 [inline]
__se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4084
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb51a1874ca
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb51afe3e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fb51afe3ef0 RCX: 00007fb51a1874ca
RDX: 0000000020000000 RSI: 0000000020000080 RDI: 00007fb51afe3eb0
RBP: 0000000020000000 R08: 00007fb51afe3ef0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000080
R13: 00007fb51afe3eb0 R14: 000000000000550e R15: 00000000200004c0