BUG: scheduling while atomic: syz-executor.3/7392/0x00000002 Modules linked in: Preemption disabled at: [] __up_write kernel/locking/rwsem.c:1402 [inline] [] up_write+0x27/0x1f0 kernel/locking/rwsem.c:1656 CPU: 0 PID: 7392 Comm: syz-executor.3 Tainted: G W 5.15.148-syzkaller-00013-gad06eaf051cd #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/0x17 lib/dump_stack.c:113 __schedule_bug+0x195/0x260 kernel/sched/core.c:5707 schedule_debug kernel/sched/core.c:5734 [inline] __schedule+0xd19/0x1590 kernel/sched/core.c:6402 do_task_dead+0x99/0xa0 kernel/sched/core.c:6530 do_exit+0x2089/0x2ca0 kernel/exit.c:929 do_group_exit+0x141/0x310 kernel/exit.c:1000 get_signal+0x7a3/0x1630 kernel/signal.c:2896 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:172 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x26/0x160 kernel/entry/common.c:301 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f0b12b17ea9 Code: Unable to access opcode bytes at RIP 0x7f0b12b17e7f. RSP: 002b:00007f0b1188b178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 00007f0b12c45f88 RCX: 00007f0b12b17ea9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f0b12c45f8c RBP: 00007f0b12c45f80 R08: 00007fff823410b0 R09: 00007f0b1188b6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f0b12c45f8c R13: 000000000000000b R14: 00007fff822d71b0 R15: 00007fff822d7298