INFO: task kworker/0:4:5855 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:21992 pid:5855 ppid:2 flags:0x00004000
Workqueue: gfs2_recovery gfs2_recover_func
Call Trace:
context_switch kernel/sched/core.c:5393 [inline]
__schedule+0x156f/0x4720 kernel/sched/core.c:6722
schedule+0xbd/0x170 kernel/sched/core.c:6796
io_schedule+0x80/0xd0 kernel/sched/core.c:9075
folio_wait_bit_common+0x886/0xff0 mm/filemap.c:1329
folio_wait_locked include/linux/pagemap.h:1149 [inline]
gfs2_jhead_process_page+0x17e/0x750 fs/gfs2/lops.c:477
gfs2_find_jhead+0xc84/0xdc0 fs/gfs2/lops.c:594
gfs2_recover_func+0x6cd/0x1c80 fs/gfs2/recovery.c:460
process_one_work kernel/workqueue.c:2657 [inline]
process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
INFO: task syz.6.922:8840 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.922 state:D stack:24688 pid:8840 ppid:8501 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5393 [inline]
__schedule+0x156f/0x4720 kernel/sched/core.c:6722
schedule+0xbd/0x170 kernel/sched/core.c:6796
bit_wait+0x13/0x100 kernel/sched/wait_bit.c:199
__wait_on_bit+0x9f/0x2c0 kernel/sched/wait_bit.c:49
out_of_line_wait_on_bit+0x13c/0x190 kernel/sched/wait_bit.c:64
wait_on_bit include/linux/wait_bit.h:76 [inline]
gfs2_recover_journal+0xda/0x130 fs/gfs2/recovery.c:577
init_journal+0x1838/0x22f0 fs/gfs2/ops_fstype.c:833
init_inodes+0xdb/0x320 fs/gfs2/ops_fstype.c:886
gfs2_fill_super+0x1828/0x1f90 fs/gfs2/ops_fstype.c:1266
get_tree_bdev+0x3e5/0x520 fs/super.c:1602
gfs2_get_tree+0x51/0x1e0 fs/gfs2/ops_fstype.c:1344
vfs_get_tree+0x8c/0x280 fs/super.c:1775
do_new_mount+0x24a/0xa60 fs/namespace.c:3412
do_mount fs/namespace.c:3780 [inline]
__do_sys_mount fs/namespace.c:3989 [inline]
__se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3966
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f83301a0d8a
RSP: 002b:00007f8331080e58 EFLAGS: 00000246
ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8331080ee0 RCX: 00007f83301a0d8a
RDX: 0000200000000200 RSI: 0000200000000240 RDI: 00007f8331080ea0
RBP: 0000200000000200 R08: 00007f8331080ee0 R09: 0000000000000010
R10: 0000000000000010 R11: 0000000000000246 R12: 0000200000000240
R13: 00007f8331080ea0 R14: 0000000000037fcc R15: 0000200000038580
Showing all locks held in the system:
2 locks held by kworker/u4:0/11:
#0: ffff888018d08538 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
#0: ffff888018d08538 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
#1: ffffc90000107d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}
, at: process_one_work kernel/workqueue.c:2632 [inline]
, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
5 locks held by kworker/u4:1/12:
1 lock held by khungtaskd/29:
#0:
ffffffff8e1322e0
(rcu_read_lock){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6669
2 locks held by getty/5541:
#0: ffff8880337f80a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000327e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x43a/0x1400 drivers/tty/n_tty.c:2217
2 locks held by kworker/0:3/5846:
#0:
ffff888018c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
ffff888018c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
#1:
ffffc900049bfd00
(
(work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
(work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
2 locks held by kworker/1:4/5852:
#0:
ffff8880b8d3c258
(
&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:570
#1: ffff8880b8d28a00 (psi_seq){-.-.}-{0:0}, at: psi_sched_switch kernel/sched/stats.h:189 [inline]
#1: ffff8880b8d28a00 (psi_seq){-.-.}-{0:0}, at: __schedule+0x21fc/0x4720 kernel/sched/core.c:6717
2 locks held by kworker/0:4/5855:
#0: ffff888018d4ed38 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
#0: ffff888018d4ed38 ((wq_completion)gfs2_recovery){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
#1: ffffc90004ae7d00 ((work_completion)(&jd->jd_work)
){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
6 locks held by kworker/0:5/5857:
#0: ffff88801beb4938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
#0: ffff88801beb4938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
#1: ffffc90004b17d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
#1: ffffc90004b17d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
#2: ffff88814270a1d8 (
&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1094 [inline]
&dev->mutex){....}-{3:3}, at: hub_event+0x188/0x4a80 drivers/usb/core/hub.c:5871
#3:
ffff88807e6371d8
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1094 [inline]
, at: __device_attach+0x89/0x420 drivers/base/dd.c:1084
#4: ffff88801be821a8 (&dev->mutex){....}-{3:3}
, at: device_lock include/linux/device.h:1094 [inline]
, at: __device_attach+0x89/0x420 drivers/base/dd.c:1084
#5: ffffffff8ecddf90 (minor_rwsem#2){++++}-{3:3}, at: usb_register_dev+0x144/0x5b0 drivers/usb/core/file.c:134
1 lock held by syz-executor/8448:
#0: ffffffff8e137cb8 (rcu_state.exp_mutex){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
, at: synchronize_rcu_expedited+0x306/0x880 kernel/rcu/tree_exp.h:1004
2 locks held by syz-executor/8611:
1 lock held by syz.6.922/8840:
#0: ffff8880311d20e0
(
&type->s_umount_key
#87
){+.+.}-{3:3}
, at: __super_lock fs/super.c:56 [inline]
, at: __super_lock_excl fs/super.c:71 [inline]
, at: get_tree_bdev+0x345/0x520 fs/super.c:1600
4 locks held by udevd/8863:
#0: ffff888027a501c8 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xa1/0xc50 fs/seq_file.c:182
#1: ffff88806b1f4088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x5d/0x410 fs/kernfs/file.c:172
#2: ffff88805d17c008 (kn->active#18){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline]
#2: ffff88805d17c008 (kn->active#18){.+.+}-{0:0}, at: kernfs_seq_start+0xb2/0x410 fs/kernfs/file.c:173
#3: ffff88807e6371d8 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:1099 [inline]
#3: ffff88807e6371d8 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
1 lock held by syz.7.1303/11121:
#0: ffff88801ae45948 (&root->kernfs_rwsem){++++}-{3:3}, at: kernfs_remove+0x72/0xa0 fs/kernfs/dir.c:1527
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
Call Trace:
dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
nmi_cpu_backtrace+0x3a6/0x3e0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x17a/0x2f0 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+0xf59/0xfa0 kernel/hung_task.c:379
kthread+0x2fa/0x390 kernel/kthread.c:388
ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 8611 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026
RIP: 0010:number+0x154/0xf00 lib/vsprintf.c:-1
Code: ff e8 a0 6d ff f6 4c 89 fb 48 c1 eb 20 89 de 83 e6 01 31 ff e8 8d 6d ff f6 49 0f ba e7 20 48 89 5c 24 30 72 1f e8 cc 69 ff f6 01 89 44 24 2c c7 44 24 28 00 00 00 00 4d 89 e5 48 8b 04 24 e9
RSP: 0018:ffffc900032e6da0 EFLAGS: 00000293
RAX: ffffffff8a8874d4 RBX: 00000000ffff0a10 RCX: ffff888029098000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900032e6ea8 R08: ffff888029098000 R09: 0000000000000012
R10: 0000000000000012 R11: 0000000000000000 R12: 000000000001503f
R13: 00000000ffff0a10 R14: ffffc900032e7187 R15: ffff0a1000000609
FS: 000055556f4be500(0000) GS:ffff8880b8c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f55f1df72f8 CR3: 000000004eb4d000 CR4: 00000000003506f0
Call Trace:
vsnprintf+0x14c6/0x1ba0 lib/vsprintf.c:2889
sprintf+0xe8/0x140 lib/vsprintf.c:3027
print_time kernel/printk/printk.c:1327 [inline]
info_print_prefix+0x16c/0x360 kernel/printk/printk.c:1353
record_print_text+0x182/0x4a0 kernel/printk/printk.c:1402
printk_get_next_message+0x2ab/0x980 kernel/printk/printk.c:2876
console_emit_next_record kernel/printk/printk.c:2911 [inline]
console_flush_all+0x38d/0xcf0 kernel/printk/printk.c:3000
console_unlock+0xad/0x350 kernel/printk/printk.c:3069
vprintk_emit+0x497/0x610 kernel/printk/printk.c:2341
_printk+0xde/0x130 kernel/printk/printk.c:2366
__dynamic_pr_debug+0x1a3/0x260 lib/dynamic_debug.c:879
__kernfs_remove+0x827/0x830 fs/kernfs/dir.c:1464
kernfs_remove+0x7a/0xa0 fs/kernfs/dir.c:1528
__kobject_del+0xe0/0x2e0 lib/kobject.c:604
kobject_del+0x45/0x60 lib/kobject.c:627
btrfs_sysfs_remove_device+0x127/0x180 fs/btrfs/sysfs.c:1707
btrfs_sysfs_remove_fs_devices fs/btrfs/sysfs.c:1444 [inline]
btrfs_sysfs_remove_mounted+0x1a6/0x2a0 fs/btrfs/sysfs.c:1478
close_ctree+0x631/0xcc0 fs/btrfs/disk-io.c:4448
generic_shutdown_super+0x134/0x2b0 fs/super.c:690
kill_anon_super+0x41/0x190 fs/super.c:1314
btrfs_kill_super+0x41/0x50 fs/btrfs/super.c:2147
deactivate_locked_super+0x9c/0x210 fs/super.c:479
cleanup_mnt+0x3d7/0x460 fs/namespace.c:1259
task_work_run+0x1d4/0x260 kernel/task_work.c:245
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213
__syscall_exit_to_user_mode_work kernel/entry/common.c:294 [inline]
syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:305
do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fe03efa0d57
Code: a2 c7 05 9c a9 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffc47959d18 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fe03f036fb3 RCX: 00007fe03efa0d57
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc47959dd0
RBP: 00007ffc47959dd0 R08: 00007ffc4795add0 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc4795ae60
R13: 00007fe03f036fb3 R14: 0000000000067011 R15: 00007ffc4795aea0