BUG: scheduling while atomic: syz-fuzzer/316/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock_bh include/linux/spinlock.h:355 [inline] [] release_sock+0x30/0x1b0 net/core/sock.c:3513 CPU: 0 PID: 316 Comm: syz-fuzzer Not tainted 6.1.78-syzkaller-00013-gde6fb073c606 #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 exit_to_user_mode_loop+0x4e/0xa0 kernel/entry/common.c:159 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:0x40720e Code: 48 83 ec 38 e8 13 00 00 00 48 83 c4 38 5d c3 cc cc cc cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 01 f0 ff ff 76 15 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff 48 RSP: 002b:000000c00082b6a8 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: fffffffffffffff5 RBX: 0000000000000003 RCX: 000000000040720e RDX: 0000000000025a3c RSI: 000000c0006d2000 RDI: 0000000000000003 RBP: 000000c00082b6e8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000c00082b828 R13: 1111f11ef11ef110 R14: 000000c0000061a0 R15: 0000000000000050