================================================================== 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 ffffc90003f2fd50 by task syz.4.932/8870 CPU: 0 PID: 8870 Comm: syz.4.932 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 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 call_write_iter include/linux/fs.h:2173 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x745/0xd60 fs/read_write.c:594 ksys_write+0x152/0x260 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f979e6f568e 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:00007f979c96cd48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f979c96d6c0 RCX: 00007f979e6f568e RDX: 0000000000000027 RSI: 00007f979c96cef0 RDI: 0000000000000002 RBP: 00007f979c96cef0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000027 R13: 00007f979e9857a0 R14: 00007f979e97c4a0 R15: 0000000000000001 addr ffffc90003f2fd50 is located in stack of task syz.4.932/8870 at offset 48 in frame: vfs_write+0x0/0xd60 this frame has 3 objects: [32, 48) 'iov.i' [64, 112) 'kiocb.i' [144, 184) 'iter.i' Memory state around the buggy address: ffffc90003f2fc00: f1 f1 f1 f1 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 ffffc90003f2fc80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffc90003f2fd00: 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 00 00 00 00 ^ ffffc90003f2fd80: 00 00 f2 f2 f2 f2 00 00 00 00 00 f3 f3 f3 f3 f3 ffffc90003f2fe00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================