EXT4-fs (sda1): Unrecognized mount option "commit=0xff`ffffffffffff9" or missing value EXT4-fs (sda1): re-mounted. Opts: debug_want_extra_isize=0x0000000000002000,commit=0x0000000000000000, ================================================================== BUG: KASAN: use-after-free in memset include/linux/string.h:337 [inline] BUG: KASAN: use-after-free in __ext4_expand_extra_isize+0x16c/0x240 fs/ext4/inode.c:5923 Write of size 256 at addr ffff88807ae14180 by task syz-executor3/7745 CPU: 1 PID: 7745 Comm: syz-executor3 Not tainted 5.0.0-rc2+ #29 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+0x1db/0x2d0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:187 kasan_report.cold+0x1b/0x40 mm/kasan/report.c:317 check_memory_region_inline mm/kasan/generic.c:185 [inline] check_memory_region+0x123/0x190 mm/kasan/generic.c:191 memset+0x24/0x40 mm/kasan/common.c:113 memset include/linux/string.h:337 [inline] __ext4_expand_extra_isize+0x16c/0x240 fs/ext4/inode.c:5923 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5975 [inline] ext4_mark_inode_dirty+0x827/0xb80 fs/ext4/inode.c:6051 ext4_unlink+0xe8a/0x1210 fs/ext4/namei.c:3045 vfs_unlink+0x2d8/0x500 fs/namei.c:3999 do_unlinkat+0x52a/0x9e0 fs/namei.c:4062 __do_sys_unlink fs/namei.c:4109 [inline] __se_sys_unlink fs/namei.c:4107 [inline] __x64_sys_unlink+0x42/0x50 fs/namei.c:4107 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457c17 Code: 00 66 90 b8 58 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 0d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ed b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fffc685ab28 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000457c17 RDX: 00007fffc685ab40 RSI: 00007fffc685ab40 RDI: 00007fffc685abd0 RBP: 0000000000000a33 R08: 0000000000000000 R09: 0000000000000011 R10: 000000000000000a R11: 0000000000000246 R12: 00007fffc685bc60 R13: 0000000000aaa940 R14: 0000000000000000 R15: 0000000000000003 The buggy address belongs to the page: page:ffffea0001eb8500 count:0 mapcount:-128 mapping:0000000000000000 index:0x1 flags: 0x1fffc0000000000() raw: 01fffc0000000000 ffffea0001f0df08 ffffea0001d00208 0000000000000000 raw: 0000000000000001 0000000000000002 00000000ffffff7f 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88807ae14080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88807ae14100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88807ae14180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88807ae14200: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88807ae14280: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================