INFO: task syz.2.1312:17300 blocked for more than 143 seconds.
Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.1312 state:D stack:27944 pid:17300 tgid:17266 ppid:12982 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_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+0x6ff/0xa50 kernel/locking/rwsem.c:1526
inode_lock_shared include/linux/fs.h:877 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1833
walk_component fs/namei.c:2138 [inline]
link_path_walk+0x969/0xeb0 fs/namei.c:2503
path_parentat fs/namei.c:2707 [inline]
__filename_parentat+0x2b9/0x780 fs/namei.c:2731
filename_parentat fs/namei.c:2749 [inline]
filename_create+0xfc/0x510 fs/namei.c:4113
do_mkdirat+0xbf/0x3f0 fs/namei.c:4384
__do_sys_mkdir fs/namei.c:4414 [inline]
__se_sys_mkdir fs/namei.c:4412 [inline]
__x64_sys_mkdir+0x6c/0x80 fs/namei.c:4412
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:0x7f068198e969
RSP: 002b:00007f06827c3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f0681bb6080 RCX: 00007f068198e969
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000000
RBP: 00007f0681a10ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f0681bb6080 R15: 00007ffe38eb2128
INFO: task syz.2.1312:17301 blocked for more than 144 seconds.
Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.1312 state:D stack:25704 pid:17301 tgid:17266 ppid:12982 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_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+0x6ff/0xa50 kernel/locking/rwsem.c:1526
inode_lock_shared include/linux/fs.h:877 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1833
walk_component fs/namei.c:2138 [inline]
link_path_walk+0x969/0xeb0 fs/namei.c:2503
path_lookupat+0xa3/0x440 fs/namei.c:2659
do_o_path+0x97/0x230 fs/namei.c:4010
path_openat+0x2ef4/0x35d0 fs/namei.c:4032
do_filp_open+0x284/0x4e0 fs/namei.c:4066
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:0x7f068198e969
RSP: 002b:00007f06827a2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f0681bb6160 RCX: 00007f068198e969
RDX: 0000000000200002 RSI: 0000200000000000 RDI: ffffffffffffff9c
RBP: 00007f0681a10ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f0681bb6160 R15: 00007ffe38eb2128
INFO: task syz.2.1312:17302 blocked for more than 145 seconds.
Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.1312 state:D stack:24616 pid:17302 tgid:17266 ppid:12982 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_nested+0x1e2/0x220 kernel/locking/rwsem.c:1694
inode_lock_nested include/linux/fs.h:902 [inline]
filename_create+0x262/0x510 fs/namei.c:4132
do_mkdirat+0xbf/0x3f0 fs/namei.c:4384
__do_sys_mkdirat fs/namei.c:4409 [inline]
__se_sys_mkdirat fs/namei.c:4407 [inline]
__x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4407
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:0x7f068198d1d7
RSP: 002b:00007f0682780e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f0682780ef0 RCX: 00007f068198d1d7
RDX: 00000000000001ff RSI: 0000200000000a00 RDI: 00000000ffffff9c
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000a00
R13: 00007f0682780eb0 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz.2.1312:17305 blocked for more than 146 seconds.
Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.1312 state:D stack:27944 pid:17305 tgid:17266 ppid:12982 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_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+0x6ff/0xa50 kernel/locking/rwsem.c:1526
inode_lock_shared include/linux/fs.h:877 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1833
walk_component fs/namei.c:2138 [inline]
link_path_walk+0x969/0xeb0 fs/namei.c:2503
path_parentat fs/namei.c:2707 [inline]
__filename_parentat+0x2b9/0x780 fs/namei.c:2731
filename_parentat fs/namei.c:2749 [inline]
do_rmdir+0x12e/0x5c0 fs/namei.c:4481
__do_sys_rmdir fs/namei.c:4528 [inline]
__se_sys_rmdir fs/namei.c:4526 [inline]
__x64_sys_rmdir+0x47/0x50 fs/namei.c:4526
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:0x7f068198e969
RSP: 002b:00007f0682760038 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007f0681bb6320 RCX: 00007f068198e969
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000001c0
RBP: 00007f0681a10ab1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0681bb6320 R15: 00007ffe38eb2128
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 udevd/5200:
#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: ffff8880b8639998 (&rq->__lock){-.-.}-{2:2}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#2: ffff8880b8639998 (&rq->__lock){-.-.}-{2:2}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline]
#2: ffff8880b8639998 (&rq->__lock){-.-.}-{2:2}, at: prepend_path+0xaf/0xd10 fs/d_path.c:164
2 locks held by getty/5581:
#0: ffff8880315460a0 (&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
5 locks held by syz.2.1312/17268:
#0: ffff8880563b4420 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556
#1: ffff888058cd3670 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline]
#1: ffff888058cd3670 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: open_last_lookups fs/namei.c:3797 [inline]
#1: ffff888058cd3670 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: path_openat+0x8af/0x35d0 fs/namei.c:4036
#2: ffff888058cd3a58 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x359/0xf40 fs/bcachefs/fs.c:550
#3: ffff88808f104228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#3: ffff88808f104228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#3: ffff88808f104228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: bch2_trans_srcu_lock+0x9a/0x1a0 fs/bcachefs/btree_iter.c:3199
#4: ffff88808f126590 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x68a/0x16c0 fs/bcachefs/btree_update_interior.c:1179
1 lock held by syz.2.1312/17300:
#0: ffff888058cd3670 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:877 [inline]
#0: ffff888058cd3670 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1833
1 lock held by syz.2.1312/17301:
#0: ffff888058cd3670 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:877 [inline]
#0: ffff888058cd3670 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1833
2 locks held by syz.2.1312/17302:
#0: ffff8880563b4420 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556
#1: ffff888058cd3670 (&sb->s_type->i_mutex_key#24/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline]
#1: ffff888058cd3670 (&sb->s_type->i_mutex_key#24/1){+.+.}-{4:4}, at: filename_create+0x262/0x510 fs/namei.c:4132
1 lock held by syz.2.1312/17305:
#0: ffff888058cd3670 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:877 [inline]
#0: ffff888058cd3670 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1833
2 locks held by bch-copygc/loop/17295:
2 locks held by syz-executor/18142:
#0: ffff8880255cc0e0 (&type->s_umount_key#64){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880255cc0e0 (&type->s_umount_key#64){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880255cc0e0 (&type->s_umount_key#64){++++}-{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
2 locks held by dhcpcd-run-hook/19334:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 5815 Comm: syz-executor Not tainted 6.15.0-rc3-syzkaller-00032-ga79be02bba5c #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:check_wait_context kernel/locking/lockdep.c:-1 [inline]
RIP: 0010:__lock_acquire+0x4c5/0xd80 kernel/locking/lockdep.c:5185
Code: 41 80 c6 03 4c 89 64 24 38 45 3b bd e8 0a 00 00 0f 8d ed 00 00 00 49 63 df 48 8d 04 9b 4c 8d 24 c5 10 0b 00 00 4d 01 ec eb 20 <44> 89 f0 48 ff c3 49 63 8d e8 0a 00 00 49 83 c4 28 41 ff c7 41 89
RSP: 0018:ffffc90003ecf7f0 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff941295a8
RDX: 0000000000000003 RSI: ffff88802a54c6f0 RDI: 0000000000000000
RBP: 00000000ffffffff R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88802a54c710
R13: ffff88802a54bc00 R14: ffff88802a54c705 R15: 0000000000000000
FS: 000055556711c500(0000) GS:ffff888124fcf000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f743c7175e8 CR3: 00000000342ea000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x116/0x2f0 kernel/locking/lockdep.c:5866
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x35/0x50 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:356 [inline]
lock_sock_nested+0x6a/0x100 net/core/sock.c:3705
lock_sock include/net/sock.h:1651 [inline]
tcp_recvmsg+0x203/0x8c0 net/ipv4/tcp.c:2877
inet_recvmsg+0x152/0x2d0 net/ipv4/af_inet.c:883
sock_recvmsg_nosec net/socket.c:1017 [inline]
sock_recvmsg+0x1ae/0x280 net/socket.c:1039
sock_read_iter+0x2c6/0x3e0 net/socket.c:1109
new_sync_read fs/read_write.c:489 [inline]
vfs_read+0x9a0/0xb90 fs/read_write.c:570
ksys_read+0x19d/0x2d0 fs/read_write.c:713
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:0x7fc4c7b8d33d
Code: a8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb b5 e8 a8 48 00 00 0f 1f 84 00 00 00 00 00 80 3d 01 72 1f 00 00 74 17 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 5b c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec
RSP: 002b:00007ffe080c7778 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc4c7b8d33d
RDX: 0000000000000004 RSI: 00007ffe080c778c RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000010f51939 R09: 7fffffffffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe080c7ba0
R13: 0000000000000004 R14: 00007ffe080c778c R15: 00007ffe080c7820