INFO: task syz-executor:13335 blocked for more than 143 seconds.
Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor state:D stack:20832 pid:13335 tgid:13335 ppid:1 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5367 [inline]
__schedule+0x1b18/0x50e0 kernel/sched/core.c:6748
__schedule_loop kernel/sched/core.c:6825 [inline]
schedule+0x163/0x360 kernel/sched/core.c:6840
schedule_timeout+0xb1/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+0x360/0x630 kernel/sched/completion.c:148
kthread_stop+0x1a1/0x640 kernel/kthread.c:791
bch2_copygc_stop+0x4f/0x150 fs/bcachefs/movinggc.c:413
__bch2_fs_read_only+0x47/0x450 fs/bcachefs/super.c:265
bch2_fs_read_only+0xc80/0x1360 fs/bcachefs/super.c:356
__bch2_fs_stop+0x107/0x5b0 fs/bcachefs/super.c:634
generic_shutdown_super+0x13b/0x2d0 fs/super.c:642
bch2_kill_sb+0x41/0x50 fs/bcachefs/fs.c:2312
deactivate_locked_super+0xc6/0x130 fs/super.c:473
cleanup_mnt+0x422/0x4c0 fs/namespace.c:1435
task_work_run+0x253/0x310 kernel/task_work.c:227
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/syscall_64.c:100
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7c01d8e497
RSP: 002b:00007fff48773e98 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f7c01e0e08c RCX: 00007f7c01d8e497
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff48773f50
RBP: 00007fff48773f50 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff48774fe0
R13: 00007f7c01e0e08c R14: 00000000000ac83a R15: 00007fff48775020
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8eb3a760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8eb3a760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8eb3a760 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6761
5 locks held by kworker/u8:6/1327:
2 locks held by getty/5582:
#0: ffff88814d7e10a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fd62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x53d/0x16b0 drivers/tty/n_tty.c:2211
2 locks held by syz-executor/13335:
#0: ffff88805a6240e0 (&type->s_umount_key#56){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88805a6240e0 (&type->s_umount_key#56){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88805a6240e0 (&type->s_umount_key#56){+.+.}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffff88803e900278 (&c->state_lock){+.+.}-{4:4}, at: __bch2_fs_stop+0xff/0x5b0 fs/bcachefs/super.c:633
2 locks held by syz.1.3084/16625:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:236 [inline]
watchdog+0x1058/0x10a0 kernel/hung_task.c:399
kthread+0x7ab/0x920 kernel/kthread.c:464
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:153
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: 16625 Comm: syz.1.3084 Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:87 [inline]
RIP: 0010:do_raw_spin_lock+0xa6/0x370 kernel/locking/spinlock_debug.c:115
Code: d8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 f8 01 00 00 8b 03 3d ad 4e ad de 0f 85 64 01 00 00 4d 8d 6c 24 10 4c 89 e8 48 c1 e8 03 <48> 89 44 24 20 80 3c 10 00 74 12 4c 89 ef e8 b7 ee 8b 00 48 ba 00
RSP: 0018:ffffc90000007c00 EFLAGS: 00000012
RAX: 1ffff1100f24e6f2 RBX: ffff888079273784 RCX: 1ffff92000000f88
RDX: dffffc0000000000 RSI: 1ffff92000000f88 RDI: ffff888079273780
RBP: ffffc90000007cd0 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888079273780
R13: ffff888079273790 R14: ffff888079273780 R15: ffffc90000007d00
FS: 00007f68269d56c0(0000) GS:ffff888125224000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2f0002 CR3: 000000006a21c000 CR4: 0000000000350ef0
Call Trace:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:111 [inline]
_raw_spin_lock_irqsave+0xe4/0x130 kernel/locking/spinlock.c:162
__lock_task_sighand+0x149/0x2d0 kernel/signal.c:1379
lock_task_sighand include/linux/sched/signal.h:743 [inline]
do_send_sig_info kernel/signal.c:1267 [inline]
group_send_sig_info+0x278/0x310 kernel/signal.c:1418
do_bpf_send_signal+0xc3/0x1f0 kernel/trace/bpf_trace.c:809
irq_work_single+0xe4/0x240 kernel/irq_work.c:221
irq_work_run_list kernel/irq_work.c:252 [inline]
irq_work_run+0x18d/0x360 kernel/irq_work.c:261
__sysvec_irq_work+0xb8/0x430 arch/x86/kernel/irq_work.c:22
instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
sysvec_irq_work+0x9e/0xc0 arch/x86/kernel/irq_work.c:17
asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:738
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:36 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:149 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:256 [inline]
RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:212
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 e9 ab db a3 ff f3 0f 1e fa 89 f6 31 d2 e9 f3 9d c9 03 0f 1f
RSP: 0018:ffffc90004ba71c8 EFLAGS: 00000246
RAX: 00000000000000f6 RBX: 0000000000000200 RCX: 000000000000083f
RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f
RBP: 0000000000000000 R08: ffffffff816071ae R09: 1ffff92000974e24
R10: dffffc0000000000 R11: fffff52000974e25 R12: ffff8880b8631090
R13: 1ffff92000974e00 R14: 2fd3fbff178bfbff R15: 0000000000000020
__apic_send_IPI_self arch/x86/include/asm/apic.h:455 [inline]
arch_irq_work_raise+0x6f/0x80 arch/x86/kernel/irq_work.c:31
irq_work_queue+0xa7/0x150 kernel/irq_work.c:124
bpf_send_signal_common+0x491/0x690 kernel/trace/bpf_trace.c:867
____bpf_send_signal kernel/trace/bpf_trace.c:876 [inline]
bpf_send_signal+0x1d/0x30 kernel/trace/bpf_trace.c:874
bpf_prog_631417f49dd64198+0x25/0x4c
bpf_dispatcher_nop_func include/linux/bpf.h:1290 [inline]
__bpf_prog_run include/linux/filter.h:701 [inline]
bpf_prog_run include/linux/filter.h:708 [inline]
__bpf_trace_run kernel/trace/bpf_trace.c:2358 [inline]
bpf_trace_run2+0x2f0/0x550 kernel/trace/bpf_trace.c:2399
__bpf_trace_contention_end+0x172/0x230 include/trace/events/lock.h:122
__do_trace_contention_end include/trace/events/lock.h:122 [inline]
trace_contention_end+0xf9/0x120 include/trace/events/lock.h:122
__mutex_lock_common kernel/locking/mutex.c:596 [inline]
__mutex_lock+0x391/0x1000 kernel/locking/mutex.c:732
__unix_dgram_recvmsg+0x252/0x12e0 net/unix/af_unix.c:2427
sock_recvmsg_nosec+0x190/0x1d0 net/socket.c:1023
____sys_recvmsg+0x3d4/0x480 net/socket.c:2791
___sys_recvmsg net/socket.c:2835 [inline]
do_recvmmsg+0x428/0xab0 net/socket.c:2930
__sys_recvmmsg net/socket.c:3004 [inline]
__do_sys_recvmmsg net/socket.c:3027 [inline]
__se_sys_recvmmsg net/socket.c:3020 [inline]
__x64_sys_recvmmsg+0x1ab/0x260 net/socket.c:3020
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6828b8d169
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f68269d5038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f6828da6160 RCX: 00007f6828b8d169
RDX: 0000000000010106 RSI: 00002000000000c0 RDI: 0000000000000004
RBP: 00007f6828c0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6828da6160 R15: 00007ffeaf897288