================================================================== BUG: KASAN: stack-out-of-bounds in should_fault_in_pages fs/gfs2/file.c:785 [inline] BUG: KASAN: stack-out-of-bounds in gfs2_file_buffered_write+0x4bc/0x880 fs/gfs2/file.c:1070 Read of size 8 at addr ffff80001f747170 by task syz.1.74/4526 CPU: 0 PID: 4526 Comm: syz.1.74 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call trace: dump_backtrace+0x0/0x43c arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 print_address_description+0x78/0x30c mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xec/0x15c mm/kasan/report.c:451 __asan_report_load8_noabort+0x44/0x50 mm/kasan/report_generic.c:309 should_fault_in_pages fs/gfs2/file.c:785 [inline] gfs2_file_buffered_write+0x4bc/0x880 fs/gfs2/file.c:1070 gfs2_file_write_iter+0x39c/0xbd8 fs/gfs2/file.c:1166 __kernel_write+0x3e8/0x7ac fs/read_write.c:539 __dump_emit+0x1dc/0x2fc fs/coredump.c:943 dump_emit+0x288/0x364 fs/coredump.c:980 elf_core_dump+0x2044/0x2bac fs/binfmt_elf.c:2237 do_coredump+0x14e4/0x2240 fs/coredump.c:894 get_signal+0x4f4/0x1340 kernel/signal.c:2886 do_signal arch/arm64/kernel/signal.c:893 [inline] do_notify_resume+0x35c/0x3128 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xf0/0x1e0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 addr ffff80001f747170 is located in stack of task syz.1.74/4526 at offset 48 in frame: new_sync_read fs/read_write.c:405 [inline] __kernel_write+0x0/0x7ac fs/read_write.c:485 this frame has 3 objects: [32, 48) 'iov' [64, 112) 'kiocb' [144, 184) 'iter' Memory state around the buggy address: ffff80001f747000: f1 f1 f1 f1 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 ffff80001f747080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff80001f747100: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 ^ ffff80001f747180: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 00 f3 ffff80001f747200: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================