BUG: scheduling while atomic: syz-executor.4/17846/0x00000002 Modules linked in: Preemption disabled at: [] __up_write kernel/locking/rwsem.c:1428 [inline] [] up_write+0x27/0x1f0 kernel/locking/rwsem.c:1682 CPU: 0 PID: 17846 Comm: syz-executor.4 Not tainted 6.1.78-syzkaller-00021-g1a72e2f692ac #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+0x151/0x1b7 lib/dump_stack.c:106 dump_stack+0x15/0x1b lib/dump_stack.c:113 __schedule_bug+0x195/0x260 kernel/sched/core.c:5975 schedule_debug kernel/sched/core.c:6002 [inline] __schedule+0xcf7/0x1550 kernel/sched/core.c:6637 schedule+0xc3/0x180 kernel/sched/core.c:6820 p9_client_rpc+0x3ce/0xaa0 net/9p/client.c:707 p9_client_attach+0x15e/0x3e0 net/9p/client.c:1104 v9fs_session_init+0x14a8/0x1950 fs/9p/v9fs.c:457 v9fs_mount+0xca/0xb60 fs/9p/vfs_super.c:126 legacy_get_tree+0xf1/0x190 fs/fs_context.c:632 vfs_get_tree+0x88/0x290 fs/super.c:1564 do_new_mount+0x2ba/0xb30 fs/namespace.c:3051 path_mount+0x671/0x1070 fs/namespace.c:3381 do_mount fs/namespace.c:3394 [inline] __do_sys_mount fs/namespace.c:3602 [inline] __se_sys_mount+0x2c4/0x3b0 fs/namespace.c:3579 __x64_sys_mount+0xbf/0xd0 fs/namespace.c:3579 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9c6047d0a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9c6111d0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9c605b3f80 RCX: 00007f9c6047d0a9 RDX: 0000000020000140 RSI: 0000000020000180 RDI: 0000000000000000 RBP: 00007f9c604ec074 R08: 0000000020000440 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9c605b3f80 R15: 00007ffe58eda988