BUG: scheduling while atomic: syz-executor.2/1152/0x00000002 Modules linked in: Preemption disabled at: [] is_module_text_address+0x1a/0x140 kernel/module.c:4811 CPU: 1 PID: 1152 Comm: syz-executor.2 Not tainted 5.15.148-syzkaller-00013-gad06eaf051cd #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] do_get_write_access+0x124/0xdb0 fs/jbd2/transaction.c:1116 jbd2_journal_get_write_access+0x195/0x2d0 fs/jbd2/transaction.c:1251 __ext4_journal_get_write_access+0x244/0x690 fs/ext4/ext4_jbd2.c:235 ext4_reserve_inode_write+0x2bd/0x3d0 fs/ext4/inode.c:5813 __ext4_mark_inode_dirty+0x129/0x7a0 fs/ext4/inode.c:5987 ext4_dirty_inode+0xbd/0x100 fs/ext4/inode.c:6024 __mark_inode_dirty+0x200/0xa50 fs/fs-writeback.c:2464 generic_update_time+0x1e9/0x210 fs/inode.c:1817 inode_update_time fs/inode.c:1830 [inline] file_update_time+0x3eb/0x460 fs/inode.c:2019 file_modified+0x7a/0xb0 fs/inode.c:2042 ext4_write_checks fs/ext4/file.c:249 [inline] ext4_buffered_write_iter+0x2f0/0x610 fs/ext4/file.c:265 ext4_file_write_iter+0x443/0x1c80 __kernel_write+0x5ab/0xa60 fs/read_write.c:539 __dump_emit+0x261/0x3a0 fs/coredump.c:875 dump_emit+0x381/0x3f0 fs/coredump.c:912 dump_user_range+0x86/0x1c0 fs/coredump.c:949 elf_core_dump+0x3663/0x3e80 fs/binfmt_elf.c:2285 do_coredump+0x1834/0x3050 fs/coredump.c:826 get_signal+0x4c8/0x1630 kernel/signal.c:2882 arch_do_signal_or_restart+0xbd/0x1680 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop+0xa0/0xe0 kernel/entry/common.c:172 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:208 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:314 irqentry_exit+0x12/0x40 kernel/entry/common.c:405 exc_general_protection+0x327/0x4b0 arch/x86/kernel/traps.c:562 asm_exc_general_protection+0x27/0x30 arch/x86/include/asm/idtentry.h:562 RIP: 0033:0x7f02d1f90eb1 Code: c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 48 3d 01 f0 ff ff 73 01 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f RSP: 002b:0000000020000260 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f02d20bef80 RCX: 00007f02d1f90ea9 RDX: 0000000020000280 RSI: 0000000020000260 RDI: 0000000000000000 RBP: 00007f02d1fdd4a4 R08: 0000000020000380 R09: 0000000020000380 R10: 0000000020000340 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f02d20bef80 R15: 00007ffed1cf42e8