INFO: task kworker/u8:2:36 blocked for more than 158 seconds.
Not tainted 6.16.0-next-20250808-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:2 state:D stack:22120 pid:36 tgid:36 ppid:2 task_flags:0x4208160 flags:0x00004000
Workqueue: writeback wb_workfn (flush-7:1)
Call Trace:
context_switch kernel/sched/core.c:5357 [inline]
__schedule+0x1798/0x4cc0 kernel/sched/core.c:6961
__schedule_loop kernel/sched/core.c:7043 [inline]
schedule+0x165/0x360 kernel/sched/core.c:7058
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7115
__mutex_lock_common kernel/locking/mutex.c:676 [inline]
__mutex_lock+0x7e6/0x1360 kernel/locking/mutex.c:760
hfsplus_find_init+0x15a/0x1d0 fs/hfsplus/bfind.c:28
hfsplus_cat_write_inode+0x1e6/0x7a0 fs/hfsplus/inode.c:592
write_inode fs/fs-writeback.c:1525 [inline]
__writeback_single_inode+0x6ee/0xff0 fs/fs-writeback.c:1745
writeback_sb_inodes+0x6c7/0x1010 fs/fs-writeback.c:1976
__writeback_inodes_wb+0x111/0x240 fs/fs-writeback.c:2047
wb_writeback+0x44f/0xaf0 fs/fs-writeback.c:2158
wb_check_old_data_flush fs/fs-writeback.c:2262 [inline]
wb_do_writeback fs/fs-writeback.c:2315 [inline]
wb_workfn+0xaef/0xef0 fs/fs-writeback.c:2343
process_one_work kernel/workqueue.c:3236 [inline]
process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
4 locks held by kworker/u8:2/36:
#0: ffff8881432ed948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline]
#0: ffff8881432ed948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3319
#1:
ffffc90000ac7bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline]
ffffc90000ac7bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3319
#2: ffff888065e3a0e0 (&type->s_umount_key#52){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563
#3: ffff8880622d60b0 (&tree->tree_lock){+.+.}-{4:4}, at: hfsplus_find_init+0x15a/0x1d0 fs/hfsplus/bfind.c:28
3 locks held by kworker/u8:8/1170:
2 locks held by udevd/5235:
#0: ffff88807fa5c428 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557
#1: ffff88807b57d7b0 (&type->i_mutex_dir_key#5/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:914 [inline]
#1: ffff88807b57d7b0 (&type->i_mutex_dir_key#5/1){+.+.}-{4:4}, at: do_unlinkat+0x1c7/0x560 fs/namei.c:4637
2 locks held by getty/5626:
#0: ffff88803393e0a0 (&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
3 locks held by kworker/1:5/5938:
#0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline]
#0: ffff88801a480d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3319
#1: ffffc900044ffbc0 ((work_completion)(&sbi->s_error_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline]
#1: ffffc900044ffbc0 ((work_completion)(&sbi->s_error_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3319
#2: ffff888032c04088 (&sbi->sb_lock){++++}-{4:4}, at: f2fs_down_write fs/f2fs/f2fs.h:2234 [inline]
#2: ffff888032c04088 (&sbi->sb_lock){++++}-{4:4}, at: f2fs_record_stop_reason fs/f2fs/super.c:4418 [inline]
#2: ffff888032c04088 (&sbi->sb_lock){++++}-{4:4}, at: f2fs_record_error_work+0x59/0x1d0 fs/f2fs/super.c:4570
5 locks held by kworker/u8:10/6514:
4 locks held by syz.1.235/7268:
2 locks held by syz.7.343/7993:
#0: ffff888065e3a0e0 (&type->s_umount_key#52){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline]
#0: ffff888065e3a0e0 (&type->s_umount_key#52){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121
#1: ffff888024f307d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline]
#1: ffff888024f307d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19f/0xa10 fs/fs-writeback.c:2831
2 locks held by syz-executor/8014:
1 lock held by udevd/8071:
4 locks held by udevd/8501:
1 lock held by syz.3.458/8897:
5 locks held by syz.6.467/8904:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-next-20250808-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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:332 [inline]
watchdog+0xf60/0xfa0 kernel/hung_task.c:495
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 8904 Comm: syz.6.467 Not tainted 6.16.0-next-20250808-syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:io_serial_out+0x7c/0xc0 drivers/tty/serial/8250/8250_port.c:407
Code: 20 6f fc 44 89 f9 d3 e5 49 83 c6 40 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 4c 8c d2 fc 41 03 2e 89 d8 89 ea ee <5b> 41 5c 41 5e 41 5f 5d e9 d7 38 2d 06 cc 44 89 f9 80 e1 07 38 c1
RSP: 0018:ffffc9000b9c7070 EFLAGS: 00000002
RAX: 0000000000000031 RBX: 0000000000000031 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: 000000000007ffff RDI: 0000000000080000
RBP: 00000000000003f8 R08: ffff888142330237 R09: 1ffff11028466046
R10: dffffc0000000000 R11: ffffffff85509340 R12: dffffc0000000000
R13: ffffffff99b008ca R14: ffffffff99df5380 R15: 0000000000000000
FS: 00007fd5ca56b6c0(0000) GS:ffff888125d15000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa11643ee9c CR3: 000000002736c000 CR4: 00000000003526f0
Call Trace:
serial_port_out include/linux/serial_core.h:798 [inline]
serial8250_console_putchar drivers/tty/serial/8250/8250_port.c:3246 [inline]
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:-1 [inline]
serial8250_console_write+0x1410/0x1ba0 drivers/tty/serial/8250/8250_port.c:3396
console_emit_next_record kernel/printk/printk.c:3138 [inline]
console_flush_all+0x728/0xc40 kernel/printk/printk.c:3226
__console_flush_and_unlock kernel/printk/printk.c:3285 [inline]
console_unlock+0xc4/0x270 kernel/printk/printk.c:3325
vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450
_printk+0xcf/0x120 kernel/printk/printk.c:2475
init_rescuer+0x4ca/0x570 kernel/workqueue.c:5578
__alloc_workqueue+0x176b/0x1b70 kernel/workqueue.c:5745
alloc_workqueue_noprof+0xd4/0x210 kernel/workqueue.c:5786
btrfs_alloc_workqueue+0x1c1/0x2a0 fs/btrfs/async-thread.c:112
btrfs_init_workqueues+0x158/0x6c0 fs/btrfs/disk-io.c:1975
open_ctree+0x11ef/0x3a10 fs/btrfs/disk-io.c:3424
btrfs_fill_super fs/btrfs/super.c:977 [inline]
btrfs_get_tree_super fs/btrfs/super.c:1937 [inline]
btrfs_get_tree_subvol fs/btrfs/super.c:2074 [inline]
btrfs_get_tree+0xf55/0x1820 fs/btrfs/super.c:2108
vfs_get_tree+0x8f/0x2b0 fs/super.c:1815
do_new_mount+0x2a2/0x9e0 fs/namespace.c:3805
do_mount fs/namespace.c:4133 [inline]
__do_sys_mount fs/namespace.c:4344 [inline]
__se_sys_mount+0x317/0x410 fs/namespace.c:4321
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd5c979038a
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:00007fd5ca56ae68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fd5ca56aef0 RCX: 00007fd5c979038a
RDX: 00002000000055c0 RSI: 0000200000005600 RDI: 00007fd5ca56aeb0
RBP: 00002000000055c0 R08: 00007fd5ca56aef0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000005600
R13: 00007fd5ca56aeb0 R14: 00000000000055a3 R15: 0000200000005640