INFO: task syz.6.78:6720 blocked for more than 143 seconds.
Not tainted 6.13.0-rc5-syzkaller-00012-g0bc21e701a6f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.78 state:D stack:25264 pid:6720 tgid:6631 ppid:6177 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+0x1d7/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:818 [inline]
vfs_link+0x3b2/0x6e0 fs/namei.c:4784
do_linkat+0x555/0x6f0 fs/namei.c:4863
__do_sys_link fs/namei.c:4897 [inline]
__se_sys_link fs/namei.c:4895 [inline]
__x64_sys_link+0x82/0x90 fs/namei.c:4895
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:0x7f7d3a785d29
RSP: 002b:00007f7d3b565038 EFLAGS: 00000246 ORIG_RAX: 0000000000000056
RAX: ffffffffffffffda RBX: 00007f7d3a976080 RCX: 00007f7d3a785d29
RDX: 0000000000000000 RSI: 0000000020000240 RDI: 00000000200001c0
RBP: 00007f7d3a801b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f7d3a976080 R15: 00007ffed1d72e18
INFO: task syz.6.78:6726 blocked for more than 143 seconds.
Not tainted 6.13.0-rc5-syzkaller-00012-g0bc21e701a6f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.78 state:D stack:25952 pid:6726 tgid:6631 ppid:6177 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_mkdir fs/namei.c:4354 [inline]
__se_sys_mkdir fs/namei.c:4352 [inline]
__x64_sys_mkdir+0x6c/0x80 fs/namei.c:4352
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:0x7f7d3a785d29
RSP: 002b:00007f7d3b544038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f7d3a976160 RCX: 00007f7d3a785d29
RDX: 0000000000000000 RSI: 000000000000008d RDI: 0000000020000280
RBP: 00007f7d3a801b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7d3a976160 R15: 00007ffed1d72e18
INFO: task syz.6.78:6735 blocked for more than 144 seconds.
Not tainted 6.13.0-rc5-syzkaller-00012-g0bc21e701a6f #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.78 state:D stack:23840 pid:6735 tgid:6631 ppid:6177 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+0x1d7/0x220 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:818 [inline]
open_last_lookups fs/namei.c:3745 [inline]
path_openat+0x89a/0x3590 fs/namei.c:3984
do_filp_open+0x27f/0x4e0 fs/namei.c:4014
do_sys_openat2+0x13e/0x1d0 fs/open.c:1402
do_sys_open fs/open.c:1417 [inline]
__do_sys_open fs/open.c:1425 [inline]
__se_sys_open fs/open.c:1421 [inline]
__x64_sys_open+0x225/0x270 fs/open.c:1421
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:0x7f7d3a785d29
RSP: 002b:00007f7d3b502038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f7d3a976320 RCX: 00007f7d3a785d29
RDX: 0000000000000000 RSI: 00000000000880ff RDI: 0000000020000100
RBP: 00007f7d3a801b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f7d3a976320 R15: 00007ffed1d72e18
Showing all locks held in the system:
1 lock held by pool_workqueue_/3:
#0: ffffffff8e7e3168 (wq_pool_mutex){+.+.}-{4:4}, at: pwq_release_workfn+0x422/0x800 kernel/workqueue.c:5078
3 locks held by kworker/u8:1/12:
#0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc90000117d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90000117d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:281
2 locks held by kworker/1:0/25:
1 lock held by khungtaskd/31:
#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:3/52:
2 locks held by dhcpcd/5488:
#0: ffff88805de566c8 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}
, at: __netlink_dump_start+0x119/0x790 net/netlink/af_netlink.c:2396
#1: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#1: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x99/0x200 net/core/rtnetlink.c:6790
2 locks held by getty/5579:
#0: ffff88814cf150a0 (&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
3 locks held by kworker/0:4/5876:
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310
#1: ffffc900045ffd00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc900045ffd00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310
#2: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104
2 locks held by kworker/u8:9/6349:
#0: ffff8880b863e758 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598
#1: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987
5 locks held by kworker/u8:10/6398:
5 locks held by syz.6.78/6632:
#0: ffff88805efdc420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff88805e3217c8 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline]
#1: ffff88805e3217c8 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: do_truncate+0x20c/0x310 fs/open.c:63
#2: ffff88805af00a38 (&c->snapshot_create_lock){.+.+}-{4:4}, at: bch2_truncate+0x166/0x2d0 fs/bcachefs/io_misc.c:292
#3: ffff88805af04398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline]
#3: ffff88805af04398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline]
#3: ffff88805af04398 (&c->btree_trans_barrier){.+.+}-{0:0}, at: __bch2_trans_get+0x7e1/0xd30 fs/bcachefs/btree_iter.c:3228
#4: ffff88805af266d0 (&c->gc_lock){++++}-{4:4}, at: bch2_btree_update_start+0x682/0x14e0 fs/bcachefs/btree_update_interior.c:1197
3 locks held by syz.6.78/6720:
#0: ffff88805efdc420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff88805a91ae48 (&sb->s_type->i_mutex_key#30/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline]
#1: ffff88805a91ae48 (&sb->s_type->i_mutex_key#30/1){+.+.}-{4:4}, at: filename_create+0x260/0x540 fs/namei.c:4080
#2: ffff88805e3217c8 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline]
#2: ffff88805e3217c8 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: vfs_link+0x3b2/0x6e0 fs/namei.c:4784
2 locks held by syz.6.78/6726:
#0: ffff88805efdc420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff88805a91ae48 (&sb->s_type->i_mutex_key#30/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:853 [inline]
#1: ffff88805a91ae48 (&sb->s_type->i_mutex_key#30/1){+.+.}-{4:4}, at: filename_create+0x260/0x540 fs/namei.c:4080
2 locks held by syz.6.78/6735:
#0: ffff88805efdc420 (sb_writers#26){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff88805a91ae48 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: inode_lock include/linux/fs.h:818 [inline]
#1: ffff88805a91ae48 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: open_last_lookups fs/namei.c:3745 [inline]
#1: ffff88805a91ae48 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: path_openat+0x89a/0x3590 fs/namei.c:3984
3 locks held by syz-executor/8957:
#0: ffff88802b42cd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline]
#0: ffff88802b42cd80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697
#1: ffff88802b42c078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5200
#2: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline]
#2: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976
2 locks held by syz-executor/9660:
#0: ffffffff90189450 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff90189450 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff90189450 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:555
#1: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#1: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline]
#1: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xce2/0x2210 net/core/rtnetlink.c:4011
1 lock held by syz.3.375/9689:
#0: ffff888033ea80e0 (&type->s_umount_key#82/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344
1 lock held by syz-executor/9692:
#0: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline]
#0: ffffffff8fca0808 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x47e/0x1bd0 net/ipv4/devinet.c:987
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.13.0-rc5-syzkaller-00012-g0bc21e701a6f #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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 6398 Comm: kworker/u8:10 Not tainted 6.13.0-rc5-syzkaller-00012-g0bc21e701a6f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: writeback wb_workfn (flush-7:0)
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:36 [inline]
RIP: 0010:dynamic_preempt_lazy kernel/sched/core.c:1122 [inline]
RIP: 0010:get_lazy_tif_bit kernel/sched/core.c:1133 [inline]
RIP: 0010:resched_curr_lazy+0x9/0x20 kernel/sched/core.c:1141
Code: 89 df e8 8a ae 95 00 e9 a7 fd ff ff e8 d0 27 53 0a 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 be 03 00 00 00 <66> 90 e9 a0 fb ff ff f3 0f 1e fa be 04 00 00 00 e9 92 fb ff ff 66
RSP: 0018:ffffc90000007998 EFLAGS: 00000006
RAX: 0000000000000000 RBX: ffff8880b863e810 RCX: dffffc0000000000
RDX: ffff8880b863e740 RSI: 0000000000000003 RDI: ffff8880b863e740
RBP: ffffffffffa1a558 R08: ffffffff901853f7 R09: 1ffffffff2030a7e
R10: dffffc0000000000 R11: fffffbfff2030a7f R12: 0001fd26b8f08f13
R13: ffff8880b863e740 R14: 0001fd26b892346b R15: ffff888025ec9e80
FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055557b2a15c8 CR3: 000000005c40a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
update_curr+0x5b0/0xda0 kernel/sched/fair.c:1257
enqueue_entity+0x63/0x19a0 kernel/sched/fair.c:5402
enqueue_task_fair+0x28b/0xfd0 kernel/sched/fair.c:7037
enqueue_task+0x72/0x330 kernel/sched/core.c:2061
activate_task kernel/sched/core.c:2108 [inline]
ttwu_do_activate+0x1d1/0x760 kernel/sched/core.c:3720
ttwu_queue kernel/sched/core.c:3993 [inline]
try_to_wake_up+0x89b/0x1470 kernel/sched/core.c:4321
hrtimer_wakeup+0x62/0x80 kernel/time/hrtimer.c:1975
__run_hrtimer kernel/time/hrtimer.c:1739 [inline]
__hrtimer_run_queues+0x59b/0xd30 kernel/time/hrtimer.c:1803
hrtimer_interrupt+0x403/0xa40 kernel/time/hrtimer.c:1865
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1038 [inline]
__sysvec_apic_timer_interrupt+0x110/0x420 arch/x86/kernel/apic/apic.c:1055
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:console_trylock_spinning kernel/printk/printk.c:2061 [inline]
RIP: 0010:vprintk_emit+0x700/0xa10 kernel/printk/printk.c:2431
Code: 00 e8 d4 f3 20 00 4c 8d bc 24 a0 00 00 00 4d 85 e4 75 07 e8 c2 f3 20 00 eb 06 e8 bb f3 20 00 fb 49 bc 00 00 00 00 00 fc ff df <48> c7 c7 a0 34 81 8e 31 f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00
RSP: 0018:ffffc900031f69a0 EFLAGS: 00000293
RAX: ffffffff817e7fd5 RBX: 0000000000000000 RCX: ffff888025ec9e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900031f6ab0 R08: ffffffff817e7fae R09: 1ffffffff284e338
R10: dffffc0000000000 R11: fffffbfff284e339 R12: dffffc0000000000
R13: 1ffff9200063ed38 R14: ffffffff817e7e10 R15: ffffc900031f6a40
_printk+0xd5/0x120 kernel/printk/printk.c:2457
f2fs_printk+0x3e1/0x470
f2fs_write_end_io+0x674/0x9a0 fs/f2fs/data.c:352
__submit_merged_bio+0x2a9/0x710 fs/f2fs/data.c:540
__f2fs_submit_merged_write fs/f2fs/data.c:636 [inline]
__submit_merged_write_cond fs/f2fs/data.c:658 [inline]
f2fs_submit_merged_write+0x1ea/0x2c0 fs/f2fs/data.c:668
f2fs_sync_node_pages+0x14cd/0x1720 fs/f2fs/node.c:2099
f2fs_write_node_pages+0x304/0x6d0 fs/f2fs/node.c:2171
do_writepages+0x35f/0x880 mm/page-writeback.c:2702
__writeback_single_inode+0x14f/0x10d0 fs/fs-writeback.c:1680
writeback_sb_inodes+0x820/0x1360 fs/fs-writeback.c:1976
wb_writeback+0x413/0xb80 fs/fs-writeback.c:2156
wb_do_writeback fs/fs-writeback.c:2303 [inline]
wb_workfn+0x410/0x1080 fs/fs-writeback.c:2343
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
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