BUG: scheduling while atomic: syz-executor418/307/0x00000002 Modules linked in: Preemption disabled at: [] __up_write kernel/locking/rwsem.c:1418 [inline] [] up_write+0x27/0x1f0 kernel/locking/rwsem.c:1672 CPU: 1 PID: 307 Comm: syz-executor418 Not tainted 6.1.75-syzkaller-00037-gdcb09569bbff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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:5960 schedule_debug kernel/sched/core.c:5987 [inline] __schedule+0xcf7/0x1550 kernel/sched/core.c:6622 do_task_dead+0x99/0xa0 kernel/sched/core.c:6747 do_exit+0x202a/0x2b80 kernel/exit.c:927 do_group_exit+0x21a/0x2d0 kernel/exit.c:1025 __do_sys_exit_group kernel/exit.c:1036 [inline] __se_sys_exit_group kernel/exit.c:1034 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1034 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:0x7f608ef04ff9 Code: Unable to access opcode bytes at 0x7f608ef04fcf. RSP: 002b:00007fffb8e2d4f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f608ef04ff9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 00007f608ef812b0 R08: ffffffffffffffb8 R09: 00000000000000a0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f608ef812b0 R13: 0000000000000000 R14: 00007f608ef81d20 R15: 00007f608eed61b0