SELinux: unrecognized netlink message: protocol=0 nlmsg_type=59502 sclass=netlink_route_socket pig=6476 comm=syz-executor5 EXT4-fs (sda1): re-mounted. Opts: debug_want_extra_isize=0x0000000000200000, ================================================================== BUG: KASAN: use-after-free in memset include/linux/string.h:329 [inline] BUG: KASAN: use-after-free in __ext4_expand_extra_isize.isra.13+0x108/0x1b0 fs/ext4/inode.c:5781 Write of size 2097120 at addr ffff8881987d9aa0 by task syz-executor0/1853 CPU: 1 PID: 1853 Comm: syz-executor0 Not tainted 4.14.85+ #15 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xb9/0x11b lib/dump_stack.c:53 print_address_description+0x60/0x22b mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report.cold.6+0x11b/0x2dd mm/kasan/report.c:409 memset+0x1f/0x40 mm/kasan/kasan.c:285 memset include/linux/string.h:329 [inline] __ext4_expand_extra_isize.isra.13+0x108/0x1b0 fs/ext4/inode.c:5781 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5833 [inline] ext4_mark_inode_dirty+0x46c/0x7e0 fs/ext4/inode.c:5909 ext4_unlink+0x6bb/0xeb0 fs/ext4/namei.c:3039 vfs_unlink2+0x23b/0x470 fs/namei.c:4073 do_unlinkat+0x467/0x650 fs/namei.c:4144 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x4572b7 RSP: 002b:00007ffe1ab7a3b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00000000004572b7 RDX: 00007ffe1ab7a3d0 RSI: 00007ffe1ab7a3d0 RDI: 00007ffe1ab7a460 RBP: 0000000000000203 R08: 0000000000000000 R09: 000000000000000b R10: 0000000000000006 R11: 0000000000000246 R12: 00007ffe1ab7b4f0 R13: 0000000000d1c940 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the page: page:ffffea000661f640 count:2 mapcount:0 mapping:ffff8881d9aa8950 index:0x438 flags: 0x4000000000001074(referenced|dirty|lru|active|private) raw: 4000000000001074 ffff8881d9aa8950 0000000000000438 00000002ffffffff raw: ffffea0006b35fe0 ffffea000657bfa0 ffff8881970f13f0 ffff8881da81aa80 page dumped because: kasan: bad access detected page->mem_cgroup:ffff8881da81aa80 Memory state around the buggy address: ffff8881987daf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881987daf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881987db000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff8881987db080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff8881987db100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================