BUG: scheduling while atomic: syz-executor349/310/0x00000005 Modules linked in: Preemption disabled at: [] __up_write kernel/locking/rwsem.c:1428 [inline] [] up_write+0x27/0x1f0 kernel/locking/rwsem.c:1682 CPU: 1 PID: 310 Comm: syz-executor349 Not tainted 6.1.75-syzkaller-00068-gc61278bb705a #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:0x7fc1b0454ff9 Code: Unable to access opcode bytes at 0x7fc1b0454fcf. RSP: 002b:00007ffea4517218 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc1b0454ff9 RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 RBP: 00007fc1b04d12b0 R08: ffffffffffffffb8 R09: 00000000000000a0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc1b04d12b0 R13: 0000000000000000 R14: 00007fc1b04d1d20 R15: 00007fc1b04261b0