BUG: scheduling while atomic: syz-executor.2/438/0x00000002 Modules linked in: Preemption disabled at: [] spin_trylock include/linux/spinlock.h:373 [inline] [] ext4_lock_group fs/ext4/ext4.h:3497 [inline] [] ext4_mb_clear_bb fs/ext4/mballoc.c:6079 [inline] [] ext4_free_blocks+0x1383/0x2ab0 fs/ext4/mballoc.c:6253 CPU: 0 PID: 438 Comm: syz-executor.2 Not tainted 5.15.148-syzkaller #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+0x18f/0x1f0 kernel/sched/core.c:5572 schedule_debug kernel/sched/core.c:5599 [inline] __schedule+0xcef/0x1540 kernel/sched/core.c:6267 schedule+0x11f/0x1e0 kernel/sched/core.c:6459 exit_to_user_mode_loop+0x4d/0xe0 kernel/entry/common.c:163 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:0x7f6898ac89a7 Code: 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcdee75e98 EFLAGS: 00000202 ORIG_RAX: 0000000000000102 RAX: 0000000000000000 RBX: 00007ffcdee75f20 RCX: 00007f6898ac89a7 RDX: 00000000000001ff RSI: 00007ffcdee75f20 RDI: 00000000ffffff9c RBP: 00007ffcdee75efc R08: 0000000000000005 R09: 00007ffcdee75c35 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032 R13: 000000000000fbf3 R14: 000000000000fbcb R15: 0000000000000006