gfs2: fsid=nobarrier.0: first mount done, others may mount gfs2: fsid=nobarrier.0: found 1 quota changes ================================================================== 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+0x4c8/0x874 fs/gfs2/file.c:1069 Read of size 8 at addr ffff80001c9c6fb0 by task syz-executor645/3965 CPU: 1 PID: 3965 Comm: syz-executor645 Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description+0x7c/0x3f0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x174/0x1e4 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:784 [inline] gfs2_file_buffered_write+0x4c8/0x874 fs/gfs2/file.c:1069 gfs2_file_write_iter+0x3b8/0xc80 fs/gfs2/file.c:1165 __kernel_write+0x488/0x8b0 fs/read_write.c:539 __dump_emit+0x200/0x338 fs/coredump.c:875 dump_emit+0x288/0x36c fs/coredump.c:912 elf_core_dump+0x2598/0x3640 fs/binfmt_elf.c:2237 do_coredump+0x12c8/0x2890 fs/coredump.c:826 get_signal+0x3dc/0x1550 kernel/signal.c:2875 do_signal arch/arm64/kernel/signal.c:890 [inline] do_notify_resume+0x320/0x32b8 arch/arm64/kernel/signal.c:943 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_da+0x118/0x20c arch/arm64/kernel/entry-common.c:495 el0t_64_sync_handler+0xc0/0xe4 arch/arm64/kernel/entry-common.c:629 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 addr ffff80001c9c6fb0 is located in stack of task syz-executor645/3965 at offset 48 in frame: new_sync_read fs/read_write.c:405 [inline] __kernel_write+0x0/0x8b0 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: ffff80001c9c6e80: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00 ffff80001c9c6f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff80001c9c6f80: f1 f1 f1 f1 00 00 f2 f2 00 00 00 00 00 00 f2 f2 ^ ffff80001c9c7000: f2 f2 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 00 00 ffff80001c9c7080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================