do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait_event+0x3ac/0x460 kernel/sched/wait.c:298 WARNING: CPU: 0 PID: 5964 at kernel/sched/core.c:8745 __might_sleep+0xb9/0xe0 kernel/sched/core.c:8741 Modules linked in: CPU: 0 UID: 0 PID: 5964 Comm: syz.4.5 Not tainted 6.15.0-rc1-next-20250408-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__might_sleep+0xb9/0xe0 kernel/sched/core.c:8741 Code: b7 0e 01 90 42 80 3c 23 00 74 08 48 89 ef e8 ce 21 9b 00 48 8b 4d 00 48 c7 c7 80 33 4a 8c 44 89 ee 48 89 ca e8 08 04 f0 ff 90 <0f> 0b 90 90 eb b5 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 70 ff ff ff RSP: 0000:ffffc90004a17988 EFLAGS: 00010246 RAX: 81850c7c27120900 RBX: 1ffff1100f9416b1 RCX: 0000000000080000 RDX: ffffc9000ea3a000 RSI: 0000000000008392 RDI: 0000000000008393 RBP: ffff88807ca0b588 R08: ffffffff81824ed2 R09: fffffbfff1d7a700 R10: dffffc0000000000 R11: fffffbfff1d7a700 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000000242 R15: ffffffff8c4ad6e0 FS: 00007f951b3296c0(0000) GS:ffff888124f89000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000002a7000 CR3: 0000000079590000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mutex_lock_common kernel/locking/mutex.c:578 [inline] __mutex_lock+0x12c/0x10c0 kernel/locking/mutex.c:746 have_mon_and_osd_map net/ceph/ceph_common.c:796 [inline] __ceph_open_session+0x471/0xa30 net/ceph/ceph_common.c:826 ceph_real_mount fs/ceph/super.c:1167 [inline] ceph_get_tree+0xac4/0x17b0 fs/ceph/super.c:1355 vfs_get_tree+0x90/0x2b0 fs/super.c:1809 vfs_cmd_create+0xa0/0x1f0 fs/fsopen.c:225 vfs_fsconfig_locked fs/fsopen.c:-1 [inline] __do_sys_fsconfig fs/fsopen.c:467 [inline] __se_sys_fsconfig+0xa20/0xf40 fs/fsopen.c:344 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f951a58d169 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f951b329038 EFLAGS: 00000246 ORIG_RAX: 00000000000001af RAX: ffffffffffffffda RBX: 00007f951a7a6160 RCX: 00007f951a58d169 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000006 RBP: 00007f951a60e2a0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f951a7a6160 R15: 00007ffe51480d18