INFO: task syz.8.363:9494 blocked for more than 143 seconds.
Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.363 state:D stack:18592 pid:9494 tgid:9446 ppid:7892 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x17fb/0x4be0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905
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_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694
vfs_rename+0x6a2/0xf00 fs/namei.c:5038
do_renameat2+0xd94/0x13f0 fs/namei.c:5224
__do_sys_renameat2 fs/namei.c:5258 [inline]
__se_sys_renameat2 fs/namei.c:5255 [inline]
__x64_sys_renameat2+0xce/0xe0 fs/namei.c:5255
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:0x7f80fa985d29
RSP: 002b:00007f80fb7cd038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f80fab76080 RCX: 00007f80fa985d29
RDX: ffffffffffffff9c RSI: 00000000200000c0 RDI: ffffffffffffff9c
RBP: 00007f80faa01b08 R08: 0000000000000002 R09: 0000000000000000
R10: 0000000020000040 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f80fab76080 R15: 00007ffedcadb568
INFO: task syz.8.363:9506 blocked for more than 144 seconds.
Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.363 state:D stack:27360 pid:9506 tgid:9446 ppid:7892 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x17fb/0x4be0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905
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_nested+0x1e0/0x220 kernel/locking/rwsem.c:1694
inode_lock_nested include/linux/fs.h:853 [inline]
filename_create+0x260/0x540 fs/namei.c:4080
do_mkdirat+0xbd/0x3a0 fs/namei.c:4326
__do_sys_mkdirat fs/namei.c:4349 [inline]
__se_sys_mkdirat fs/namei.c:4347 [inline]
__x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4347
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:0x7f80fa985d29
RSP: 002b:00007f80fb7ac038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f80fab76160 RCX: 00007f80fa985d29
RDX: 0000000000000089 RSI: 0000000020000280 RDI: ffffffffffffff9c
RBP: 00007f80faa01b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f80fab76160 R15: 00007ffedcadb568
INFO: task syz.8.363:9510 blocked for more than 144 seconds.
Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.363 state:D stack:27360 pid:9510 tgid:9446 ppid:7892 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x17fb/0x4be0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905
rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline]
__down_read_common kernel/locking/rwsem.c:1248 [inline]
__down_read kernel/locking/rwsem.c:1261 [inline]
down_read+0x705/0xa40 kernel/locking/rwsem.c:1526
inode_lock_shared include/linux/fs.h:828 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1807
walk_component+0x2e1/0x410 fs/namei.c:2112
lookup_last fs/namei.c:2610 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2634
filename_lookup+0x2a3/0x670 fs/namei.c:2663
do_readlinkat+0xf0/0x3a0 fs/stat.c:562
__do_sys_readlink fs/stat.c:599 [inline]
__se_sys_readlink fs/stat.c:596 [inline]
__x64_sys_readlink+0x7f/0x90 fs/stat.c:596
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:0x7f80fa985d29
RSP: 002b:00007f80fb78b038 EFLAGS: 00000246 ORIG_RAX: 0000000000000059
RAX: ffffffffffffffda RBX: 00007f80fab76240 RCX: 00007f80fa985d29
RDX: 0000000000000015 RSI: 00000000200006c0 RDI: 0000000020000680
RBP: 00007f80faa01b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f80fab76240 R15: 00007ffedcadb568
INFO: task syz.8.363:9511 blocked for more than 145 seconds.
Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.363 state:D stack:27360 pid:9511 tgid:9446 ppid:7892 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0x17fb/0x4be0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6848
__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_read_iter+0x22d/0x1460 fs/bcachefs/fs-io-direct.c:207
new_sync_read fs/read_write.c:484 [inline]
vfs_read+0x991/0xb70 fs/read_write.c:565
ksys_read+0x18f/0x2b0 fs/read_write.c:708
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:0x7f80fa985d29
RSP: 002b:00007f80fb76a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f80fab76320 RCX: 00007f80fa985d29
RDX: 0000000000002020 RSI: 0000000020002f40 RDI: 0000000000000004
RBP: 00007f80faa01b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f80fab76320 R15: 00007ffedcadb568
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744
4 locks held by kworker/u8:4/66:
#0: ffff88802029a148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88802029a148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc9000214fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000214fd00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffff8880310060e0 (&type->s_umount_key#30){++++}-{4:4}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562
#3: ffff888031008b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1776 [inline]
#3: ffff888031008b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x1bf/0x3c0 fs/ext4/inode.c:2823
2 locks held by getty/5576:
#0: ffff88814d9910a0 (&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+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
5 locks held by syz.8.363/9447:
#0: ffff88805682c420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff88805a1a7948 (&sb->s_type->i_mutex_key#25){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline]
#1: ffff88805a1a7948 (&sb->s_type->i_mutex_key#25){++++}-{4:4}, at: do_truncate+0x20c/0x310 fs/open.c:63
#2: ffff88805c700a38 (&c->snapshot_create_lock){.+.+}-{4:4}, at: bch2_truncate+0x166/0x2d0 fs/bcachefs/io_misc.c:292
#3: ffff88805c704398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline]
#3: ffff88805c704398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline]
#3: ffff88805c704398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7e1/0xd30 fs/bcachefs/btree_iter.c:3228
#4: ffff88805c7266d0 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x682/0x14e0 fs/bcachefs/btree_update_interior.c:1197
6 locks held by syz.8.363/9494:
#0: ffff88805682c420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff88805682c730 (&type->s_vfs_rename_key#6){+.+.}-{4:4}, at: lock_rename fs/namei.c:3219 [inline]
#1: ffff88805682c730 (&type->s_vfs_rename_key#6){+.+.}-{4:4}, at: do_renameat2+0x5cf/0x13f0 fs/namei.c:5159
#2: ffff88805a1af948 (&sb->s_type->i_mutex_key#25/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline]
#2: ffff88805a1af948 (&sb->s_type->i_mutex_key#25/1){+.+.}-{4:4}, at: lock_two_directories+0x145/0x220 fs/namei.c:3185
#3: ffff88805a1a71c8 (&sb->s_type->i_mutex_key#25/5){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline]
#3: ffff88805a1a71c8 (&sb->s_type->i_mutex_key#25/5){+.+.}-{4:4}, at: lock_two_directories+0x16f/0x220 fs/namei.c:3186
#4: ffff88805a1a5b48 (&sb->s_type->i_mutex_key#25){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline]
#4: ffff88805a1a5b48 (&sb->s_type->i_mutex_key#25){++++}-{4:4}, at: lock_two_nondirectories+0xe1/0x170 fs/inode.c:1281
#5: ffff88805a1a7948 (&sb->s_type->i_mutex_key#25/4){+.+.}-{4:4}, at: vfs_rename+0x6a2/0xf00 fs/namei.c:5038
2 locks held by syz.8.363/9506:
#0: ffff88805682c420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff88805a1af948 (&sb->s_type->i_mutex_key#25/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline]
#1: ffff88805a1af948 (&sb->s_type->i_mutex_key#25/1){+.+.}-{4:4}, at: filename_create+0x260/0x540 fs/namei.c:4080
1 lock held by syz.8.363/9510:
#0: ffff88805a1a71c8 (&sb->s_type->i_mutex_key#25){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:828 [inline]
#0: ffff88805a1a71c8 (&sb->s_type->i_mutex_key#25){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807
1 lock held by syz.8.363/9511:
#0: ffff888029f409b8 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x254/0x320 fs/file.c:1191
1 lock held by syz-executor/11314:
#0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline]
#0: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976
3 locks held by dhcpcd-run-hook/12912:
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
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:234 [inline]
watchdog+0xff6/0x1040 kernel/hung_task.c:397
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
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: 12909 Comm: dhcpcd-run-hook Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:arch_atomic_add_return arch/x86/include/asm/atomic.h:85 [inline]
RIP: 0010:raw_atomic_add_return include/linux/atomic/atomic-arch-fallback.h:564 [inline]
RIP: 0010:raw_atomic_inc_return include/linux/atomic/atomic-arch-fallback.h:1020 [inline]
RIP: 0010:atomic_inc_return include/linux/atomic/atomic-instrumented.h:454 [inline]
RIP: 0010:page_table_check_set+0x261/0x540 mm/page_table_check.c:127
Code: 8b 6d 00 31 ff 89 ee e8 2d 8e 90 ff 85 ed 0f 85 43 01 00 00 48 89 df be 04 00 00 00 e8 68 69 f4 ff bd 01 00 00 00 f0 0f c1 2b c5 bf 01 00 00 00 89 ee e8 01 8e 90 ff 83 fd 02 7c 0b 80 7c 24
RSP: 0018:ffffc9000d2b71e0 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffff888020c26018 RCX: ffffffff820ee9f8
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff888020c26018
RBP: 0000000000000001 R08: ffff888020c2601b R09: 1ffff11004184c03
R10: dffffc0000000000 R11: ffffed1004184c04 R12: 1ffffffff347d1d4
R13: 0000000000000000 R14: ffff888020c25fd0 R15: 0000000000000001
FS: 00007fa514914380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c3cf1c1b40 CR3: 000000004e5be000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__page_table_check_ptes_set+0x30f/0x410 mm/page_table_check.c:225
page_table_check_ptes_set include/linux/page_table_check.h:74 [inline]
set_ptes include/linux/pgtable.h:288 [inline]
__copy_present_ptes mm/memory.c:967 [inline]
copy_present_ptes mm/memory.c:1050 [inline]
copy_pte_range mm/memory.c:1173 [inline]
copy_pmd_range+0x450f/0x77a0 mm/memory.c:1261
copy_pud_range mm/memory.c:1298 [inline]
copy_p4d_range mm/memory.c:1322 [inline]
copy_page_range+0x99f/0xe90 mm/memory.c:1420
dup_mmap kernel/fork.c:748 [inline]
dup_mm kernel/fork.c:1691 [inline]
copy_mm+0x1126/0x1fd0 kernel/fork.c:1743
copy_process+0x1845/0x3d50 kernel/fork.c:2394
kernel_clone+0x223/0x870 kernel/fork.c:2806
__do_sys_clone kernel/fork.c:2949 [inline]
__se_sys_clone kernel/fork.c:2933 [inline]
__x64_sys_clone+0x258/0x2a0 kernel/fork.c:2933
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:0x7fa514a4ea12
Code: 41 5d 41 5e 41 5f c3 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 10 48 8b 15 e7 43 0f 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffd37d34d38 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 000055c3cf1bc901 RCX: 00007fa514a4ea12
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 000055c3cf1bdb70 R08: 0000000000000000 R09: 3c00000000001001
R10: 00007fa514914650 R11: 0000000000000246 R12: 000055c3cf1c0338
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000