INFO: task syz.3.41:6290 blocked for more than 143 seconds.
Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.41 state:D stack:27944 pid:6290 tgid:6256 ppid:5835 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
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
rwsem_down_write_slowpath+0xedd/0x1420 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write_nested+0x1e2/0x220 kernel/locking/rwsem.c:1694
inode_lock_nested include/linux/fs.h:902 [inline]
lock_rename fs/namei.c:3265 [inline]
do_renameat2+0x653/0x1410 fs/namei.c:5216
__do_sys_rename fs/namei.c:5317 [inline]
__se_sys_rename fs/namei.c:5315 [inline]
__x64_sys_rename+0x82/0x90 fs/namei.c:5315
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:0x7f5e14f8e169
RSP: 002b:00007f5e15d14038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f5e151b6080 RCX: 00007f5e14f8e169
RDX: 0000000000000000 RSI: 0000200000000780 RDI: 0000200000000600
RBP: 00007f5e15010a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f5e151b6080 R15: 00007ffc54d0e488
Showing all locks held in the system:
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
4 locks held by kworker/0:1H/43:
#0: ffff888078b82548 ((wq_completion)bcachefs_btree_io#3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff888078b82548 ((wq_completion)bcachefs_btree_io#3){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc90000b47c60 ((work_completion)(&wb->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc90000b47c60 ((work_completion)(&wb->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffff888048c84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#2: ffff888048c84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#2: ffff888048c84228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7ed/0xd40 fs/bcachefs/btree_iter.c:3382
#3: ffff888065640140 (bcachefs_btree){+.+.}-{0:0}, at: trans_set_locked fs/bcachefs/btree_locking.h:198 [inline]
#3: ffff888065640140 (bcachefs_btree){+.+.}-{0:0}, at: bch2_trans_begin+0x9cc/0x1d30 fs/bcachefs/btree_iter.c:3279
3 locks held by kworker/u8:4/76:
2 locks held by getty/5587:
#0: ffff88803610a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000334b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222
3 locks held by kworker/0:5/5889:
3 locks held by kworker/1:6/5918:
#0: ffff88801b081548 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline]
#0: ffff88801b081548 ((wq_completion)events_long){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319
#1: ffffc9000423fc60 ((work_completion)(&c->read_only_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline]
#1: ffffc9000423fc60 ((work_completion)(&c->read_only_work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319
#2: ffff888048c80278 (&c->state_lock){++++}-{4:4}, at: bch2_fs_read_only_work+0x25/0x40 fs/bcachefs/super.c:389
5 locks held by syz.3.41/6257:
#0: ffff88806a140420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556
#1: ffff8880561d08e0 (&sb->s_type->i_mutex_key#23/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline]
#1: ffff8880561d08e0 (&sb->s_type->i_mutex_key#23/1){+.+.}-{4:4}, at: filename_create+0x262/0x510 fs/namei.c:4132
#2: ffff8880561d0cc8 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x359/0xf40 fs/bcachefs/fs.c:550
#3: ffff88805db04228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#3: ffff88805db04228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#3: ffff88805db04228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0x9a/0x1a0 fs/bcachefs/btree_iter.c:3199
#4: ffff88805db26590 (&c->gc_lock){.+.+}-{4:4}, at: bch2_btree_update_start+0x68a/0x16c0 fs/bcachefs/btree_update_interior.c:1179
2 locks held by syz.3.41/6290:
#0: ffff88806a140420 (sb_writers#19){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556
#1: ffff8880561d08e0 (&sb->s_type->i_mutex_key#23/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline]
#1: ffff8880561d08e0 (&sb->s_type->i_mutex_key#23/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3265 [inline]
#1: ffff8880561d08e0 (&sb->s_type->i_mutex_key#23/1){+.+.}-{4:4}, at: do_renameat2+0x653/0x1410 fs/namei.c:5216
2 locks held by bch-copygc/loop/6283:
1 lock held by syz-executor/6541:
#0: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline]
#0: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x384/0x830 kernel/rcu/tree_exp.h:998
2 locks held by syz.9.311/8427:
2 locks held by dhcpcd/8474:
#0: ffff888051e36258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline]
#0: ffff888051e36258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3252
#1: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline]
#1: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998
1 lock held by dhcpcd/8476:
#0: ffff888063bb0258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline]
#0: ffff888063bb0258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3252
1 lock held by dhcpcd/8479:
#0: ffff888035c6e258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline]
#0: ffff888035c6e258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcb0 net/packet/af_packet.c:3252
1 lock held by udevadm/8481:
1 lock held by dhcpcd-run-hook/8482:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #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: 2136 Comm: kworker/u8:5 Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:lock_acquire+0xb5/0x2f0 kernel/locking/lockdep.c:5842
Code: 50 83 c0 0e 00 0f 84 ef 00 00 00 65 8b 05 33 e5 c6 11 85 c0 0f 85 e0 00 00 00 65 48 8b 04 25 08 10 65 93 83 b8 ec 0a 00 00 00 <0f> 85 ca 00 00 00 48 c7 44 24 10 00 00 00 00 9c 8f 44 24 10 4c 8b
RSP: 0018:ffffc900057065a8 EFLAGS: 00000246
RAX: ffff88802a460000 RBX: ffffffff8ed3df20 RCX: 0000000000000002
RDX: 0000000000000000 RSI: ffffffff816d9be5 RDI: 1ffffffff1da7be4
RBP: ffffffff93651020 R08: 0000000000000000 R09: 0000000000000000
R10: ffffc90005706750 R11: ffffffff81ae6180 R12: 0000000000000000
R13: 0000000000000002 R14: ffffffff8129ebea R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff888124fcf000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9355f7e678 CR3: 000000000eb38000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
rcu_read_lock include/linux/rcupdate.h:841 [inline]
class_rcu_constructor include/linux/rcupdate.h:1155 [inline]
unwind_next_frame+0xd5/0x23b0 arch/x86/kernel/unwind_orc.c:479
arch_stack_walk+0x11e/0x150 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
__kasan_kmalloc+0x9d/0xb0 mm/kasan/common.c:394
kasan_kmalloc include/linux/kasan.h:260 [inline]
__do_kmalloc_node mm/slub.c:4341 [inline]
__kmalloc_noprof+0x28e/0x4d0 mm/slub.c:4353
kmalloc_noprof include/linux/slab.h:909 [inline]
kzalloc_noprof include/linux/slab.h:1039 [inline]
ieee802_11_parse_elems_full+0x16d/0x2f10 net/mac80211/parse.c:1013
ieee802_11_parse_elems_crc net/mac80211/ieee80211_i.h:2402 [inline]
ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2409 [inline]
ieee80211_inform_bss+0x166/0x10e0 net/mac80211/scan.c:79
rdev_inform_bss net/wireless/rdev-ops.h:418 [inline]
cfg80211_inform_single_bss_data+0xf5f/0x1ed0 net/wireless/scan.c:2367
cfg80211_inform_bss_data+0x3c5/0x5860 net/wireless/scan.c:3222
cfg80211_inform_bss_frame_data+0x3c5/0x720 net/wireless/scan.c:3317
ieee80211_bss_info_update+0x8ac/0xbc0 net/mac80211/scan.c:226
ieee80211_rx_bss_info net/mac80211/ibss.c:1102 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1581 [inline]
ieee80211_ibss_rx_queued_mgmt+0x19ce/0x2e20 net/mac80211/ibss.c:1608
ieee80211_iface_process_skb net/mac80211/iface.c:1625 [inline]
ieee80211_iface_work+0x933/0x1100 net/mac80211/iface.c:1679
cfg80211_wiphy_work+0x2f0/0x490 net/wireless/core.c:435
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd50 kernel/workqueue.c:3400
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