INFO: task syz.0.53:5607 blocked for more than 143 seconds.
Not tainted 6.11.0-syzkaller-07462-g1868f9d0260e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.53 state:D stack:27392 pid:5607 tgid:5603 ppid:5221 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5264 [inline]
__schedule+0x1843/0x4b00 kernel/sched/core.c:6607
__schedule_loop kernel/sched/core.c:6684 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6699
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6756
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1696
inode_lock_nested include/linux/fs.h:850 [inline]
do_rmdir+0x263/0x580 fs/namei.c:4387
__do_sys_rmdir fs/namei.c:4418 [inline]
__se_sys_rmdir fs/namei.c:4416 [inline]
__x64_sys_rmdir+0x47/0x50 fs/namei.c:4416
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:0x7f17e097def9
RSP: 002b:00007f17e03ff038 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007f17e0b36058 RCX: 00007f17e097def9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000040
RBP: 00007f17e09f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f17e0b36058 R15: 00007fff89636f68
INFO: task syz.0.53:5608 blocked for more than 144 seconds.
Not tainted 6.11.0-syzkaller-07462-g1868f9d0260e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.53 state:D stack:27392 pid:5608 tgid:5603 ppid:5221 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5264 [inline]
__schedule+0x1843/0x4b00 kernel/sched/core.c:6607
__schedule_loop kernel/sched/core.c:6684 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6699
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6756
rwsem_down_write_slowpath+0xeee/0x13b0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write_nested+0x1e0/0x220 kernel/locking/rwsem.c:1696
inode_lock_nested include/linux/fs.h:850 [inline]
filename_create+0x260/0x540 fs/namei.c:4026
do_mkdirat+0xbd/0x3a0 fs/namei.c:4272
__do_sys_mkdirat fs/namei.c:4295 [inline]
__se_sys_mkdirat fs/namei.c:4293 [inline]
__x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4293
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:0x7f17e097def9
RSP: 002b:00007f17e03de038 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f17e0b36130 RCX: 00007f17e097def9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: ffffffffffffff9c
RBP: 00007f17e09f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f17e0b36130 R15: 00007fff89636f68
INFO: task syz.0.53:5609 blocked for more than 145 seconds.
Not tainted 6.11.0-syzkaller-07462-g1868f9d0260e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.53 state:D stack:25776 pid:5609 tgid:5603 ppid:5221 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5264 [inline]
__schedule+0x1843/0x4b00 kernel/sched/core.c:6607
__schedule_loop kernel/sched/core.c:6684 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6699
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6756
rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline]
__down_read_common kernel/locking/rwsem.c:1250 [inline]
__down_read kernel/locking/rwsem.c:1263 [inline]
down_read+0x705/0xa40 kernel/locking/rwsem.c:1528
inode_lock_shared include/linux/fs.h:825 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1748
walk_component+0x2e1/0x410 fs/namei.c:2053
lookup_last fs/namei.c:2556 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2580
filename_lookup+0x256/0x610 fs/namei.c:2609
user_path_at+0x3a/0x60 fs/namei.c:3016
do_fchownat+0xed/0x240 fs/open.c:818
__do_sys_lchown fs/open.c:849 [inline]
__se_sys_lchown fs/open.c:847 [inline]
__x64_sys_lchown+0x85/0xa0 fs/open.c:847
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:0x7f17e097def9
RSP: 002b:00007f17e03bd038 EFLAGS: 00000246 ORIG_RAX: 000000000000005e
RAX: ffffffffffffffda RBX: 00007f17e0b36208 RCX: 00007f17e097def9
RDX: 0000000039323420 RSI: 00000000706d6174 RDI: 0000000020000200
RBP: 00007f17e09f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f17e0b36208 R15: 00007fff89636f68
INFO: task syz.0.53:5610 blocked for more than 146 seconds.
Not tainted 6.11.0-syzkaller-07462-g1868f9d0260e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.53 state:D stack:27392 pid:5610 tgid:5603 ppid:5221 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5264 [inline]
__schedule+0x1843/0x4b00 kernel/sched/core.c:6607
__schedule_loop kernel/sched/core.c:6684 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6699
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6756
rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline]
__down_read_common kernel/locking/rwsem.c:1250 [inline]
__down_read kernel/locking/rwsem.c:1263 [inline]
down_read+0x705/0xa40 kernel/locking/rwsem.c:1528
inode_lock_shared include/linux/fs.h:825 [inline]
lookup_slow+0x45/0x70 fs/namei.c:1748
walk_component+0x2e1/0x410 fs/namei.c:2053
lookup_last fs/namei.c:2556 [inline]
path_lookupat+0x16f/0x450 fs/namei.c:2580
filename_lookup+0x256/0x610 fs/namei.c:2609
user_path_at+0x3a/0x60 fs/namei.c:3016
do_mount fs/namespace.c:3844 [inline]
__do_sys_mount fs/namespace.c:4055 [inline]
__se_sys_mount+0x297/0x3c0 fs/namespace.c:4032
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:0x7f17e097def9
RSP: 002b:00007f17e039c038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f17e0b362e0 RCX: 00007f17e097def9
RDX: 0000000020000140 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 00007f17e09f0b76 R08: 00000000200001c0 R09: 0000000000000000
R10: 0000000000001001 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f17e0b362e0 R15: 00007fff89636f68
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e9389e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e9389e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e9389e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6701
4 locks held by kworker/u8:3/52:
3 locks held by kworker/u8:5/1055:
#0: ffff88814b04e148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88814b04e148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc90003c47d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90003c47d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4196
3 locks held by kworker/u8:8/1125:
#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/0x1850 kernel/workqueue.c:3310
#1: ffffc90004127d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90004127d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
3 locks held by kworker/u8:11/3006:
1 lock held by dhcpcd/4887:
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643
2 locks held by getty/4973:
#0: ffff8880325620a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
2 locks held by syz.0.53/5604:
2 locks held by syz.0.53/5607:
#0: ffff88807a46c420 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff88806088c180 (&type->i_mutex_dir_key#19/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:850 [inline]
#1: ffff88806088c180 (&type->i_mutex_dir_key#19/1){+.+.}-{3:3}, at: do_rmdir+0x263/0x580 fs/namei.c:4387
2 locks held by syz.0.53/5608:
#0: ffff88807a46c420 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515
#1: ffff88806088c180 (&type->i_mutex_dir_key#19/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:850 [inline]
#1: ffff88806088c180 (&type->i_mutex_dir_key#19/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 fs/namei.c:4026
1 lock held by syz.0.53/5609:
#0: ffff88806088c180 (&type->i_mutex_dir_key#20){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:825 [inline]
#0: ffff88806088c180 (&type->i_mutex_dir_key#20){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1748
1 lock held by syz.0.53/5610:
#0: ffff88806088c180 (&type->i_mutex_dir_key#20){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:825 [inline]
#0: ffff88806088c180 (&type->i_mutex_dir_key#20){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1748
2 locks held by syz-executor/5904:
#0: ffff8880675b40e0 (&type->s_umount_key#108){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff8880675b40e0 (&type->s_umount_key#108){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff8880675b40e0 (&type->s_umount_key#108){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffff88804a700278 (&c->state_lock){+.+.}-{3:3}, at: __bch2_fs_stop+0xfd/0x540 fs/bcachefs/super.c:617
1 lock held by bch-reclaim/loo/6280:
1 lock held by syz.4.166/6665:
#0: ffff8880675b40e0 (&type->s_umount_key#108){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff8880675b40e0 (&type->s_umount_key#108){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz-executor/6676:
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643
1 lock held by syz-executor/6710:
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643
1 lock held by syz-executor/6712:
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643
1 lock held by syz-executor/6763:
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6643
1 lock held by syz.0.184/6803:
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fcb73c8 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3b/0x1b0 drivers/net/tun.c:3517
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-syzkaller-07462-g1868f9d0260e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119
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:223 [inline]
watchdog+0xff4/0x1040 kernel/hung_task.c:379
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: 6280 Comm: bch-reclaim/loo Not tainted 6.11.0-syzkaller-07462-g1868f9d0260e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:__preempt_count_add kernel/rcu/tree.c:733 [inline]
RIP: 0010:rcu_is_watching+0x6/0xb0 kernel/rcu/tree.c:736
Code: 20 74 6c 03 eb cd 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 <41> 56 53 65 ff 05 e8 30 89 7e e8 fb 11 3c 0a 89 c3 83 f8 08 73 7a
RSP: 0018:ffffc900033ff4f0 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff841ced8e
RDX: ffff88801c3dbc00 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900033ff950 R08: ffffffff841cedb4 R09: 1ffffffff2036585
R10: dffffc0000000000 R11: fffffbfff2036586 R12: 0000000000000005
R13: ffffc90018400000 R14: 0000000000000001 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b302f4ff8 CR3: 000000000e734000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
trace_write_buffer_flush fs/bcachefs/trace.h:1356 [inline]
bch2_btree_write_buffer_flush_locked+0x470e/0x59f0 fs/bcachefs/btree_write_buffer.c:476
btree_write_buffer_flush_seq+0x1a43/0x1bc0 fs/bcachefs/btree_write_buffer.c:510
bch2_btree_write_buffer_journal_flush+0x4e/0x80 fs/bcachefs/btree_write_buffer.c:525
journal_flush_pins+0x5f7/0xb20 fs/bcachefs/journal_reclaim.c:565
__bch2_journal_reclaim+0x77d/0xe40 fs/bcachefs/journal_reclaim.c:697
bch2_journal_reclaim_thread+0x174/0x560 fs/bcachefs/journal_reclaim.c:739
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