BUG: scheduling while atomic: jbd2/sda1-8/64/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:363 [inline] [] __find_get_block_slow fs/buffer.c:206 [inline] [] __find_get_block+0x304/0x1180 fs/buffer.c:1310 CPU: 0 PID: 64 Comm: jbd2/sda1-8 Not tainted 5.15.149-syzkaller-00490-g5d96939590c0 #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 schedule+0x11f/0x1e0 kernel/sched/core.c:6595 io_schedule+0x8f/0x120 kernel/sched/core.c:8641 bit_wait_io+0x15/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit+0xb0/0x180 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1ab/0x230 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] __wait_on_buffer+0x7c/0x90 fs/buffer.c:122 wait_on_buffer include/linux/buffer_head.h:390 [inline] jbd2_journal_commit_transaction+0x346c/0x61f0 fs/jbd2/commit.c:848 kjournald2+0x489/0x890 fs/jbd2/journal.c:213 kthread+0x421/0x510 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298