INFO: task syz.8.772:14211 blocked for more than 143 seconds.
Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.772 state:D stack:26440 pid:14211 tgid:14152 ppid:12883 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:0x7fab24f8e169
RSP: 002b:00007fab25de2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007fab251b6080 RCX: 00007fab24f8e169
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000000
RBP: 00007fab25010a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fab251b6080 R15: 00007ffd733cbc18
INFO: task syz.8.772:14214 blocked for more than 144 seconds.
Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.772 state:D stack:24616 pid:14214 tgid:14152 ppid:12883 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_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]
open_last_lookups fs/namei.c:3799 [inline]
path_openat+0x8a0/0x35d0 fs/namei.c:4036
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:0x7fab24f8e169
RSP: 002b:00007fab25da0038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fab251b6240 RCX: 00007fab24f8e169
RDX: 0000000000101000 RSI: 0000200000000100 RDI: ffffffffffffff9c
RBP: 00007fab25010a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fab251b6240 R15: 00007ffd733cbc18
INFO: task syz.8.772:14216 blocked for more than 145 seconds.
Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.8.772 state:D stack:27944 pid:14216 tgid:14152 ppid:12883 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+0x1da/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:867 [inline]
open_last_lookups fs/namei.c:3797 [inline]
path_openat+0x8af/0x35d0 fs/namei.c:4036
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:0x7fab24f8e169
RSP: 002b:00007fab25d7f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fab251b6320 RCX: 00007fab24f8e169
RDX: 0000000000166940 RSI: 0000200000000040 RDI: ffffffffffffff9c
RBP: 00007fab25010a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000102 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fab251b6320 R15: 00007ffd733cbc18
Showing all locks held in the system:
1 lock held by ksoftirqd/0/15:
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 kworker/0:2/975:
#0: ffff8880b8639998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605
#1: ffff8880b8623b08 (&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: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:605
2 locks held by getty/5587:
#0: ffff888031e870a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000332e2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222
5 locks held by syz.8.772/14153:
#0: ffff8880267e0420 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556
#1: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline]
#1: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: open_last_lookups fs/namei.c:3797 [inline]
#1: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: path_openat+0x8af/0x35d0 fs/namei.c:4036
#2: ffff88805948d8b8 (&inode->ei_update_lock){+.+.}-{4:4}, at: __bch2_create+0x359/0xf40 fs/bcachefs/fs.c:550
#3: ffff888039604228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:161 [inline]
#3: ffff888039604228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:253 [inline]
#3: ffff888039604228 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7ed/0xd40 fs/bcachefs/btree_iter.c:3382
#4: ffff888039626590 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x68a/0x16c0 fs/bcachefs/btree_update_interior.c:1179
1 lock held by syz.8.772/14211:
#0: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:877 [inline]
#0: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1833
1 lock held by syz.8.772/14214:
#0: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:877 [inline]
#0: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: open_last_lookups fs/namei.c:3799 [inline]
#0: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: path_openat+0x8a0/0x35d0 fs/namei.c:4036
2 locks held by syz.8.772/14216:
#0: ffff8880267e0420 (sb_writers#20){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556
#1: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline]
#1: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: open_last_lookups fs/namei.c:3797 [inline]
#1: ffff88805948d4d0 (&sb->s_type->i_mutex_key#22){++++}-{4:4}, at: path_openat+0x8af/0x35d0 fs/namei.c:4036
2 locks held by bch-copygc/loop/14206:
3 locks held by dhcpcd-run-hook/16914:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #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: 5818 Comm: syz-executor Not tainted 6.15.0-rc3-syzkaller-00019-gbc3372351d0c #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:26 [inline]
RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:109 [inline]
RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:151 [inline]
RIP: 0010:lock_unpin_lock+0x13f/0x1e0 kernel/locking/lockdep.c:5997
Code: 9f 00 00 00 48 c7 c7 b2 80 4c 8e e8 bb 5e 89 0a b8 ff ff ff ff 65 0f c1 05 ee ca c6 11 83 f8 01 75 3d 48 c7 04 24 00 00 00 00 <9c> 8f 04 24 f7 04 24 00 02 00 00 75 45 41 f7 c5 00 02 00 00 74 01
RSP: 0018:ffffc90003faf958 EFLAGS: 00000046
RAX: 0000000000000001 RBX: ffffffff93651020 RCX: 1ffff110170c74f6
RDX: 0000000040000000 RSI: ffffffff8e4c80b2 RDI: ffffffff8ca0e2c0
RBP: ffff8880121e64f0 R08: ffffffff816004c4 R09: 1ffff1100f2e6ebd
R10: dffffc0000000000 R11: ffffed100f2e6ebe R12: ffff8880121e5a00
R13: 0000000000000046 R14: 000000000000eb5a R15: ffff8880b8639998
FS: 000055557b60c500(0000) GS:ffff888124fcf000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc3482cdb10 CR3: 00000000124ae000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rq_unpin_lock kernel/sched/sched.h:1776 [inline]
prepare_lock_switch kernel/sched/core.c:5113 [inline]
context_switch kernel/sched/core.c:5379 [inline]
__schedule+0x1a95/0x51f0 kernel/sched/core.c:6767
__schedule_loop kernel/sched/core.c:6845 [inline]
schedule+0x163/0x360 kernel/sched/core.c:6860
do_nanosleep+0x1a3/0x660 kernel/time/hrtimer.c:2100
hrtimer_nanosleep+0x1d2/0x3f0 kernel/time/hrtimer.c:2147
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1407 [inline]
__se_sys_clock_nanosleep+0x360/0x3c0 kernel/time/posix-timers.c:1384
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:0x7f8b30bc09e3
Code: Unable to access opcode bytes at 0x7f8b30bc09b9.
RSP: 002b:00007fff88036ce8 EFLAGS: 00000202 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8b30bc09e3
RDX: 00007fff88036d00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 000000001d38781f R09: 7fffffffffffffff
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fff88037150
R13: 0000000000000004 R14: 00007fff88036d3c R15: 00007fff88036dd0