INFO: task syz.4.322:9030 blocked for more than 143 seconds.
Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.322 state:D stack:25384 pid:9030 tgid:9029 ppid:5586 task_flags:0x400140 flags:0x00080003
Call Trace:
context_switch kernel/sched/core.c:5526 [inline]
__schedule+0x16d9/0x5700 kernel/sched/core.c:7277
__schedule_loop kernel/sched/core.c:7354 [inline]
schedule+0x164/0x2b0 kernel/sched/core.c:7369
schedule_timeout+0xc0/0x2c0 kernel/time/sleep_timeout.c:75
do_wait_for_common kernel/sched/completion.c:100 [inline]
__wait_for_common kernel/sched/completion.c:121 [inline]
wait_for_common kernel/sched/completion.c:132 [inline]
wait_for_completion+0x2ca/0x5e0 kernel/sched/completion.c:153
kthread_flush_worker+0x138/0x1a0 kernel/kthread.c:1579
__alloc_workqueue+0x16f4/0x1fe0 kernel/workqueue.c:6011
alloc_workqueue_va kernel/workqueue.c:6033 [inline]
alloc_workqueue_noprof+0xe3/0x210 kernel/workqueue.c:6049
btrfs_alloc_workqueue+0x1ec/0x2d0 fs/btrfs/async-thread.c:112
btrfs_init_workqueues+0x2fb/0x680 fs/btrfs/disk-io.c:1984
open_ctree+0x14d0/0x4190 fs/btrfs/disk-io.c:3536
btrfs_fill_super fs/btrfs/super.c:974 [inline]
btrfs_get_tree_super fs/btrfs/super.c:1965 [inline]
btrfs_get_tree_subvol fs/btrfs/super.c:2108 [inline]
btrfs_get_tree+0x1084/0x1980 fs/btrfs/super.c:2142
vfs_get_tree+0x92/0x2a0 fs/super.c:1933
fc_mount fs/namespace.c:1198 [inline]
do_new_mount_fc fs/namespace.c:3772 [inline]
do_new_mount+0x319/0xdc0 fs/namespace.c:3848
do_mount fs/namespace.c:4181 [inline]
__do_sys_mount fs/namespace.c:4397 [inline]
__se_sys_mount+0x31d/0x420 fs/namespace.c:4374
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f290440f3ca
RSP: 002b:00007f2902665e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f2902665ee0 RCX: 00007f290440f3ca
RDX: 0000200000005100 RSI: 0000200000000040 RDI: 00007f2902665ea0
RBP: 0000200000005100 R08: 00007f2902665ee0 R09: 0000000000800810
R10: 0000000000800810 R11: 0000000000000246 R12: 0000200000000040
R13: 00007f2902665ea0 R14: 000000000000510a R15: 0000200000000140
Showing all locks held in the system:
locks held by khungtaskd/38: 1, last CPU#1:
#0: ffffffff8e1c3c80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#0: ffffffff8e1c3c80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e1c3c80 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6871
locks held by getty/5346: 2, on CPU#1:
#0: ffff888028ad50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900044c32e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x460/0x1360 drivers/tty/n_tty.c:2211
locks held by syz.4.322/9030: 1, on CPU#1:
#0: ffff88802704a0e0 (&type->s_umount_key#67/1){+.+.}-{4:4}, at: alloc_super fs/super.c:351 [inline]
#0: ffff88802704a0e0 (&type->s_umount_key#67/1){+.+.}-{4:4}, at: sget_fc+0x97c/0x1a60 fs/super.c:875
locks held by syz.2.491/11209: 7, last CPU#0:
#0: ffff8880377dc510 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write_file+0x63/0x210 fs/namespace.c:538
#1: ffff88803c7151b8 (&fs_info->subvol_sem){+.+.}-{4:4}, at: btrfs_ioctl_subvol_setflags+0x2a7/0x830 fs/btrfs/ioctl.c:1347
#2: ffff8880377dc800 (sb_internal#4){.+.+}-{0:0}, at: btrfs_ioctl_subvol_setflags+0x46b/0x830 fs/btrfs/ioctl.c:1377
#3: ffff88803c717258 (btrfs_trans_completed){.+.+}-{0:0}, at: btrfs_commit_transaction+0x182/0x3170 fs/btrfs/transaction.c:2244
#4: ffff88803c717230 (btrfs_trans_super_committed){.+.+}-{0:0}, at: btrfs_commit_transaction+0x182/0x3170 fs/btrfs/transaction.c:2244
#5: ffff88803c714d18 (&fs_info->tree_log_mutex){+.+.}-{4:4}, at: btrfs_commit_transaction+0x1c61/0x3170 fs/btrfs/transaction.c:2569
#6: ffff88805ffe38c8 (&fs_devs->device_list_mutex){+.+.}-{4:4}, at: write_all_supers+0x132d/0x4ad0 fs/btrfs/disk-io.c:4162
locks held by syz.3.493/11215: 6, last CPU#1:
#0: ffff888034ee2510 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:494
#1: ffff888060cd6648 (&type->i_mutex_dir_key#9/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:1069 [inline]
#1: ffff888060cd6648 (&type->i_mutex_dir_key#9/1){+.+.}-{4:4}, at: __start_dirop fs/namei.c:2918 [inline]
#1: ffff888060cd6648 (&type->i_mutex_dir_key#9/1){+.+.}-{4:4}, at: start_dirop fs/namei.c:2942 [inline]
#1: ffff888060cd6648 (&type->i_mutex_dir_key#9/1){+.+.}-{4:4}, at: filename_create+0x200/0x370 fs/namei.c:5092
#2: ffff888060cd6278 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_mkdir+0x234/0xaf0 fs/jfs/namei.c:234
#3: ffff888060cd4f28 (&jfs_ip->commit_mutex/1){+.+.}-{4:4}, at: jfs_mkdir+0x24f/0xaf0 fs/jfs/namei.c:235
#4: ffffffff8e311730 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:198 [inline]
#4: ffffffff8e311730 (remove_cache_srcu){.+.+}-{0:0}, at: srcu_read_lock+0x27/0x60 include/linux/srcu.h:305
#5: ffff88813ffbbd58 (&n->list_lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:45 [inline]
#5: ffff88813ffbbd58 (&n->list_lock){+.+.}-{3:3}, at: __slab_free+0xef/0x2a0 mm/slub.c:5769
locks held by syz.5.497/11241: 2, last CPU#0:
#0: ffff888020aa9588 (vm_lock){++++}-{0:0}, at: lock_vma_under_rcu+0x1d1/0x500 mm/mmap_lock.c:310
#1: ffffffff8e1c3c80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffffff8e1c3c80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffffff8e1c3c80 (rcu_read_lock){....}-{1:3}, at: __pte_offset_map+0x29/0x200 mm/pgtable-generic.c:290
locks held by syz.0.498/11243: 2, last CPU#0:
#0: ffff88801aeb8510 (sb_writers#5){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2753 [inline]
#0: ffff88801aeb8510 (sb_writers#5){.+.+}-{0:0}, at: vfs_write+0x231/0xbb0 fs/read_write.c:683
#1: ffff88803ad19a10 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1024 [inline]
#1: ffff88803ad19a10 (&sb->s_type->i_mutex_key#14){+.+.}-{4:4}, at: shmem_file_write_iter+0x82/0x120 mm/shmem.c:3430
locks held by syz.1.499/11248: 2, last CPU#1:
#0: ffff88802576a0e0 (&type->s_umount_key#76){+.+.}-{4:4}, at: do_remount fs/namespace.c:3407 [inline]
#0: ffff88802576a0e0 (&type->s_umount_key#76){+.+.}-{4:4}, at: path_mount+0xd07/0x1050 fs/namespace.c:4160
#1: ffffffff8e1c3c80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
#1: ffffffff8e1c3c80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#1: ffffffff8e1c3c80 (rcu_read_lock){....}-{1:3}, at: __rt_spin_lock kernel/locking/spinlock_rt.c:50 [inline]
#1: ffffffff8e1c3c80 (rcu_read_lock){....}-{1:3}, at: rt_spin_lock+0x1e2/0x400 kernel/locking/spinlock_rt.c:57
locks held by syz.1.499/11249: 2, last CPU#1:
#0: ffff88805dc7c0d0 (&type->i_mutex_dir_key#19){.+.+}-{4:4}, at: inode_lock_shared include/linux/fs.h:1039 [inline]
#0: ffff88805dc7c0d0 (&type->i_mutex_dir_key#19){.+.+}-{4:4}, at: lookup_slow+0x46/0x70 fs/namei.c:1935
#1: ffff88805dc7c208 (&xa->xa_lock#7){+.+.}-{3:3}, at: spin_lock_irq include/linux/spinlock_rt.h:96 [inline]
#1: ffff88805dc7c208 (&xa->xa_lock#7){+.+.}-{3:3}, at: __filemap_add_folio+0x9d8/0x1250 mm/filemap.c:875
locks held by syz.1.499/11250: 1, on CPU#1:
#0: ffff88802576a0e0 (&type->s_umount_key#76){+.+.}-{4:4}, at: do_remount fs/namespace.c:3407 [inline]
#0: ffff88802576a0e0 (&type->s_umount_key#76){+.+.}-{4:4}, at: path_mount+0xd07/0x1050 fs/namespace.c:4160
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:123
nmi_trigger_cpumask_backtrace+0x17d/0x390 lib/nmi_backtrace.c:66
trigger_all_cpu_backtrace include/linux/nmi.h:164 [inline]
__sys_info lib/sys_info.c:157 [inline]
sys_info+0x135/0x170 lib/sys_info.c:165
check_hung_uninterruptible_tasks kernel/hung_task.c:353 [inline]
watchdog+0xfd7/0x1030 kernel/hung_task.c:561
kthread+0x38b/0x470 kernel/kthread.c:436
ret_from_fork+0x514/0xb70 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: 11209 Comm: syz.2.491 Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:__cq_enqueue kernel/locking/lockdep.c:1546 [inline]
RIP: 0010:__bfs kernel/locking/lockdep.c:1873 [inline]
RIP: 0010:__bfs_backwards kernel/locking/lockdep.c:1904 [inline]
RIP: 0010:check_irq_usage kernel/locking/lockdep.c:2840 [inline]
RIP: 0010:check_prev_add kernel/locking/lockdep.c:3213 [inline]
RIP: 0010:check_prevs_add kernel/locking/lockdep.c:3328 [inline]
RIP: 0010:validate_chain kernel/locking/lockdep.c:3952 [inline]
RIP: 0010:__lock_acquire+0x19e9/0x2de0 kernel/locking/lockdep.c:5288
Code: 1a 0a 14 41 8d 44 24 01 25 ff 0f 00 00 3b 05 ee 19 0a 14 0f 84 89 0e 00 00 41 81 fc 00 10 00 00 73 7e 4e 89 34 e5 60 89 ab 95 <8b> 05 d5 19 0a 14 ff c0 89 c1 81 e1 ff 0f 00 00 89 0d c5 19 0a 14
RSP: 0018:ffffc9002238f198 EFLAGS: 00000087
RAX: 00000000000001ef RBX: 00000000000003cd RCX: 000000000000000a
RDX: 000000000000000a RSI: ffff88802da50dd0 RDI: 00000000000003cd
RBP: 5b999af27f60e46e R08: ffffc9002238f160 R09: 0000000000000020
R10: dffffc0000000000 R11: ffffffff81a243c0 R12: 00000000000001ee
R13: ffffffff93515678 R14: ffffffff963b2e88 R15: ffffffff964643b8
FS: 00007f02409866c0(0000) GS:ffff888125bcb000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0ee4893000 CR3: 000000003d004000 CR4: 00000000003526f0
Call Trace:
lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942
_raw_spin_lock_nested+0x32/0x50 kernel/locking/spinlock.c:413
raw_spin_rq_lock_nested+0x2d/0x160 kernel/sched/core.c:677
raw_spin_rq_lock kernel/sched/sched.h:1678 [inline]
rq_lock kernel/sched/sched.h:2016 [inline]
ttwu_queue kernel/sched/core.c:4091 [inline]
try_to_wake_up+0x6df/0x1430 kernel/sched/core.c:4431
__queue_work+0xc14/0x1120 kernel/workqueue.c:2458
mod_delayed_work_on+0xaf/0x190 kernel/workqueue.c:2705
kblockd_mod_delayed_work_on+0x29/0x40 block/blk-core.c:1165
blk_insert_flush+0x417/0x570 block/blk-flush.c:457
blk_mq_submit_bio+0x1aa4/0x2aa0 block/blk-mq.c:3194
__submit_bio_noacct_mq block/blk-core.c:756 [inline]
submit_bio_noacct_nocheck+0x2f4/0xa40 block/blk-core.c:790
write_dev_flush fs/btrfs/disk-io.c:4027 [inline]
barrier_all_devices fs/btrfs/disk-io.c:4075 [inline]
write_all_supers+0x1657/0x4ad0 fs/btrfs/disk-io.c:4167
btrfs_commit_transaction+0x1dd4/0x3170 fs/btrfs/transaction.c:2607
btrfs_ioctl_subvol_setflags+0x4ec/0x830 fs/btrfs/ioctl.c:1390
btrfs_ioctl+0xa22/0xd60 fs/btrfs/ioctl.c:5568
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:597 [inline]
__se_sys_ioctl+0xff/0x170 fs/ioctl.c:583
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f024272e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f0240986028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f02429b5fa0 RCX: 00007f024272e159
RDX: 0000200000000080 RSI: 000000004008941a RDI: 0000000000000003
RBP: 00007f02427c503b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f02429b6038 R14: 00007f02429b5fa0 R15: 00007fff28ddf6f8