================================================================== BUG: KASAN: stack-out-of-bounds in should_fault_in_pages fs/gfs2/file.c:784 [inline] BUG: KASAN: stack-out-of-bounds in gfs2_file_buffered_write+0x505/0x850 fs/gfs2/file.c:1069 Read of size 8 at addr ffffc90003377230 by task syz.0.68/4733 CPU: 0 PID: 4733 Comm: syz.0.68 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 print_address_description+0x63/0x3b0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x16b/0x1c0 mm/kasan/report.c:451 should_fault_in_pages fs/gfs2/file.c:784 [inline] gfs2_file_buffered_write+0x505/0x850 fs/gfs2/file.c:1069 gfs2_file_write_iter+0x4a2/0xf10 fs/gfs2/file.c:1165 __kernel_write+0x5b1/0xa60 fs/read_write.c:539 __dump_emit+0x264/0x3a0 fs/coredump.c:875 elf_core_dump+0x2734/0x4570 fs/binfmt_elf.c:2237 do_coredump+0x1852/0x31e0 fs/coredump.c:826 get_signal+0xc06/0x14e0 kernel/signal.c:2886 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320 exc_page_fault+0x342/0x700 arch/x86/mm/fault.c:1504 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606 RIP: 0033:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 002b:00000000200004c8 EFLAGS: 00010217 RAX: 0000000000000000 RBX: 00007f86e0732fa0 RCX: 00007f86e057b819 RDX: 0000000000000000 RSI: 00000000200004c0 RDI: 0000000000008000 RBP: 00007f86e05ee75e R08: 0000000020000580 R09: 0000000020000580 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f86e0732fa0 R15: 00007ffd64d12e68 addr ffffc90003377230 is located in stack of task syz.0.68/4733 at offset 48 in frame: __kernel_write+0x0/0xa60 this frame has 3 objects: [32, 48) 'iov' [64, 112) 'kiocb' [144, 184) 'iter' Memory state around the buggy address: ffffc90003377100: 00 00 00 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 ffffc90003377180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90003377200: f1 f1 f1 f1 00 00 f2 f2 00 00 00 00 00 00 f2 f2 ^ ffffc90003377280: f2 f2 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 00 00 ffffc90003377300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================