INFO: task syz.5.506:10503 blocked for more than 143 seconds.
Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.506 state:D stack:10240 pid:10503 tgid:10502 ppid:6527 task_flags:0x440140 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5378 [inline]
__schedule+0x18bc/0x4c40 kernel/sched/core.c:6765
__schedule_loop kernel/sched/core.c:6842 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6857
__bch2_two_state_lock+0x229/0x2c0 fs/bcachefs/two_state_shared_lock.c:7
bch2_two_state_lock fs/bcachefs/two_state_shared_lock.h:55 [inline]
bch2_readahead+0x9e1/0x1240 fs/bcachefs/fs-io-buffered.c:272
read_pages+0x179/0x570 mm/readahead.c:161
page_cache_ra_order+0xa36/0xca0 mm/readahead.c:516
filemap_readahead mm/filemap.c:2549 [inline]
filemap_get_pages+0x9e4/0x1fb0 mm/filemap.c:2594
filemap_splice_read+0x68e/0xef0 mm/filemap.c:2970
do_splice_read fs/splice.c:985 [inline]
splice_direct_to_actor+0x4af/0xc80 fs/splice.c:1089
do_splice_direct_actor fs/splice.c:1207 [inline]
do_splice_direct+0x289/0x3e0 fs/splice.c:1233
do_sendfile+0x564/0x8a0 fs/read_write.c:1363
__do_sys_sendfile64 fs/read_write.c:1424 [inline]
__se_sys_sendfile64+0x17c/0x1e0 fs/read_write.c:1410
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f563178d169
RSP: 002b:00007f56325f6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f56319a5fa0 RCX: 00007f563178d169
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000007
RBP: 00007f563180e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 000000080000000b R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f56319a5fa0 R15: 00007ffef618dc68
INFO: task syz.5.506:10555 blocked for more than 144 seconds.
Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.506 state:D stack:22640 pid:10555 tgid:10502 ppid:6527 task_flags:0x400140 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5378 [inline]
__schedule+0x18bc/0x4c40 kernel/sched/core.c:6765
__schedule_loop kernel/sched/core.c:6842 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6857
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6914
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:877 [inline]
vfs_unlink+0xe4/0x650 fs/namei.c:4514
do_unlinkat+0x4ae/0x830 fs/namei.c:4589
__do_sys_unlink fs/namei.c:4637 [inline]
__se_sys_unlink fs/namei.c:4635 [inline]
__x64_sys_unlink+0x47/0x50 fs/namei.c:4635
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f563178d169
RSP: 002b:00007f56325d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f56319a6080 RCX: 00007f563178d169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000400000000280
RBP: 00007f563180e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f56319a6080 R15: 00007ffef618dc68
INFO: task syz.5.506:10556 blocked for more than 145 seconds.
Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.506 state:D stack:15960 pid:10556 tgid:10502 ppid:6527 task_flags:0x400040 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5378 [inline]
__schedule+0x18bc/0x4c40 kernel/sched/core.c:6765
__schedule_loop kernel/sched/core.c:6842 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6857
io_schedule+0x8d/0x110 kernel/sched/core.c:7690
folio_wait_bit_common+0x839/0xee0 mm/filemap.c:1318
folio_lock include/linux/pagemap.h:1163 [inline]
bch2_seek_pagecache_data+0x353/0xb70 fs/bcachefs/fs-io-pagecache.c:711
bch2_clamp_data_hole+0x121/0x180 fs/bcachefs/fs-io-pagecache.c:814
__bchfs_fallocate+0x1159/0x2770 fs/bcachefs/fs-io.c:671
bchfs_fallocate+0x31b/0x730 fs/bcachefs/fs-io.c:763
bch2_fallocate_dispatch+0x3ac/0x540 fs/bcachefs/fs-io.c:810
vfs_fallocate+0x623/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/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f563178d169
RSP: 002b:00007f56325b4038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f56319a6160 RCX: 00007f563178d169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005
RBP: 00007f563180e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000001001f0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f56319a6160 R15: 00007ffef618dc68
INFO: task syz.5.506:10557 blocked for more than 145 seconds.
Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.506 state:D stack:27552 pid:10557 tgid:10502 ppid:6527 task_flags:0x400040 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5378 [inline]
__schedule+0x18bc/0x4c40 kernel/sched/core.c:6765
__schedule_loop kernel/sched/core.c:6842 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6857
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6914
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:877 [inline]
bch2_fallocate_dispatch+0x1e2/0x540 fs/bcachefs/fs-io.c:801
vfs_fallocate+0x623/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/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f563178d169
RSP: 002b:00007f5632593038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f56319a6240 RCX: 00007f563178d169
RDX: 0000000000000002 RSI: 0000000000000003 RDI: 0000000000000005
RBP: 00007f563180e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000010000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f56319a6240 R15: 00007ffef618dc68
INFO: task syz.5.506:10558 blocked for more than 146 seconds.
Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.506 state:D stack:27552 pid:10558 tgid:10502 ppid:6527 task_flags:0x400040 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5378 [inline]
__schedule+0x18bc/0x4c40 kernel/sched/core.c:6765
__schedule_loop kernel/sched/core.c:6842 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6857
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6914
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d7/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:877 [inline]
open_last_lookups fs/namei.c:3747 [inline]
path_openat+0x89a/0x3590 fs/namei.c:3986
do_filp_open+0x27f/0x4e0 fs/namei.c:4016
do_sys_openat2+0x13e/0x1d0 fs/open.c:1428
do_sys_open fs/open.c:1443 [inline]
__do_sys_creat fs/open.c:1521 [inline]
__se_sys_creat fs/open.c:1515 [inline]
__x64_sys_creat+0x123/0x170 fs/open.c:1515
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f563178d169
RSP: 002b:00007f5632572038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007f56319a6320 RCX: 00007f563178d169
RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000400000000240
RBP: 00007f563180e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f56319a6320 R15: 00007ffef618dc68
Showing all locks held in the system:
1 lock held by khungtaskd/31:
#0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6746
4 locks held by kworker/u8:4/81:
4 locks held by kworker/0:2/876:
2 locks held by getty/5585:
#0: ffff888035be20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002fd62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x616/0x1770 drivers/tty/n_tty.c:2211
1 lock held by udevd/5823:
1 lock held by syz-executor/5835:
2 locks held by syz-executor/10366:
1 lock held by syz.5.506/10503:
#0: ffff888054c5f4d0 (mapping.invalidate_lock#15){.+.+}-{4:4}, at: filemap_invalidate_lock_shared include/linux/fs.h:932 [inline]
#0: ffff888054c5f4d0 (mapping.invalidate_lock#15){.+.+}-{4:4}, at: page_cache_ra_order+0x45d/0xca0 mm/readahead.c:492
3 locks held by syz.5.506/10555:
#0: ffff88807d4e6420 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:547
#1: ffff888054c5eb98 (&sb->s_type->i_mutex_key#28/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:912 [inline]
#1: ffff888054c5eb98 (&sb->s_type->i_mutex_key#28/1){+.+.}-{4:4}, at: do_unlinkat+0x26a/0x830 fs/namei.c:4576
#2: ffff888054c5f330 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline]
#2: ffff888054c5f330 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: vfs_unlink+0xe4/0x650 fs/namei.c:4514
3 locks held by syz.5.506/10556:
#0: ffff88807d4e6420 (sb_writers#21){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3035 [inline]
#0: ffff88807d4e6420 (sb_writers#21){.+.+}-{0:0}, at: vfs_fallocate+0x59d/0x7a0 fs/open.c:337
#1: ffff888054c5f330 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline]
#1: ffff888054c5f330 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: bch2_fallocate_dispatch+0x1e2/0x540 fs/bcachefs/fs-io.c:801
#2: ffff888064704378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:164 [inline]
#2: ffff888064704378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:256 [inline]
#2: ffff888064704378 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0x9a/0x1a0 fs/bcachefs/btree_iter.c:3225
2 locks held by syz.5.506/10557:
#0: ffff88807d4e6420 (sb_writers#21){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3035 [inline]
#0: ffff88807d4e6420 (sb_writers#21){.+.+}-{0:0}, at: vfs_fallocate+0x59d/0x7a0 fs/open.c:337
#1: ffff888054c5f330 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline]
#1: ffff888054c5f330 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: bch2_fallocate_dispatch+0x1e2/0x540 fs/bcachefs/fs-io.c:801
2 locks held by syz.5.506/10558:
#0: ffff88807d4e6420 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:547
#1: ffff888054c5eb98 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: inode_lock include/linux/fs.h:877 [inline]
#1: ffff888054c5eb98 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: open_last_lookups fs/namei.c:3747 [inline]
#1: ffff888054c5eb98 (&sb->s_type->i_mutex_key#29){++++}-{4:4}, at: path_openat+0x89a/0x3590 fs/namei.c:3986
4 locks held by dhcpcd-run-hook/13942:
#0: ffff8880b873e7d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598
#1: ffff8880b8728948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987
#2: ffff888060c2b498 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline]
#2: ffff888060c2b498 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: handle_pte_fault mm/memory.c:5915 [inline]
#2: ffff888060c2b498 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: __handle_mm_fault+0x1541/0x70f0 mm/memory.c:6050
#3: ffffffff8eb393e0 (rcu_read_lock){....}-{1:3}, at: local_lock_acquire+0xb/0x80 include/linux/local_lock_internal.h:29
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0
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+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [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:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 13954 Comm: rm Not tainted 6.14.0-rc6-syzkaller-00202-ga29967be967e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:anon_vma_interval_tree_verify+0x2f/0x150 mm/interval_tree.c:108
Code: 57 41 56 41 55 41 54 53 49 89 ff 49 bc 00 00 00 00 00 fc ff df e8 01 1e b8 ff 49 8d 7f 40 48 89 f8 48 c1 e8 03 42 80 3c 20 00 <74> 05 e8 9a dc 1c 00 4d 8b 77 40 4d 89 fd 49 c1 ed 03 43 80 7c 25
RSP: 0018:ffffc9000d6ef530 EFLAGS: 00000246
RAX: 1ffff1100b462e86 RBX: ffff88805a317400 RCX: ffff888059dfbc00
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88805a317430
RBP: ffffc9000d6ef6b0 R08: ffff88802af11237 R09: 1ffff110055e2246
R10: dffffc0000000000 R11: ffffed10055e2247 R12: dffffc0000000000
R13: ffff88803a51dde8 R14: dffffc0000000000 R15: ffff88805a3173f0
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f08c130dba8 CR3: 0000000033cd0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
validate_mm+0x2f4/0x590 mm/vma.c:614
mmap_region+0x2193/0x2fa0 mm/vma.c:2545
do_mmap+0xecc/0x13a0 mm/mmap.c:561
vm_mmap_pgoff+0x214/0x430 mm/util.c:575
ksys_mmap_pgoff+0x4eb/0x720 mm/mmap.c:607
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f08c15bab74
Code: 63 08 44 89 e8 5b 41 5c 41 5d c3 41 89 ca 41 f7 c1 ff 0f 00 00 74 0c c7 05 f5 46 01 00 16 00 00 00 eb 17 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f
RSP: 002b:00007ffc6b943ca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007ffc6b943d20 RCX: 00007f08c15bab74
RDX: 0000000000000001 RSI: 0000000000025000 RDI: 00007f08c12c5000
RBP: 00007ffc6b944040 R08: 0000000000000003 R09: 000000000002e000
R10: 0000000000000812 R11: 0000000000000246 R12: 00007f08c1598570
R13: 00007ffc6b9440c8 R14: 000000000002d9c6 R15: 0000000000000000