================================================================== 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+0x576/0x900 fs/gfs2/file.c:1070 Read of size 8 at addr ffffc900034bf330 by task syz.1.82/4670 CPU: 1 PID: 4670 Comm: syz.1.82 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 should_fault_in_pages fs/gfs2/file.c:785 [inline] gfs2_file_buffered_write+0x576/0x900 fs/gfs2/file.c:1070 gfs2_file_write_iter+0x497/0x1240 fs/gfs2/file.c:1166 __kernel_write+0x51c/0x970 fs/read_write.c:539 __dump_emit+0x249/0x370 fs/coredump.c:943 elf_core_dump+0x2757/0x3500 fs/binfmt_elf.c:2237 do_coredump+0x14c7/0x2ac0 fs/coredump.c:894 get_signal+0x40a/0x12c0 kernel/signal.c:2886 arch_do_signal_or_restart+0xe7/0x12c0 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fddb98ca78e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007fddb7b64f58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e6 RAX: fffffffffffffdfc RBX: 00007fddb7b656c0 RCX: 00007fddb98ca78e RDX: 00007fddb7b64fb0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fddb9977c1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fddb9b85038 R14: 00007fddb9b84fa0 R15: 00007fff0bce10e8 addr ffffc900034bf330 is located in stack of task syz.1.82/4670 at offset 48 in frame: __kernel_write+0x0/0x970 this frame has 3 objects: [32, 48) 'iov' [64, 112) 'kiocb' [144, 184) 'iter' Memory state around the buggy address: ffffc900034bf200: 00 00 00 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 ffffc900034bf280: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc900034bf300: f1 f1 f1 f1 00 00 f2 f2 00 00 00 00 00 00 f2 f2 ^ ffffc900034bf380: f2 f2 00 00 00 00 00 f3 f3 f3 f3 f3 00 00 00 00 ffffc900034bf400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================