INFO: task syz.1.2:5922 blocked for more than 143 seconds.
Not tainted 6.15.0-rc2-syzkaller-00278-gfc96b232f8e7 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.2 state:D stack:26176 pid:5922 tgid:5922 ppid:5831 task_flags:0x400040 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x1b33/0x51f0 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x163/0x360 kernel/sched/core.c:6860
__bch2_two_state_lock+0x238/0x3f0 fs/bcachefs/two_state_shared_lock.c:7
bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:55 [inline]
bch2_page_fault+0x321/0x960 fs/bcachefs/fs-io-pagecache.c:592
__do_fault+0x135/0x390 mm/memory.c:5098
do_shared_fault mm/memory.c:5582 [inline]
do_fault mm/memory.c:5656 [inline]
do_pte_missing mm/memory.c:4160 [inline]
handle_pte_fault+0xfcc/0x61c0 mm/memory.c:5997
__handle_mm_fault mm/memory.c:6140 [inline]
handle_mm_fault+0x1030/0x1aa0 mm/memory.c:6309
do_user_addr_fault arch/x86/mm/fault.c:1337 [inline]
handle_page_fault arch/x86/mm/fault.c:1480 [inline]
exc_page_fault+0x45b/0x920 arch/x86/mm/fault.c:1538
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623
RIP: 0033:0x7f1398955eab
RSP: 002b:00007ffea85b2d28 EFLAGS: 00010202
RAX: 0000200000000000 RBX: 0000000000000004 RCX: 0000000000736632
RDX: 0000000000000005 RSI: 0000000073663266 RDI: 0000200000000000
RBP: 00007f1398bb7ba0 R08: 00007f1398800000 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000009 R12: 00007f1398bb5fac
R13: 00007ffea85b2e20 R14: fffffffffffffffe R15: 00007ffea85b2e40
Showing all locks held in the system:
2 locks held by kworker/u8:0/12:
1 lock held by khungtaskd/31:
#0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6764
3 locks held by udevd/5200:
2 locks held by getty/5589:
#0: ffff8880352520a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900036b62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222
3 locks held by syz-executor/5828:
1 lock held by syz.1.2/5922:
#0: ffff888033f6da88 (vm_lock){++++}-{0:0}, at: do_user_addr_fault arch/x86/mm/fault.c:1328 [inline]
#0: ffff888033f6da88 (vm_lock){++++}-{0:0}, at: handle_page_fault arch/x86/mm/fault.c:1480 [inline]
#0: ffff888033f6da88 (vm_lock){++++}-{0:0}, at: exc_page_fault+0x17d/0x920 arch/x86/mm/fault.c:1538
5 locks held by syz.1.2/5923:
#0: ffff8880562ec420 (sb_writers#14){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556
#1: ffff8880566688e0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline]
#1: ffff8880566688e0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: do_truncate+0x20e/0x310 fs/open.c:63
#2: ffff888058f00a70 (&c->snapshot_create_lock){.+.+}-{4:4}, at: bch2_truncate+0x1ae/0x340 fs/bcachefs/io_misc.c:295
#3: ffff888058f04228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#3: ffff888058f04228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#3: ffff888058f04228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7ed/0xd40 fs/bcachefs/btree_iter.c:3382
#4: ffff888058f26590 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x68a/0x16c0 fs/bcachefs/btree_update_interior.c:1179
2 locks held by bch-copygc/loop/5960:
1 lock held by syz-executor/6222:
1 lock held by syz.3.265/8023:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc2-syzkaller-00278-gfc96b232f8e7 #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:274 [inline]
watchdog+0x1058/0x10a0 kernel/hung_task.c:437
kthread+0x7b7/0x940 kernel/kthread.c:464
ret_from_fork+0x4b/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: 5816 Comm: syz-executor Not tainted 6.15.0-rc2-syzkaller-00278-gfc96b232f8e7 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:get_current arch/x86/include/asm/current.h:25 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x8/0x70 kernel/kcov.c:216
Code: 8b 3d 54 ba b5 0c 48 89 de 5b e9 93 3b 5c 00 cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 <65> 48 8b 0c 25 08 10 65 93 65 8b 15 18 56 a2 11 81 e2 00 01 ff 00
RSP: 0018:ffffc900000073f0 EFLAGS: 00000292
RAX: ffffffff8b6a3b6d RBX: ffff888059da0e80 RCX: 0000000000000303
RDX: 0000000000000002 RSI: ffff88802a0b1978 RDI: ffff888059da0700
RBP: ffff88802a0b1978 R08: ffffffff905ebd77 R09: 1ffffffff20bd7ae
R10: dffffc0000000000 R11: fffffbfff20bd7af R12: ffff8880295ec000
R13: ffff88802a0b1978 R14: dffffc0000000000 R15: ffff888059da0700
FS: 0000555590558500(0000) GS:ffff888124fcf000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055557d4aa5c8 CR3: 0000000068656000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
wiphy_work_queue+0x1d/0x3a0 net/wireless/core.c:1662
__ieee80211_queue_skb_to_iface net/mac80211/rx.c:233 [inline]
ieee80211_queue_skb_to_iface net/mac80211/rx.c:244 [inline]
ieee80211_rx_h_mgmt+0x50f/0x710 net/mac80211/rx.c:4085
ieee80211_rx_handlers+0x7d37/0xbc60 net/mac80211/rx.c:4160
ieee80211_invoke_rx_handlers net/mac80211/rx.c:4190 [inline]
ieee80211_prepare_and_rx_handle+0x29b4/0x6480 net/mac80211/rx.c:5040
__ieee80211_rx_handle_packet net/mac80211/rx.c:5281 [inline]
ieee80211_rx_list+0x2aad/0x3490 net/mac80211/rx.c:5416
ieee80211_rx_napi+0x187/0x3c0 net/mac80211/rx.c:5439
ieee80211_rx include/net/mac80211.h:5179 [inline]
ieee80211_handle_queued_frames+0xe7/0x1e0 net/mac80211/main.c:441
tasklet_action_common+0x428/0x620 kernel/softirq.c:829
handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579
do_softirq+0x11f/0x1e0 kernel/softirq.c:480
__local_bh_enable_ip+0x1be/0x200 kernel/softirq.c:407
lock_sock include/net/sock.h:1651 [inline]
tcp_recvmsg+0x203/0x8c0 net/ipv4/tcp.c:2877
inet_recvmsg+0x152/0x2d0 net/ipv4/af_inet.c:883
sock_recvmsg_nosec net/socket.c:1017 [inline]
sock_recvmsg+0x1ae/0x280 net/socket.c:1039
sock_read_iter+0x2c6/0x3e0 net/socket.c:1109
new_sync_read fs/read_write.c:489 [inline]
vfs_read+0x9a0/0xb90 fs/read_write.c:570
ksys_read+0x19d/0x2d0 fs/read_write.c:713
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f42ea38cb3d
Code: a8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb b5 e8 a8 48 00 00 0f 1f 84 00 00 00 00 00 80 3d 01 7a 1f 00 00 74 17 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 5b c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec
RSP: 002b:00007fff0219e338 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f42ea38cb3d
RDX: 0000000000000004 RSI: 00007fff0219e34c RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000009f5538d R09: 7fffffffffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff0219e760
R13: 0000000000000004 R14: 00007fff0219e34c R15: 00007fff0219e3e0