EXT4-fs (loop3): mounted filesystem without journal. Opts: ,errors=continue ================================================================== BUG: KASAN: slab-out-of-bounds in memcpy include/linux/string.h:377 [inline] BUG: KASAN: slab-out-of-bounds in ext4_write_inline_data+0x300/0x3d0 fs/ext4/inline.c:245 Write of size 70 at addr ffff8880a22a2016 by task syz-executor.3/27266 CPU: 0 PID: 27266 Comm: syz-executor.3 Not tainted 4.19.189-syzkaller #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+0x1fc/0x2ef lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354 kasan_report+0x8f/0xa0 mm/kasan/report.c:412 memcpy+0x35/0x50 mm/kasan/kasan.c:303 memcpy include/linux/string.h:377 [inline] ext4_write_inline_data+0x300/0x3d0 fs/ext4/inline.c:245 ext4_write_inline_data_end+0x220/0x640 fs/ext4/inline.c:754 ext4_write_end+0x1de/0xec0 fs/ext4/inode.c:1423 ext4_da_write_end+0x860/0xa70 fs/ext4/inode.c:3170 generic_perform_write+0x2ae/0x4d0 mm/filemap.c:3181 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 ext4_file_write_iter+0x2fe/0xf20 fs/ext4/file.c:272 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665f9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9a1ed71188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665f9 RDX: 0000000000000082 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffd9883d15f R14: 00007f9a1ed71300 R15: 0000000000022000 Allocated by task 8117: kmem_cache_alloc+0x122/0x370 mm/slab.c:3559 getname_flags+0xce/0x590 fs/namei.c:140 getname fs/namei.c:211 [inline] user_path_mountpoint_at+0x23/0x40 fs/namei.c:2748 ksys_umount+0x156/0x1070 fs/namespace.c:1645 __do_sys_umount fs/namespace.c:1671 [inline] __se_sys_umount fs/namespace.c:1669 [inline] __x64_sys_umount+0x50/0x70 fs/namespace.c:1669 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 8117: __cache_free mm/slab.c:3503 [inline] kmem_cache_free+0x7f/0x260 mm/slab.c:3765 putname+0xe1/0x120 fs/namei.c:261 filename_mountpoint+0x397/0x4f0 fs/namei.c:2726 ksys_umount+0x156/0x1070 fs/namespace.c:1645 __do_sys_umount fs/namespace.c:1671 [inline] __se_sys_umount fs/namespace.c:1669 [inline] __x64_sys_umount+0x50/0x70 fs/namespace.c:1669 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff8880a22a2cc0 which belongs to the cache names_cache of size 4096 The buggy address is located 3242 bytes to the left of 4096-byte region [ffff8880a22a2cc0, ffff8880a22a3cc0) The buggy address belongs to the page: page:ffffea000288a880 count:1 mapcount:0 mapping:ffff88823b843380 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea000292b208 ffffea0002aaca08 ffff88823b843380 raw: 0000000000000000 ffff8880a22a2cc0 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a22a1f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880a22a1f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880a22a2000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880a22a2080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880a22a2100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================