EXT4-fs (sda1): Ignoring removed oldalloc option EXT4-fs (sda1): Test dummy encryption mount option ignored ================================================================== BUG: KASAN: use-after-free in memset include/linux/string.h:332 [inline] BUG: KASAN: use-after-free in __ext4_expand_extra_isize.isra.0+0x10b/0x1c0 fs/ext4/inode.c:5832 Write of size 62943 at addr ffff88819762aaa0 by task syz-executor.1/13019 CPU: 1 PID: 13019 Comm: syz-executor.1 Not tainted 4.14.154+ #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xe5/0x154 lib/dump_stack.c:58 print_address_description+0x60/0x226 mm/kasan/report.c:187 __kasan_report.cold+0x1a/0x41 mm/kasan/report.c:316 memset+0x20/0x40 mm/kasan/common.c:113 memset include/linux/string.h:332 [inline] __ext4_expand_extra_isize.isra.0+0x10b/0x1c0 fs/ext4/inode.c:5832 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5884 [inline] ext4_mark_inode_dirty+0x471/0x7f0 fs/ext4/inode.c:5960 ext4_evict_inode+0x6a6/0x1560 fs/ext4/inode.c:282 evict+0x2cb/0x5f0 fs/inode.c:554 iput_final fs/inode.c:1516 [inline] iput fs/inode.c:1543 [inline] iput+0x385/0x7f0 fs/inode.c:1528 do_unlinkat+0x376/0x5e0 fs/namei.c:4234 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45a387 RSP: 002b:00007ffd0b7f5938 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045a387 RDX: 00007ffd0b7f5950 RSI: 00007ffd0b7f5950 RDI: 00007ffd0b7f59e0 RBP: 0000000000000170 R08: 0000000000000000 R09: 0000000000000010 R10: 000000000000000a R11: 0000000000000246 R12: 00007ffd0b7f6a70 R13: 0000000001a94940 R14: 0000000000000000 R15: 00007ffd0b7f6a70 The buggy address belongs to the page: page:ffffea00065d8a80 count:2 mapcount:0 mapping:ffff8881d9ac0950 index:0x45b flags: 0x400000000000203a(referenced|dirty|lru|active|private) raw: 400000000000203a ffff8881d9ac0950 000000000000045b 00000002ffffffff raw: ffffea00066782a0 ffffea00065da9a0 ffff88819890f540 ffff8881da81aa80 page dumped because: kasan: bad access detected page->mem_cgroup:ffff8881da81aa80 Memory state around the buggy address: ffff88819762af00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88819762af80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88819762b000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88819762b080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88819762b100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== EXT4-fs (sda1): Ignoring removed nobh option EXT4-fs (sda1): required extra inode space not available EXT4-fs (sda1): re-mounted. Opts: usrjquota=,oldalloc,block_validity,debug_want_extra_isize=0x000000000000f5ff,grpid,test_dummy_encryption,noquota,nobh, EXT4-fs (sda1): required extra inode space not available EXT4-fs (sda1): re-mounted. Opts: debug_want_extra_isize=0x0000000000000300, EXT4-fs (sda1): required extra inode space not available