================================================================== BUG: KASAN: stack-out-of-bounds in iov_iter_revert+0x249/0xa60 lib/iov_iter.c:1100 Read of size 8 at addr ffff8881cfadfcb8 by task syz-executor.5/31263 CPU: 1 PID: 31263 Comm: syz-executor.5 Not tainted 5.4.61-syzkaller-00875-gebd04e3463fb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x14a/0x1ce lib/dump_stack.c:118 print_address_description+0x93/0x620 mm/kasan/report.c:374 __kasan_report+0x16d/0x1e0 mm/kasan/report.c:506 kasan_report+0x36/0x60 mm/kasan/common.c:634 iov_iter_revert+0x249/0xa60 lib/iov_iter.c:1100 generic_file_read_iter+0x1dd5/0x20b0 mm/filemap.c:2308 fuse_cache_read_iter fs/fuse/file.c:1018 [inline] fuse_file_read_iter+0x3ec/0x4e0 fs/fuse/file.c:1576 call_read_iter include/linux/fs.h:1965 [inline] new_sync_read fs/read_write.c:414 [inline] __vfs_read+0x59a/0x710 fs/read_write.c:427 vfs_read+0x166/0x380 fs/read_write.c:461 ksys_read+0x18c/0x2c0 fs/read_write.c:590 do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45d5b9 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f79093aac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000025fc0 RCX: 000000000045d5b9 RDX: 00000000200041e0 RSI: 00000000200021c0 RDI: 0000000000000005 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffdfb12966f R14: 00007f79093ab9c0 R15: 000000000118cf4c The buggy address belongs to the page: page:ffffea00073eb7c0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 flags: 0x8000000000000000() raw: 8000000000000000 0000000000000000 ffffea00073eb7c8 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected addr ffff8881cfadfcb8 is located in stack of task syz-executor.5/31263 at offset 24 in frame: __vfs_read+0x0/0x710 fs/read_write.c:39 this frame has 3 objects: [32, 48) 'iov.i' [64, 112) 'kiocb.i' [144, 184) 'iter.i' Memory state around the buggy address: ffff8881cfadfb80: 00 00 00 00 00 00 00 00 00 f3 f3 f3 f3 f3 f3 f3 ffff8881cfadfc00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881cfadfc80: 00 00 00 00 f1 f1 f1 f1 00 00 f2 f2 00 00 00 00 ^ ffff8881cfadfd00: 00 00 f2 f2 f2 f2 00 00 00 00 00 f3 f3 f3 f3 f3 ffff8881cfadfd80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================