INFO: task kworker/0:4:5885 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:4 state:D stack:20472 pid:5885 tgid:5885 ppid:2 task_flags:0x4208060 flags:0x00080000
Workqueue: gfs2_recovery gfs2_recover_func
Call Trace:
context_switch kernel/sched/core.c:5254 [inline]
__schedule+0x17c4/0x4d60 kernel/sched/core.c:6862
__schedule_loop kernel/sched/core.c:6944 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6959
io_schedule+0x80/0xd0 kernel/sched/core.c:7791
folio_wait_bit_common+0x6b0/0xb80 mm/filemap.c:1335
folio_wait_locked include/linux/pagemap.h:1224 [inline]
gfs2_jhead_process_page+0x171/0x650 fs/gfs2/lops.c:472
gfs2_find_jhead+0x8de/0xe10 fs/gfs2/lops.c:576
gfs2_recover_func+0x5f5/0x1c90 fs/gfs2/recovery.c:459
process_one_work kernel/workqueue.c:3263 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
INFO: task syz.5.574:8853 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.574 state:D stack:22728 pid:8853 tgid:8852 ppid:7019 task_flags:0x400140 flags:0x00080003
Call Trace:
context_switch kernel/sched/core.c:5254 [inline]
__schedule+0x17c4/0x4d60 kernel/sched/core.c:6862
__schedule_loop kernel/sched/core.c:6944 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6959
bit_wait+0x11/0xd0 kernel/sched/wait_bit.c:240
__wait_on_bit+0xb9/0x310 kernel/sched/wait_bit.c:52
out_of_line_wait_on_bit+0x123/0x170 kernel/sched/wait_bit.c:67
wait_on_bit include/linux/wait_bit.h:77 [inline]
gfs2_recover_journal+0xda/0x140 fs/gfs2/recovery.c:579
init_journal+0x1987/0x2180 fs/gfs2/ops_fstype.c:794
init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:844
gfs2_fill_super+0x1a52/0x2220 fs/gfs2/ops_fstype.c:1250
get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1691
gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1332
vfs_get_tree+0x92/0x2b0 fs/super.c:1751
fc_mount fs/namespace.c:1208 [inline]
do_new_mount_fc fs/namespace.c:3651 [inline]
do_new_mount+0x302/0xa10 fs/namespace.c:3727
do_mount fs/namespace.c:4050 [inline]
__do_sys_mount fs/namespace.c:4238 [inline]
__se_sys_mount+0x313/0x410 fs/namespace.c:4215
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9fa079076a
RSP: 002b:00007f9fa164de68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f9fa164def0 RCX: 00007f9fa079076a
RDX: 0000200000037f40 RSI: 00002000000008c0 RDI: 00007f9fa164deb0
RBP: 0000200000037f40 R08: 00007f9fa164def0 R09: 0000000001010084
R10: 0000000001010084 R11: 0000000000000246 R12: 00002000000008c0
R13: 00007f9fa164deb0 R14: 0000000000037f82 R15: 0000200000000480
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8df3d5a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8df3d5a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
#0: ffffffff8df3d5a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
1 lock held by udevd/5198:
2 locks held by getty/5587:
#0: ffff88803425d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
5 locks held by udevd/5844:
2 locks held by kworker/0:4/5885:
#0: ffff88801ee80d48 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline]
#0: ffff88801ee80d48 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346
#1: ffffc90004907ba0 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline]
#1: ffffc90004907ba0 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346
1 lock held by syz.5.574/8853:
#0: ffff88805778e0e0 (&type->s_umount_key#68/1){+.+.}-{4:4}, at: alloc_super+0x1bb/0x930 fs/super.c:344
1 lock held by syz-executor/9139:
#0: ffffffff8df43038 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline]
#0: ffffffff8df43038 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:957
10 locks held by kworker/0:8/10739:
#0: ffff88814128cd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline]
#0: ffff88814128cd48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346
#1: ffffc9000b24fba0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline]
#1: ffffc9000b24fba0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346
#2: ffff888143b0c198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:914 [inline]
#2: ffff888143b0c198 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4b50 drivers/usb/core/hub.c:5899
#3: ffff888143b0f518 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3252 [inline]
#3: ffff888143b0f518 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5464 [inline]
#3: ffff888143b0f518 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5707 [inline]
#3: ffff888143b0f518 (&port_dev->status_lock){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5871 [inline]
#3: ffff888143b0f518 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x21f2/0x4b50 drivers/usb/core/hub.c:5953
#4: ffff8881437ad168 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect drivers/usb/core/hub.c:5465 [inline]
#4: ffff8881437ad168 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_port_connect_change drivers/usb/core/hub.c:5707 [inline]
#4: ffff8881437ad168 (hcd->address0_mutex){+.+.}-{4:4}, at: port_event drivers/usb/core/hub.c:5871 [inline]
#4: ffff8881437ad168 (hcd->address0_mutex){+.+.}-{4:4}, at: hub_event+0x221a/0x4b50 drivers/usb/core/hub.c:5953
#5: ffff8880b863a018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:638
#6: ffff8880b8624048 (psi_seq){-.-.}-{0:0}, at: psi_task_switch+0x53/0x880 kernel/sched/psi.c:933
#7: ffff8880b8624048 (psi_seq){-.-.}-{0:0}, at: psi_task_change+0xd9/0x340 kernel/sched/psi.c:919
#8: ffffffff8df31658 (console_owner_lock){-.-.}-{2:2}, at: console_lock_spinning_disable_and_check+0x35/0x100 kernel/printk/printk.c:1936
#9: ffffffff99b06018 (&port_lock_key){-.-.}-{3:3}, at: uart_port_lock_irqsave include/linux/serial_core.h:717 [inline]
#9: ffffffff99b06018 (&port_lock_key){-.-.}-{3:3}, at: serial8250_console_write+0x17e/0x1ba0 drivers/tty/serial/8250/8250_port.c:3301
2 locks held by dhcpcd/11519:
#0: ffff888026f3c260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1693 [inline]
#0: ffff888026f3c260 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x33/0xd30 net/packet/af_packet.c:3197
#1: ffffffff8df43038 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline]
#1: ffffffff8df43038 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:957
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:337 [inline]
watchdog+0xfa9/0xff0 kernel/hung_task.c:500
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 6155 Comm: kworker/u8:9 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: writeback wb_workfn (flush-7:7)
RIP: 0010:lookup_object lib/debugobjects.c:423 [inline]
RIP: 0010:debug_object_deactivate+0xd5/0x250 lib/debugobjects.c:875
Code: 4c 89 ff e8 cd b5 91 fd 4d 8b 3f 45 31 f6 eb 06 4d 8b 3f 41 ff c6 4d 85 ff 74 36 4d 8d 6f 18 4c 89 e8 48 c1 e8 03 80 3c 28 00 <74> 08 4c 89 ef e8 a1 b5 91 fd 4d 39 65 00 74 29 4c 89 f8 48 c1 e8
RSP: 0018:ffffc90000007ca8 EFLAGS: 00000046
RAX: 1ffff1100bddf8b2 RBX: ffffffff99a3fe68 RCX: dffffc0000000000
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90000007b80
RBP: dffffc0000000000 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000000f70 R12: ffffc900021afd40
R13: ffff88805eefc590 R14: 0000000000000000 R15: ffff88805eefc578
FS: 0000000000000000(0000) GS:ffff888125f22000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd6f83a940 CR3: 00000000207da000 CR4: 00000000003526f0
Call Trace:
debug_hrtimer_deactivate kernel/time/hrtimer.c:443 [inline]
debug_deactivate+0x1d/0x200 kernel/time/hrtimer.c:483
__run_hrtimer kernel/time/hrtimer.c:1745 [inline]
__hrtimer_run_queues+0x2b0/0xc60 kernel/time/hrtimer.c:1841
hrtimer_interrupt+0x45b/0xaa0 kernel/time/hrtimer.c:1903
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1041 [inline]
__sysvec_apic_timer_interrupt+0x10b/0x410 arch/x86/kernel/apic/apic.c:1058
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline]
sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1052
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2034 [inline]
RIP: 0010:vprintk_emit+0x49d/0x590 kernel/printk/printk.c:2422
Code: 0f 84 34 ff ff ff e8 a2 e9 1f 00 fb eb 44 e8 9a e9 1f 00 e8 f5 21 a9 09 4d 85 f6 74 94 e8 8b e9 1f 00 fb 48 c7 c7 00 17 f3 8d <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 53 e8 3b 33
RSP: 0018:ffffc9000b20e800 EFLAGS: 00000293
RAX: ffffffff81a04025 RBX: ffffffff81a03e7e RCX: ffff88801b7e9e40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8df31700
RBP: ffffc9000b20e910 R08: ffffffff8f7d6c77 R09: 1ffffffff1efad8e
R10: dffffc0000000000 R11: fffffbfff1efad8f R12: 0000000000000000
R13: 0000000000000034 R14: 0000000000000200 R15: 1ffff92001641d04
_printk+0xcf/0x120 kernel/printk/printk.c:2448
f2fs_printk+0x464/0x500 fs/f2fs/super.c:-1
f2fs_write_end_io+0x886/0xb60 fs/f2fs/data.c:351
__submit_merged_bio+0x27a/0x6a0 fs/f2fs/data.c:540
__f2fs_submit_merged_write fs/f2fs/data.c:635 [inline]
__submit_merged_write_cond+0x255/0x530 fs/f2fs/data.c:657
f2fs_submit_merged_write_cond fs/f2fs/data.c:674 [inline]
f2fs_write_cache_pages fs/f2fs/data.c:3192 [inline]
__f2fs_write_data_pages fs/f2fs/data.c:3273 [inline]
f2fs_write_data_pages+0x261d/0x3000 fs/f2fs/data.c:3300
do_writepages+0x32e/0x550 mm/page-writeback.c:2604
__writeback_single_inode+0x145/0xff0 fs/fs-writeback.c:1719
writeback_sb_inodes+0x6c7/0x1010 fs/fs-writeback.c:2015
wb_writeback+0x43b/0xaf0 fs/fs-writeback.c:2195
wb_do_writeback fs/fs-writeback.c:2342 [inline]
wb_workfn+0x409/0xef0 fs/fs-writeback.c:2382
process_one_work kernel/workqueue.c:3263 [inline]
process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245