INFO: task kworker/1:0:25 blocked for more than 143 seconds.
Not tainted 6.9.0-syzkaller-09429-g61307b7be41a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:0 state:D stack:21840 pid:25 tgid:25 ppid:2 flags:0x00004000
Workqueue: events_long bch2_fs_read_only_work
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0xf15/0x5d00 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6837
journal_quiesce fs/bcachefs/journal.c:484 [inline]
journal_quiesce+0x274/0x2b0 fs/bcachefs/journal.c:482
bch2_fs_journal_stop+0xec/0x320 fs/bcachefs/journal.c:1189
__bch2_fs_read_only+0x33c/0x510 fs/bcachefs/super.c:292
bch2_fs_read_only+0xb12/0xf10 fs/bcachefs/super.c:357
bch2_fs_read_only_work+0x2c/0x40 fs/bcachefs/super.c:394
process_one_work+0x9fb/0x1b60 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
INFO: task syz-executor.4:22465 blocked for more than 143 seconds.
Not tainted 6.9.0-syzkaller-09429-g61307b7be41a #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:21152 pid:22465 tgid:22464 ppid:18967 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5408 [inline]
__schedule+0xf15/0x5d00 kernel/sched/core.c:6745
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6837
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894
rwsem_down_write_slowpath kernel/locking/rwsem.c:1178 [inline]
__down_write_common+0x950/0x13f0 kernel/locking/rwsem.c:1306
__bch2_fs_stop+0x100/0x550 fs/bcachefs/super.c:621
bch2_fs_stop fs/bcachefs/super.c:680 [inline]
bch2_fs_open+0x761/0x1110 fs/bcachefs/super.c:2121
bch2_mount+0xdcc/0x1130 fs/bcachefs/fs.c:1906
legacy_get_tree+0x109/0x220 fs/fs_context.c:662
vfs_get_tree+0x8f/0x380 fs/super.c:1779
do_new_mount fs/namespace.c:3352 [inline]
path_mount+0x14e6/0x1f20 fs/namespace.c:3679
do_mount fs/namespace.c:3692 [inline]
__do_sys_mount fs/namespace.c:3898 [inline]
__se_sys_mount fs/namespace.c:3875 [inline]
__x64_sys_mount+0x297/0x320 fs/namespace.c:3875
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2136a7e5ea
RSP: 002b:00007f2137878ef8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f2137878f80 RCX: 00007f2136a7e5ea
RDX: 0000000020000340 RSI: 0000000020000040 RDI: 00007f2137878f40
RBP: 0000000020000340 R08: 00007f2137878f80 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000040
R13: 00007f2137878f40 R14: 0000000000005b7d R15: 00000000200002c0
Showing all locks held in the system:
3 locks held by kworker/1:0/25:
#0: ffff888015481148 ((wq_completion)events_long){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206
#1: ffffc900001f7d80 ((work_completion)(&c->read_only_work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207
#2: ffff88805eb80278 (&c->state_lock){+.+.}-{3:3}, at: bch2_fs_read_only_work+0x24/0x40 fs/bcachefs/super.c:393
1 lock held by khungtaskd/30:
#0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8dbb1760 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
2 locks held by kworker/u8:4/61:
2 locks held by getty/4836:
#0: ffff88802e5500a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201
3 locks held by kworker/0:5/5186:
#0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206
#1: ffffc90003a77d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207
#2:
ffffffff8f747068 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:276
5 locks held by kworker/u8:3/15998:
5 locks held by kworker/u8:5/15999:
#0: ffff8880162d3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206
#1: ffffc9000389fd80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207
#2: ffffffff8f731dd0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xbf0 net/core/net_namespace.c:594
#3: ffffffff8f747068 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x8c/0xae0 net/core/dev.c:11745
#4: ffffffff8dbbcef8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:291
3 locks held by kworker/u8:6/16000:
#0: ffff88802a975148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x12bf/0x1b60 kernel/workqueue.c:3206
#1: ffffc900038afd80 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x957/0x1b60 kernel/workqueue.c:3207
#2: ffffffff8f747068 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcf/0x1500 net/ipv6/addrconf.c:4193
1 lock held by syz-executor.4/22465:
#0: ffff88805eb80278 (&c->state_lock
){+.+.}-{3:3}
, at: __bch2_fs_stop+0x100/0x550 fs/bcachefs/super.c:621
1 lock held by syz-executor.4/23770:
#0:
ffffffff8f747068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
ffffffff8f747068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592
2 locks held by syz-executor.3/23994:
#0: ffffffff8f731dd0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x2cb/0x670 net/core/net_namespace.c:504
#1: ffffffff8f747068 (
rtnl_mutex){+.+.}-{3:3}, at: register_netdev+0x13/0x50 net/core/dev.c:10509
2 locks held by syz-executor.2/24039:
#0: ffff888068880278 (&c->state_lock){+.+.}-{3:3}, at: bch2_fs_start+0x3e/0x600 fs/bcachefs/super.c:1013
#1: ffff8880b933ec18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559
2 locks held by syz-executor.0/24046:
#0: ffff88802a5d2358 (sk_lock-AF_SMC){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1602 [inline]
#0: ffff88802a5d2358 (sk_lock-AF_SMC){+.+.}-{0:0}, at: smc_connect+0xd5/0x760 net/smc/af_smc.c:1659
#1: ffffffff8f747068 (rtnl_mutex){+.+.}-{3:3}, at: smc_vlan_by_tcpsk+0x251/0x620 net/smc/smc_core.c:1853
1 lock held by syz-executor.0/24047:
#0: ffff88802a5d2358 (sk_lock-AF_SMC){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1602 [inline]
#0: ffff88802a5d2358 (sk_lock-AF_SMC){+.+.}-{0:0}, at: smc_sendmsg+0x47/0x520 net/smc/af_smc.c:2782
1 lock held by syz-executor.0/24048:
#0: ffff88802a5d2358 (sk_lock-AF_SMC){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1602 [inline]
#0: ffff88802a5d2358 (sk_lock-AF_SMC){+.+.}-{0:0}, at: smc_sendmsg+0x47/0x520 net/smc/af_smc.c:2782
1 lock held by syz-executor.1/24050:
#0: ffffffff8f747068 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#0: ffffffff8f747068 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xe60 net/core/rtnetlink.c:6592
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-syzkaller-09429-g61307b7be41a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf86/0x1240 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/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 PID: 23360 Comm: syz-executor.0 Not tainted 6.9.0-syzkaller-09429-g61307b7be41a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:mm_cid_snapshot_time kernel/sched/sched.h:3344 [inline]
RIP: 0010:switch_mm_cid kernel/sched/sched.h:3464 [inline]
RIP: 0010:context_switch kernel/sched/core.c:5403 [inline]
RIP: 0010:__schedule+0x3189/0x5d00 kernel/sched/core.c:6745
Code: 48 c1 ea 03 80 3c 02 00 0f 85 da 26 00 00 4c 89 e2 49 8b 9f 88 0a 00 00 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 <0f> 85 ab 26 00 00 48 8b 95 00 ff ff ff 49 89 1c 24 48 b8 00 00 00
RSP: 0018:ffffc900039bfaa0 EFLAGS: 00000046
RAX: dffffc0000000000 RBX: 00000155d7f26cbe RCX: 0000000000000001
RDX: 1ffffd1ffff84554 RSI: ffffffff8b2cae60 RDI: ffff8880b923f688
RBP: ffffc900039bfc30 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000000 R12: ffffe8ffffc22aa0
R13: ffff8880776b9e00 R14: 0000000000000001 R15: ffff8880b923ec00
FS: 000055558aa0a480(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2eb3b000 CR3: 000000002d13c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__schedule_loop kernel/sched/core.c:6822 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6837
do_nanosleep+0x216/0x510 kernel/time/hrtimer.c:2028
hrtimer_nanosleep+0x1ab/0x440 kernel/time/hrtimer.c:2081
common_nsleep+0xa1/0xd0 kernel/time/posix-timers.c:1350
__do_sys_clock_nanosleep kernel/time/posix-timers.c:1396 [inline]
__se_sys_clock_nanosleep kernel/time/posix-timers.c:1373 [inline]
__x64_sys_clock_nanosleep+0x344/0x4a0 kernel/time/posix-timers.c:1373
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcf/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb50c0a82f5
Code: Unable to access opcode bytes at 0x7fb50c0a82cb.
RSP: 002b:00007ffe8be86700 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6
RAX: ffffffffffffffda RBX: 0000000000000082 RCX: 00007fb50c0a82f5
RDX: 00007ffe8be86740 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 00007ffe8be867cc R08: 0000000000000000 R09: 00007fb50cd85080
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 000000000015c5ba R14: 000000000015c252 R15: 0000000000000006