INFO: task syz.1.2127:16998 blocked for more than 143 seconds.
Not tainted 6.10.0-rc5-syzkaller-00018-g55027e689933 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.2127 state:D stack:22968 pid:16998 tgid:16997 ppid:15715 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0xf15/0x5d00 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6837
io_schedule+0xbf/0x130 kernel/sched/core.c:9043
folio_wait_bit_common+0x3d8/0x9b0 mm/filemap.c:1307
folio_lock include/linux/pagemap.h:1060 [inline]
invalidate_inode_pages2_range+0x6f1/0x1210 mm/truncate.c:648
bch2_write_invalidate_inode_pages_range+0xb1/0x130 fs/bcachefs/fs-io-pagecache.c:68
bch2_direct_write+0x2f96/0x4310 fs/bcachefs/fs-io-direct.c:647
bch2_write_iter+0x10c/0x31a0 fs/bcachefs/fs-io-buffered.c:1135
iter_file_splice_write+0x906/0x10b0 fs/splice.c:743
do_splice_from fs/splice.c:941 [inline]
direct_splice_actor+0x19b/0x6d0 fs/splice.c:1164
splice_direct_to_actor+0x346/0xa40 fs/splice.c:1108
do_splice_direct_actor fs/splice.c:1207 [inline]
do_splice_direct+0x17e/0x250 fs/splice.c:1233
do_sendfile+0xb1e/0xe50 fs/read_write.c:1295
__do_sys_sendfile64 fs/read_write.c:1362 [inline]
__se_sys_sendfile64 fs/read_write.c:1348 [inline]
__x64_sys_sendfile64+0x1da/0x220 fs/read_write.c:1348
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa762575ae9
RSP: 002b:00007fa761fff048 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fa762703fa0 RCX: 00007fa762575ae9
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007fa7625f6746 R08: 0000000000000000 R09: 0000000000000000
R10: 0001000000201005 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa762703fa0 R15: 00007ffd57eca488
INFO: task syz.1.2127:17012 blocked for more than 144 seconds.
Not tainted 6.10.0-rc5-syzkaller-00018-g55027e689933 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.2127 state:D stack:28704 pid:17012 tgid:16997 ppid:15715 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0xf15/0x5d00 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6837
__bch2_two_state_lock+0x1b6/0x230 fs/bcachefs/two_state_shared_lock.c:7
bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:56 [inline]
bch2_readahead+0x59e/0x1310 fs/bcachefs/fs-io-buffered.c:269
read_pages+0x1a8/0xd80 mm/readahead.c:160
page_cache_ra_unbounded+0x2d8/0x5a0 mm/readahead.c:273
do_page_cache_ra mm/readahead.c:303 [inline]
force_page_cache_ra+0x277/0x380 mm/readahead.c:334
force_page_cache_readahead mm/internal.h:321 [inline]
generic_fadvise+0x508/0x750 mm/fadvise.c:106
vfs_fadvise+0xb3/0xe0 mm/fadvise.c:185
ksys_readahead+0x1a6/0x200 mm/readahead.c:743
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa762575ae9
RSP: 002b:00007fa761fde048 EFLAGS: 00000246 ORIG_RAX: 00000000000000bb
RAX: ffffffffffffffda RBX: 00007fa762704070 RCX: 00007fa762575ae9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007fa7625f6746 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fa762704070 R15: 00007ffd57eca488
Showing all locks held in the system:
2 locks held by kworker/0:1/9:
#0: ffff8880b923ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:567 [inline]
#0: ffff8880b923ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:552
#1: ffff8880b9228a08 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:988
1 lock held by khungtaskd/30:
#0: ffffffff8dbb1920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8dbb1920 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8dbb1920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
2 locks held by getty/4835:
#0: ffff88802b0710a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211
1 lock held by udevd/8111:
1 lock held by syz.1.2127/16998:
#0: ffff88807e798420 (sb_writers#19){.+.+}-{0:0}, at: splice_direct_to_actor+0x346/0xa40 fs/splice.c:1108
1 lock held by syz.1.2127/17012:
#0: ffff888065676338 (mapping.invalidate_lock#6){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:846 [inline]
#0: ffff888065676338 (mapping.invalidate_lock#6){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x12b/0x5a0 mm/readahead.c:225
1 lock held by syz.1.2259/17608:
#0: ffff888028bb40e0 (&type->s_umount_key#103/1){+.+.}-{3:3}, at: alloc_super+0x23d/0xbd0 fs/super.c:344
1 lock held by syz.2.2535/18950:
#0: ffffffff8e7da648 (reading_mutex){+.+.}-{3:3}, at: rng_dev_read+0x128/0x720 drivers/char/hw_random/core.c:219
3 locks held by syz.4.2539/18972:
#0: ffff88801cfb6070 (&fc->uapi_mutex){+.+.}-{3:3}, at: __do_sys_fsconfig+0x7d4/0xb90 fs/fsopen.c:474
#1: ffffffff8dbbd0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291
#2: ffff8880b923ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:567 [inline]
#2: ffff8880b923ebd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:552
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc5-syzkaller-00018-g55027e689933 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf86/0x1240 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 17513 Comm: syz-executor Not tainted 6.10.0-rc5-syzkaller-00018-g55027e689933 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:do_wait_thread kernel/exit.c:1474 [inline]
RIP: 0010:__do_wait+0x1c4/0x890 kernel/exit.c:1593
Code: e9 94 00 00 00 e8 bc 51 3c 00 48 8d bb f8 05 00 00 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 a7 05 00 00 48 8b 83 f8 05 00 00 <48> 8d 98 08 fa ff ff 49 39 c7 74 55 e8 8b 51 3c 00 31 f6 48 89 da
RSP: 0018:ffffc900031ffc30 EFLAGS: 00000246
RAX: ffff888029e423e8 RBX: ffff888028eeda00 RCX: ffffffff8151926e
RDX: ffff888029e41e00 RSI: ffffffff81519224 RDI: ffff888028eedff8
RBP: ffffc900031ffce8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff888029e41e00 R14: 0000000000000000 R15: ffff888029e423e8
FS: 000055557d8cb500(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f31f8ad1178 CR3: 000000006d200000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
do_wait+0x219/0x570 kernel/exit.c:1627
kernel_wait4+0x16c/0x280 kernel/exit.c:1786
__do_sys_wait4+0x15f/0x170 kernel/exit.c:1814
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f24d956be17
Code: 89 7c 24 10 48 89 4c 24 18 e8 85 14 03 00 4c 8b 54 24 18 8b 54 24 14 41 89 c0 48 8b 74 24 08 8b 7c 24 10 b8 3d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 89 44 24 10 e8 d5 14 03 00 8b 44
RSP: 002b:00007ffcbbea67c0 EFLAGS: 00000293 ORIG_RAX: 000000000000003d
RAX: ffffffffffffffda RBX: 00000000000000d8 RCX: 00007f24d956be17
RDX: 0000000040000001 RSI: 00007ffcbbea683c RDI: 00000000ffffffff
RBP: 00007ffcbbea683c R08: 0000000000000000 R09: 00007f24d96da080
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 000000000012cafb R14: 000000000012c1dd R15: 00007ffcbbea68a0