BUG: scheduling while atomic: syz-executor.0/3376/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:350 [inline] [] task_lock include/linux/sched/task.h:203 [inline] [] exit_files+0x59/0xa0 fs/file.c:461 CPU: 0 PID: 3376 Comm: syz-executor.0 Not tainted 6.1.75-syzkaller-00073-g08cc4037cf32 #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 get_signal+0x169d/0x1820 kernel/signal.c:2880 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:168 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x26/0x140 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6eaaa7dea9 Code: Unable to access opcode bytes at 0x7f6eaaa7de7f. RSP: 002b:00007f6eab80c178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f6eaababf88 RCX: 00007f6eaaa7dea9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f6eaababf88 RBP: 00007f6eaababf80 R08: 00007f6eab80c6c0 R09: 00007f6eab80c6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6eaababf8c R13: 000000000000000b R14: 00007fffce2c6070 R15: 00007fffce2c6158