BUG: scheduling while atomic: jbd2/sda1-8/65/0x00000002 Modules linked in: Preemption disabled at: [] spin_lock include/linux/spinlock.h:350 [inline] [] jbd2_journal_file_buffer+0x33/0xb0 fs/jbd2/transaction.c:2577 CPU: 1 PID: 65 Comm: jbd2/sda1-8 Not tainted 6.1.75-syzkaller-00027-g77fec6cefe26 #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 schedule+0xc3/0x180 kernel/sched/core.c:6805 io_schedule+0x8f/0x120 kernel/sched/core.c:8984 bit_wait_io+0x15/0xd0 kernel/sched/wait_bit.c:209 __wait_on_bit+0xaa/0x330 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+0x63/0x80 fs/buffer.c:123 wait_on_buffer include/linux/buffer_head.h:385 [inline] journal_wait_on_commit_record fs/jbd2/commit.c:175 [inline] jbd2_journal_commit_transaction+0x3acd/0x5f20 fs/jbd2/commit.c:922 kjournald2+0x437/0x7a0 fs/jbd2/journal.c:210 kthread+0x26d/0x300 kernel/kthread.c:386 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306