IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready 8021q: adding VLAN 0 to HW filter on device team0 ================================================================== BUG: KASAN: use-after-free in filemap_fault+0x2818/0x2a70 mm/filemap.c:2559 Read of size 8 at addr ffff8881d205fad0 by task syz-executor0/8328 CPU: 0 PID: 8328 Comm: syz-executor0 Not tainted 4.20.0-rc7-next-20181224 #188 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+0x1d3/0x2c6 lib/dump_stack.c:113 print_address_description.cold.5+0x9/0x1ff mm/kasan/report.c:187 kasan_report.cold.6+0x1b/0x39 mm/kasan/report.c:317 __asan_report_load8_noabort+0x14/0x20 mm/kasan/generic_report.c:135 filemap_fault+0x2818/0x2a70 mm/filemap.c:2559 ext4_filemap_fault+0x82/0xad fs/ext4/inode.c:6326 __do_fault+0x176/0x6f0 mm/memory.c:3013 do_shared_fault mm/memory.c:3479 [inline] do_fault mm/memory.c:3554 [inline] handle_pte_fault mm/memory.c:3781 [inline] __handle_mm_fault+0x373b/0x55f0 mm/memory.c:3905 handle_mm_fault+0x54f/0xc70 mm/memory.c:3942 do_user_addr_fault arch/x86/mm/fault.c:1475 [inline] __do_page_fault+0x5f6/0xd70 arch/x86/mm/fault.c:1541 do_page_fault+0xf2/0x7e0 arch/x86/mm/fault.c:1572 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1143 RIP: 0033:0x43ea69 Code: b7 0e 66 89 0f 48 83 c6 02 48 83 c7 02 0f 1f 40 00 f6 c2 04 74 0c 8b 0e 89 0f 48 83 c6 04 48 83 c7 04 f6 c2 08 74 0e 48 8b 0e <48> 89 0f 48 83 c6 08 48 83 c7 08 81 e2 f0 00 00 00 74 1f 0f 1f 40 RSP: 002b:00007ffe3feb4198 EFLAGS: 00010202 RAX: 0000000020008ff8 RBX: 0000000000000003 RCX: 0031656c69662f2e RDX: 0000000000000008 RSI: 0000000000740238 RDI: 0000000020008ff8 RBP: 000000000073bf00 R08: 0000000000740218 R09: 0000000000000000 R10: 00007ffe3feb4250 R11: 0000000000000246 R12: 0000000000000006 R13: fffffffffffffffe R14: 000000000073bf0c R15: 000000000073bf0c Allocated by task 8329: save_stack+0x43/0xd0 mm/kasan/common.c:73 set_track mm/kasan/common.c:85 [inline] kasan_kmalloc+0xcb/0xd0 mm/kasan/common.c:482 kasan_slab_alloc+0x12/0x20 mm/kasan/common.c:397 kmem_cache_alloc+0x130/0x730 mm/slab.c:3541 vm_area_alloc+0x7a/0x1d0 kernel/fork.c:331 mmap_region+0x9d7/0x1cd0 mm/mmap.c:1756 do_mmap+0xa22/0x1230 mm/mmap.c:1559 do_mmap_pgoff include/linux/mm.h:2421 [inline] vm_mmap_pgoff+0x213/0x2c0 mm/util.c:350 ksys_mmap_pgoff+0x4da/0x660 mm/mmap.c:1609 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:99 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:90 [inline] __x64_sys_mmap+0xe9/0x1b0 arch/x86/kernel/sys_x86_64.c:90 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 8329: save_stack+0x43/0xd0 mm/kasan/common.c:73 set_track mm/kasan/common.c:85 [inline] __kasan_slab_free+0x102/0x150 mm/kasan/common.c:444 kasan_slab_free+0xe/0x10 mm/kasan/common.c:452 __cache_free mm/slab.c:3485 [inline] kmem_cache_free+0x83/0x290 mm/slab.c:3747 vm_area_free+0x1c/0x20 kernel/fork.c:350 remove_vma+0x13a/0x180 mm/mmap.c:185 remove_vma_list mm/mmap.c:2585 [inline] __do_munmap+0x729/0xf50 mm/mmap.c:2822 do_munmap mm/mmap.c:2830 [inline] mmap_region+0x6a7/0x1cd0 mm/mmap.c:1729 do_mmap+0xa22/0x1230 mm/mmap.c:1559 do_mmap_pgoff include/linux/mm.h:2421 [inline] vm_mmap_pgoff+0x213/0x2c0 mm/util.c:350 ksys_mmap_pgoff+0x4da/0x660 mm/mmap.c:1609 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:99 [inline] __se_sys_mmap arch/x86/kernel/sys_x86_64.c:90 [inline] __x64_sys_mmap+0xe9/0x1b0 arch/x86/kernel/sys_x86_64.c:90 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff8881d205fa90 which belongs to the cache vm_area_struct(17:syz0) of size 200 The buggy address is located 64 bytes inside of 200-byte region [ffff8881d205fa90, ffff8881d205fb58) The buggy address belongs to the page: page:ffffea00074817c0 count:1 mapcount:0 mapping:ffff8881b810fd80 index:0x0 flags: 0x2fffc0000000200(slab) raw: 02fffc0000000200 ffff8881d179c548 ffffea0007602248 ffff8881b810fd80 raw: 0000000000000000 ffff8881d205f040 000000010000000f ffff8881d1c8c4c0 page dumped because: kasan: bad access detected page->mem_cgroup:ffff8881d1c8c4c0 Memory state around the buggy address: ffff8881d205f980: fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881d205fa00: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc >ffff8881d205fa80: fc fc fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8881d205fb00: fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc fc ffff8881d205fb80: fc fc fc fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================