INFO: task syz.3.115:6915 blocked for more than 143 seconds.
Not tainted 6.15.0-rc5-syzkaller-00353-gcd802e7e5f1e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.115 state:D stack:28520 pid:6915 tgid:6896 ppid:5818 task_flags:0x400040 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5382 [inline]
__schedule+0x168f/0x4c70 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x165/0x360 kernel/sched/core.c:6860
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917
rwsem_down_read_slowpath+0x552/0x880 kernel/locking/rwsem.c:1084
__down_read_common kernel/locking/rwsem.c:1248 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0x98/0x2e0 kernel/locking/rwsem.c:1526
inode_lock_shared include/linux/fs.h:877 [inline]
open_last_lookups fs/namei.c:3799 [inline]
path_openat+0x8cb/0x3830 fs/namei.c:4036
do_filp_open+0x1fa/0x410 fs/namei.c:4066
do_sys_openat2+0x121/0x1c0 fs/open.c:1429
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x138/0x170 fs/open.c:1455
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf6/0x210 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb761f8e969
RSP: 002b:00007fb762d95038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fb7621b6080 RCX: 00007fb761f8e969
RDX: 0000000000080000 RSI: 0000200000000100 RDI: ffffffffffffff9c
RBP: 00007fb762010ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007fb7621b6080 R15: 00007ffc47a55f08
Showing all locks held in the system:
1 lock held by ksoftirqd/0/15:
#0: ffff8880b88399d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605
1 lock held by khungtaskd/31:
#0: ffffffff8df3d860 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8df3d860 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#0: ffffffff8df3d860 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6764
2 locks held by kworker/u8:4/68:
#0: ffff8880b88399d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605
#1: ffff8880b8823b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x39e/0x6d0 kernel/sched/psi.c:987
2 locks held by getty/5579:
#0: ffff88814dea00a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000363c2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
5 locks held by syz.3.115/6897:
#0: ffff88807e4f4420 (sb_writers#24){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:556
#1: ffff88805bf388e0 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline]
#1: ffff88805bf388e0 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: open_last_lookups fs/namei.c:3797 [inline]
#1: ffff88805bf388e0 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: path_openat+0x8da/0x3830 fs/namei.c:4036
#2: ffff88805bf38cc8 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x2f2/0xb90 fs/bcachefs/fs.c:569
#3: ffff88804d304228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#3: ffff88804d304228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#3: ffff88804d304228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x806/0xda0 fs/bcachefs/btree_iter.c:3385
#4: ffff88804d326590 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x68f/0x14c0 fs/bcachefs/btree_update_interior.c:1179
1 lock held by syz.3.115/6915:
#0: ffff88805bf388e0 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:877 [inline]
#0: ffff88805bf388e0 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: open_last_lookups fs/namei.c:3799 [inline]
#0: ffff88805bf388e0 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: path_openat+0x8cb/0x3830 fs/namei.c:4036
3 locks held by bch-copygc/loop/6912:
2 locks held by syz-executor/6961:
#0: ffff88802422c0e0 (&type->s_umount_key#93){+.+.}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88802422c0e0 (&type->s_umount_key#93){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88802422c0e0 (&type->s_umount_key#93){+.+.}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505
#1: ffffffff8df43200 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3774
1 lock held by syz.2.381/9332:
#0: ffffffff8df43338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline]
#0: ffffffff8df43338 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b7/0x730 kernel/rcu/tree_exp.h:998
1 lock held by dhcpcd/9381:
#0: ffff88807fb6a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline]
#0: ffff88807fb6a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252
1 lock held by dhcpcd/9382:
#0: ffff88807f092258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline]
#0: ffff88807f092258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252
1 lock held by dhcpcd/9383:
#0: ffff88807f096258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline]
#0: ffff88807f096258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252
1 lock held by dhcpcd/9384:
#0: ffff888024b7c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline]
#0: ffff888024b7c258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc5-syzkaller-00353-gcd802e7e5f1e #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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:158 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline]
watchdog+0xfee/0x1030 kernel/hung_task.c:437
kthread+0x70e/0x8a0 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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 68 Comm: kworker/u8:4 Not tainted 6.15.0-rc5-syzkaller-00353-gcd802e7e5f1e #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:109 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:151 [inline]
RIP: 0010:lock_release+0x295/0x3e0 kernel/locking/lockdep.c:5890
Code: 5c 24 08 48 c7 c7 2e 1a 92 8d e8 06 f3 b0 09 b8 ff ff ff ff 65 0f c1 05 49 5c d4 10 83 f8 01 75 51 48 c7 44 24 20 00 00 00 00 <9c> 8f 44 24 20 f7 44 24 20 00 02 00 00 75 56 f7 c3 00 02 00 00 74
RSP: 0018:ffffc90000a081f0 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 0000000000000206 RCX: cb911ed7ede73c00
RDX: 0000000000000003 RSI: ffffffff8d921a2e RDI: ffffffff8bc10060
RBP: ffff88801c706568 R08: ffffc90000a08378 R09: 0000000000000000
R10: ffffc90000a083d8 R11: fffff5200014107d R12: 0000000000000003
R13: 0000000000000003 R14: ffffffff8df3d860 R15: ffff88801c705a00
FS: 0000000000000000(0000) GS:ffff8881261fb000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efea069be9c CR3: 000000000dd38000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_lock_release include/linux/rcupdate.h:341 [inline]
rcu_read_unlock include/linux/rcupdate.h:871 [inline]
class_rcu_destructor include/linux/rcupdate.h:1155 [inline]
unwind_next_frame+0x19a9/0x2390 arch/x86/kernel/unwind_orc.c:680
__unwind_start+0x5b9/0x760 arch/x86/kernel/unwind_orc.c:758
unwind_start arch/x86/include/asm/unwind.h:64 [inline]
arch_stack_walk+0xe4/0x150 arch/x86/kernel/stacktrace.c:24
stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:576
poison_slab_object mm/kasan/common.c:247 [inline]
__kasan_slab_free+0x62/0x70 mm/kasan/common.c:264
kasan_slab_free include/linux/kasan.h:233 [inline]
slab_free_hook mm/slub.c:2380 [inline]
slab_free mm/slub.c:4642 [inline]
kfree+0x193/0x440 mm/slub.c:4841
skb_kfree_head net/core/skbuff.c:1058 [inline]
skb_free_head net/core/skbuff.c:1070 [inline]
skb_release_data+0x69a/0x890 net/core/skbuff.c:1097
skb_release_all net/core/skbuff.c:1162 [inline]
__kfree_skb net/core/skbuff.c:1176 [inline]
sk_skb_reason_drop+0x127/0x170 net/core/skbuff.c:1214
kfree_skb_reason include/linux/skbuff.h:1279 [inline]
__netif_receive_skb_core+0x3be7/0x4180 net/core/dev.c:5861
__netif_receive_skb_one_core net/core/dev.c:5885 [inline]
__netif_receive_skb+0x72/0x380 net/core/dev.c:6000
process_backlog+0x60e/0x14f0 net/core/dev.c:6352
__napi_poll+0xc4/0x480 net/core/dev.c:7324
napi_poll net/core/dev.c:7388 [inline]
net_rx_action+0x6ea/0xdf0 net/core/dev.c:7510
handle_softirqs+0x283/0x870 kernel/softirq.c:579
do_softirq+0xec/0x180 kernel/softirq.c:480
__local_bh_enable_ip+0x17d/0x1c0 kernel/softirq.c:407
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:910 [inline]
__dev_queue_xmit+0x1cd7/0x3a70 net/core/dev.c:4656
dev_queue_xmit include/linux/netdevice.h:3350 [inline]
batadv_send_skb_packet+0x44f/0x6d0 net/batman-adv/send.c:108
batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:392 [inline]
batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:420 [inline]
batadv_iv_send_outstanding_bat_ogm_packet+0x62f/0x7e0 net/batman-adv/bat_iv_ogm.c:1708
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xadb/0x17a0 kernel/workqueue.c:3319
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3400
kthread+0x70e/0x8a0 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