INFO: task syz.6.147:7178 blocked for more than 143 seconds.
Not tainted 6.15.0-rc2-syzkaller-00400-g3088d26962e8 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.147 state:D stack:27944 pid:7178 tgid:7139 ppid:6338 task_flags:0x400040 flags:0x00004004
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]
do_unlinkat+0x26c/0x7b0 fs/namei.c:4595
__do_sys_unlink fs/namei.c:4654 [inline]
__se_sys_unlink fs/namei.c:4652 [inline]
__x64_sys_unlink+0x47/0x50 fs/namei.c:4652
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:0x7f64ee38e169
RSP: 002b:00007f64ef130038 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f64ee5b6160 RCX: 00007f64ee38e169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000002c0
RBP: 00007f64ee410a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f64ee5b6160 R15: 00007ffcbf3b9828
INFO: task syz.6.147:7179 blocked for more than 144 seconds.
Not tainted 6.15.0-rc2-syzkaller-00400-g3088d26962e8 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.147 state:D stack:24616 pid:7179 tgid:7139 ppid:6338 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+0x1da/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:867 [inline]
open_last_lookups fs/namei.c:3762 [inline]
path_openat+0x8af/0x35d0 fs/namei.c:4001
do_filp_open+0x284/0x4e0 fs/namei.c:4031
do_sys_openat2+0x12b/0x1d0 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+0x249/0x2a0 fs/open.c:1455
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:0x7f64ee38e169
RSP: 002b:00007f64ef10f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f64ee5b6240 RCX: 00007f64ee38e169
RDX: 0000000000000441 RSI: 0000200000000080 RDI: ffffffffffffff9c
RBP: 00007f64ee410a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000104 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f64ee5b6240 R15: 00007ffcbf3b9828
INFO: task syz.6.147:7180 blocked for more than 145 seconds.
Not tainted 6.15.0-rc2-syzkaller-00400-g3088d26962e8 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.147 state:D stack:27944 pid:7180 tgid:7139 ppid:6338 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+0x1da/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:867 [inline]
bch2_ioc_fssetxattr fs/bcachefs/fs-ioctl.c:206 [inline]
bch2_fs_file_ioctl+0x182e/0x2c60 fs/bcachefs/fs-ioctl.c:574
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892
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:0x7f64ee38e169
RSP: 002b:00007f64ebdf4038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f64ee5b6320 RCX: 00007f64ee38e169
RDX: 0000200000000200 RSI: 00000000401c5820 RDI: 0000000000000009
RBP: 00007f64ee410a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f64ee5b6320 R15: 00007ffcbf3b9828
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
#0: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline]
#0: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998
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 kworker/u8:7/3541:
#0: ffff8880b8739998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605
#1: ffff8880b8723b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41f/0x7a0 kernel/sched/psi.c:987
#2: ffff888025498388 (&wb->work_lock){..-.}-{3:3}, at: spin_lock_irq include/linux/spinlock.h:376 [inline]
#2: ffff888025498388 (&wb->work_lock){..-.}-{3:3}, at: wb_wakeup_delayed fs/fs-writeback.c:163 [inline]
#2: ffff888025498388 (&wb->work_lock){..-.}-{3:3}, at: wb_workfn+0xfc4/0x10b0 fs/fs-writeback.c:2360
2 locks held by getty/5585:
#0: ffff8880319ae0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900036db2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222
2 locks held by syz-executor/6438:
#0: ffff888066a1e0e0 (&type->s_umount_key#57){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff888066a1e0e0 (&type->s_umount_key#57){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff888066a1e0e0 (&type->s_umount_key#57){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffffffff8ed43300 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
5 locks held by syz.6.147/7140:
#0: ffff888030a06420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556
#1: ffff88805bee3670 (&sb->s_type->i_mutex_key#22/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline]
#1: ffff88805bee3670 (&sb->s_type->i_mutex_key#22/1){+.+.}-{4:4}, at: filename_create+0x266/0x490 fs/namei.c:4097
#2: ffff88805bee3a58 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x359/0xf40 fs/bcachefs/fs.c:550
#3: ffff88804e884228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#3: ffff88804e884228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#3: ffff88804e884228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7ed/0xd40 fs/bcachefs/btree_iter.c:3382
#4: ffff88804e8a6590 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x68a/0x16c0 fs/bcachefs/btree_update_interior.c:1179
2 locks held by syz.6.147/7178:
#0: ffff888030a06420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556
#1: ffff88805bee3670 (&sb->s_type->i_mutex_key#22/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline]
#1: ffff88805bee3670 (&sb->s_type->i_mutex_key#22/1){+.+.}-{4:4}, at: do_unlinkat+0x26c/0x7b0 fs/namei.c:4595
2 locks held by syz.6.147/7179:
#0: ffff888030a06420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556
#1: ffff88805bee3670 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline]
#1: ffff88805bee3670 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: open_last_lookups fs/namei.c:3762 [inline]
#1: ffff88805bee3670 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: path_openat+0x8af/0x35d0 fs/namei.c:4001
2 locks held by syz.6.147/7180:
#0: ffff888030a06420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x200 fs/namespace.c:600
#1: ffff88805bee3670 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline]
#1: ffff88805bee3670 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: bch2_ioc_fssetxattr fs/bcachefs/fs-ioctl.c:206 [inline]
#1: ffff88805bee3670 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: bch2_fs_file_ioctl+0x182e/0x2c60 fs/bcachefs/fs-ioctl.c:574
6 locks held by bch-copygc/loop/7172:
2 locks held by syz-executor/7719:
#0: ffff88802d71a0e0 (&type->s_umount_key#57){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff88802d71a0e0 (&type->s_umount_key#57){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff88802d71a0e0 (&type->s_umount_key#57){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffffffff8ed43300 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:3774
3 locks held by dhcpcd-run-hook/9634:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc2-syzkaller-00400-g3088d26962e8 #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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 64 Comm: kworker/u8:4 Not tainted 6.15.0-rc2-syzkaller-00400-g3088d26962e8 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: bat_events batadv_nc_worker
RIP: 0010:check_preemption_disabled+0x43/0x120 lib/smp_processor_id.c:55
Code: 48 89 44 24 08 65 8b 1d 3f 41 3d 07 65 8b 05 34 41 3d 07 a9 ff ff ff 7f 74 24 65 49 8b 04 24 48 3b 44 24 08 0f 85 cc 00 00 00 <89> d8 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 48 c7
RSP: 0018:ffffc90001567a58 EFLAGS: 00000246
RAX: 374019d8ea29bf00 RBX: 0000000000000001 RCX: ffff88801cb20000
RDX: ffff88801cb20000 RSI: ffffffff8ca0e160 RDI: ffffffff8ca0e120
RBP: 0000000000000000 R08: ffffffff8bf1b73e R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff93651020
R13: 0000000000000048 R14: ffff88802c942f00 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff8881250cf000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005652f970d950 CR3: 00000000349b6000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline]
rcu_is_watching+0x15/0xb0 kernel/rcu/tree.c:736
rcu_read_unlock include/linux/rcupdate.h:869 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0x207/0x610 net/batman-adv/network-coding.c:719
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