INFO: task syz-executor:5216 blocked for more than 143 seconds.
Not tainted 6.11.0-rc7-syzkaller-00097-g196145c606d0 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor state:D stack:20832 pid:5216 tgid:5216 ppid:1 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0x17ae/0x4a10 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
journal_flush_done+0x79/0x260 fs/bcachefs/journal_reclaim.c:816
bch2_journal_flush_pins+0x102/0x3a0 fs/bcachefs/journal_reclaim.c:851
bch2_journal_flush_all_pins fs/bcachefs/journal_reclaim.h:76 [inline]
__bch2_fs_read_only+0x124/0x430 fs/bcachefs/super.c:274
bch2_fs_read_only+0xb57/0x1220 fs/bcachefs/super.c:354
__bch2_fs_stop+0x105/0x540 fs/bcachefs/super.c:618
generic_shutdown_super+0x136/0x2d0 fs/super.c:642
bch2_kill_sb+0x41/0x50 fs/bcachefs/fs.c:2062
deactivate_locked_super+0xc4/0x130 fs/super.c:473
cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373
task_work_run+0x24f/0x310 kernel/task_work.c:228
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f63e5d7f227
RSP: 002b:00007ffeaf8765b8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f63e5d7f227
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffeaf876670
RBP: 00007ffeaf876670 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffeaf8776f0
R13: 00007f63e5df0a14 R14: 0000000000016275 R15: 00007ffeaf877730
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
#0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
#0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626
3 locks held by kworker/u8:3/52:
5 locks held by kworker/u8:4/62:
4 locks held by kworker/u8:5/965:
#0: ffff88801a889148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
#0: ffff88801a889148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
#1: ffffc900038dfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc900038dfd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
#2: ffffffff8fa79e08 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276
#3: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline]
#3: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:958
1 lock held by dhcpcd/4888:
#0: ffffffff8fa79e08 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1bc0 net/ipv4/devinet.c:1101
2 locks held by getty/4975:
#0: ffff888023d100a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc9000312b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211
3 locks held by syz-executor/5216:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505
#1: ffff888068b80278 (&c->state_lock){+.+.}-{3:3}, at: __bch2_fs_stop+0xfd/0x540 fs/bcachefs/super.c:617
#2: ffff888068bcaf28 (&j->reclaim_lock){+.+.}-{3:3}, at: journal_flush_done+0x79/0x260 fs/bcachefs/journal_reclaim.c:816
3 locks held by kworker/u9:5/5225:
#0: ffff888034526948 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
#0: ffff888034526948 ((wq_completion)hci3){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
#1: ffffc90003b9fd00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc90003b9fd00 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
#2: ffff888043b6cd80 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x1ec/0x400 net/bluetooth/hci_sync.c:327
3 locks held by kworker/0:6/5293:
3 locks held by kworker/1:6/5307:
#0: ffff88801a880948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline]
#0: ffff88801a880948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312
#1: ffffc9000401fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline]
#1: ffffc9000401fd00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312
#2: ffff88805ca6d240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489
2 locks held by syz.2.73/5730:
3 locks held by bch-reclaim/loo/5772:
1 lock held by syz.0.120/6196:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.0.120/6198:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.0.120/6204:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.4.154/6451:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.3.169/6626:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.0.196/6793:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.0.196/6794:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.3.215/7071:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.0.233/7173:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz-executor/7321:
#0: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:328 [inline]
#0: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:958
1 lock held by syz.3.274/7430:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
1 lock held by syz.2.275/7434:
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline]
#0: ffff888025ed00e0 (&type->s_umount_key#103){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc7-syzkaller-00097-g196145c606d0 #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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 4674 Comm: udevd Not tainted 6.11.0-rc7-syzkaller-00097-g196145c606d0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:validate_chain+0x98/0x5900 kernel/locking/lockdep.c:3824
Code: 00 01 00 00 48 c1 e9 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4a 89 04 21 48 b8 f2 f2 f2 00 f2 f2 f2 00 4a 89 44 21 09 4a 89 44 21 11 <48> b8 f2 f2 f2 f2 f2 00 00 00 4a 89 44 21 1f 48 b8 f2 f2 f2 f2 f2
RSP: 0018:ffffc9000427ee60 EFLAGS: 00000802
RAX: 00f2f2f200f2f2f2 RBX: ffffffff939709e0 RCX: 1ffff9200084fdec
RDX: 0000000000000000 RSI: ffff88807bf42908 RDI: ffff88807bf41e00
RBP: ffffc9000427f160 R08: ffffffff93fa6847 R09: 1ffffffff27f4d08
R10: dffffc0000000000 R11: fffffbfff27f4d09 R12: dffffc0000000000
R13: ffff88807bf428d8 R14: dcf780feee248da7 R15: ffff88807bf42928
FS: 00007f6ef68cfc80(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200000c0 CR3: 000000007bad4000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_acquire+0x137a/0x2040 kernel/locking/lockdep.c:5142
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759
local_lock_acquire include/linux/local_lock_internal.h:29 [inline]
___slab_alloc+0x27e/0x14b0 mm/slub.c:3604
__slab_alloc+0x58/0xa0 mm/slub.c:3817
__slab_alloc_node mm/slub.c:3870 [inline]
slab_alloc_node mm/slub.c:4029 [inline]
__do_kmalloc_node mm/slub.c:4161 [inline]
__kmalloc_noprof+0x25a/0x400 mm/slub.c:4174
kmalloc_noprof include/linux/slab.h:685 [inline]
tomoyo_realpath_from_path+0xcf/0x5e0 security/tomoyo/realpath.c:251
tomoyo_get_realpath security/tomoyo/file.c:151 [inline]
tomoyo_check_open_permission+0x255/0x500 security/tomoyo/file.c:771
security_file_open+0x6a/0x750 security/security.c:2988
do_dentry_open+0x38e/0x1440 fs/open.c:946
vfs_open+0x3e/0x330 fs/open.c:1089
do_open fs/namei.c:3727 [inline]
path_openat+0x2b3e/0x3470 fs/namei.c:3886
do_filp_open+0x235/0x490 fs/namei.c:3913
do_sys_openat2+0x13e/0x1d0 fs/open.c:1416
do_sys_open fs/open.c:1431 [inline]
__do_sys_openat fs/open.c:1447 [inline]
__se_sys_openat fs/open.c:1442 [inline]
__x64_sys_openat+0x247/0x2a0 fs/open.c:1442
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:0x7f6ef65169a4
Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffc2e9e27d0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f6ef65169a4
RDX: 0000000000080000 RSI: 00007ffc2e9e2908 RDI: 00000000ffffff9c
RBP: 00007ffc2e9e2908 R08: 0000000000000008 R09: 0000000000000001
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000
R13: 000055d893b8fb42 R14: 0000000000000001 R15: 0000000000000000