netlink: 16 bytes leftover after parsing attributes in process `syz-executor.0'. GRED: Unable to relocate VQ 0x0 after dequeue, screwing up backlog ================================================================== BUG: KASAN: use-after-free in __ext4_check_dir_entry+0x2f9/0x340 fs/ext4/dir.c:68 Read of size 2 at addr ffff888076a6f003 by task syz-executor.2/2108 CPU: 1 PID: 2108 Comm: syz-executor.2 Not tainted 4.14.193-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:252 kasan_report_error.cold+0x8a/0x194 mm/kasan/report.c:351 kasan_report mm/kasan/report.c:409 [inline] __asan_report_load2_noabort+0x68/0x70 mm/kasan/report.c:428 __ext4_check_dir_entry+0x2f9/0x340 fs/ext4/dir.c:68 ext4_readdir+0x7fd/0x27e0 fs/ext4/dir.c:240 iterate_dir+0x1a0/0x5e0 fs/readdir.c:52 SYSC_getdents fs/readdir.c:269 [inline] SyS_getdents+0x125/0x240 fs/readdir.c:250 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45d4d9 RSP: 002b:00007ff1beaebc78 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 0000000000003f40 RCX: 000000000045d4d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffd910adecf R14: 00007ff1beaec9c0 R15: 000000000118cf4c The buggy address belongs to the page: page:ffffea0001da9bc0 count:0 mapcount:0 mapping: (null) index:0x1 flags: 0xfffe0000000000() raw: 00fffe0000000000 0000000000000000 0000000000000001 00000000ffffffff raw: ffffea0001011860 ffffea00017ec8a0 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888076a6ef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff888076a6ef80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff888076a6f000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888076a6f080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888076a6f100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== GRED: Unable to relocate VQ 0x0 after dequeue, screwing up backlog GRED: Unable to relocate VQ 0x0 after dequeue, screwing up backlog