INFO: task syz.1.2:5930 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.1.2 state:D stack:13808 pid:5930 tgid:5929 ppid:5822 task_flags:0x440140 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5367 [inline]
__schedule+0x1ac3/0x5090 kernel/sched/core.c:6748
__schedule_loop kernel/sched/core.c:6825 [inline]
schedule+0x163/0x360 kernel/sched/core.c:6840
__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_readahead+0x9e3/0x1240 fs/bcachefs/fs-io-buffered.c:272
read_pages+0x193/0x590 mm/readahead.c:160
page_cache_ra_order+0xa37/0xca0 mm/readahead.c:515
filemap_get_pages+0x59f/0x1fc0 mm/filemap.c:2590
filemap_splice_read+0x690/0xef0 mm/filemap.c:2980
do_splice_read fs/splice.c:979 [inline]
splice_direct_to_actor+0x4af/0xc90 fs/splice.c:1083
do_splice_direct_actor fs/splice.c:1201 [inline]
do_splice_direct+0x281/0x3d0 fs/splice.c:1227
vfs_copy_file_range+0xbb9/0x1480 fs/read_write.c:1625
__do_sys_copy_file_range fs/read_write.c:1675 [inline]
__se_sys_copy_file_range+0x3fe/0x600 fs/read_write.c:1642
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:0x7f62b8f8d169
RSP: 002b:00007f62b9e9b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000146
RAX: ffffffffffffffda RBX: 00007f62b91a5fa0 RCX: 00007f62b8f8d169
RDX: 0000000000000006 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007f62b900e2a0 R08: 0000000000400000 R09: 0000000000000000
R10: 00002000000000c0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f62b91a5fa0 R15: 00007fff759d6528
INFO: task syz.1.2:5974 blocked for more than 144 seconds.
Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.2 state:D stack:18416 pid:5974 tgid:5929 ppid:5822 task_flags:0x400140 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5367 [inline]
__schedule+0x1ac3/0x5090 kernel/sched/core.c:6748
__schedule_loop kernel/sched/core.c:6825 [inline]
schedule+0x163/0x360 kernel/sched/core.c:6840
io_schedule+0x8d/0x110 kernel/sched/core.c:7722
folio_wait_bit_common+0x83f/0xee0 mm/filemap.c:1317
folio_lock include/linux/pagemap.h:1165 [inline]
bch2_mark_pagecache_reserved+0x38d/0xc80 fs/bcachefs/fs-io-pagecache.c:314
__bchfs_fallocate+0x1813/0x2770 fs/bcachefs/fs-io.c:707
bchfs_fallocate+0x31d/0x750 fs/bcachefs/fs-io.c:763
bch2_fallocate_dispatch+0x3da/0x580 fs/bcachefs/fs-io.c:810
vfs_fallocate+0x627/0x7a0 fs/open.c:338
ksys_fallocate fs/open.c:362 [inline]
__do_sys_fallocate fs/open.c:367 [inline]
__se_sys_fallocate fs/open.c:365 [inline]
__x64_sys_fallocate+0xbc/0x110 fs/open.c:365
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:0x7f62b8f8d169
RSP: 002b:00007f62b9e7a038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f62b91a6080 RCX: 00007f62b8f8d169
RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000008
RBP: 00007f62b900e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 000000000000fffd R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f62b91a6080 R15: 00007fff759d6528
Showing all locks held in the system:
3 locks held by kworker/u8:1/13:
#0: ffff8880b8639958 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:595
#1: ffff8880b8623b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41f/0x7a0 kernel/sched/psi.c:987
#2: ffff888028530768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: class_wiphy_constructor include/net/cfg80211.h:6061 [inline]
#2: ffff888028530768 (&rdev->wiphy.mtx){+.+.}-{4:4}, at: cfg80211_wiphy_work+0xcf/0x490 net/wireless/core.c:421
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
2 locks held by kworker/u8:3/52:
2 locks held by kworker/u8:5/75:
#0: ffff8880b8639958 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:595
#1: ffff8880b8623b08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41f/0x7a0 kernel/sched/psi.c:987
2 locks held by getty/5575:
#0: ffff88814d7010a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x53d/0x16b0 drivers/tty/n_tty.c:2211
1 lock held by syz.1.2/5930:
#0: ffff88805a741218 (mapping.invalidate_lock#3){.+.+}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:922 [inline]
#0: ffff88805a741218 (mapping.invalidate_lock#3){.+.+}-{4:4}, at: page_cache_ra_order+0x45e/0xca0 mm/readahead.c:491
3 locks held by syz.1.2/5974:
#0: ffff888024564420 (sb_writers#12){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3033 [inline]
#0: ffff888024564420 (sb_writers#12){.+.+}-{0:0}, at: vfs_fallocate+0x5a1/0x7a0 fs/open.c:337
#1: ffff88805a741078 (&sb->s_type->i_mutex_key#20){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline]
#1: ffff88805a741078 (&sb->s_type->i_mutex_key#20){+.+.}-{4:4}, at: bch2_fallocate_dispatch+0x1ea/0x580 fs/bcachefs/fs-io.c:801
#2: ffff888056884378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#2: ffff888056884378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#2: ffff888056884378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7ed/0xd40 fs/bcachefs/btree_iter.c:3408
1 lock held by syz.8.332/9197:
2 locks held by sed/9255:
=============================================
NMI backtrace for cpu 0
CPU: 0 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+0x7a9/0x920 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: 75 Comm: kworker/u8:5 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
Workqueue: bat_events batadv_nc_worker
RIP: 0010:rcu_is_watching+0x0/0xb0 kernel/rcu/tree.c:732
Code: c7 e0 fe b3 8e e8 20 bf 84 03 eb cd 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 41 57 41 56 53 65 ff 05 f0 cc 93 11 e8 6b 3a 6a 0a 89
RSP: 0018:ffffc9000156fa40 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffff8880670fcd80 RCX: ffff88801cf9bc00
RDX: ffff88801cf9bc00 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff8bde47aa R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880670fcd80
R13: 1ffff1100ce1fb13 R14: ffff888059d8b3d0 R15: ffffffff8bde4a70
FS: 0000000000000000(0000) GS:ffff88812535a000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558c3350f950 CR3: 000000005c9de000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_read_lock include/linux/rcupdate.h:842 [inline]
batadv_nc_process_nc_paths+0xf3/0x3a0 net/batman-adv/network-coding.c:687
batadv_nc_worker+0x42a/0x610 net/batman-adv/network-coding.c:728
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319
worker_thread+0x870/0xd30 kernel/workqueue.c:3400
kthread+0x7a9/0x920 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