================================================================== BUG: KASAN: use-after-free in deliver_ptype_list_skb net/core/dev.c:1871 [inline] BUG: KASAN: use-after-free in __netif_receive_skb_core+0x2be3/0x33d0 net/core/dev.c:4406 Read of size 2 at addr ffff8801cc5cb0c0 by task syzkaller282292/3690 CPU: 0 PID: 3690 Comm: syzkaller282292 Not tainted 4.13.0+ #80 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:16 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:52 print_address_description+0x73/0x250 mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report+0x24e/0x340 mm/kasan/report.c:409 __asan_report_load2_noabort+0x14/0x20 mm/kasan/report.c:428 deliver_ptype_list_skb net/core/dev.c:1871 [inline] __netif_receive_skb_core+0x2be3/0x33d0 net/core/dev.c:4406 __netif_receive_skb+0x2c/0x1b0 net/core/dev.c:4461 netif_receive_skb_internal+0x10b/0x670 net/core/dev.c:4534 napi_skb_finish net/core/dev.c:4895 [inline] napi_gro_receive+0x3d0/0x500 net/core/dev.c:4926 receive_buf+0xcc5/0x51f0 drivers/net/virtio_net.c:841 virtnet_receive drivers/net/virtio_net.c:1087 [inline] virtnet_poll+0x304/0xad0 drivers/net/virtio_net.c:1168 napi_poll net/core/dev.c:5537 [inline] net_rx_action+0x792/0x1910 net/core/dev.c:5603 __do_softirq+0x2bb/0xbd0 kernel/softirq.c:284 invoke_softirq kernel/softirq.c:364 [inline] irq_exit+0x1d3/0x210 kernel/softirq.c:405 exiting_irq arch/x86/include/asm/apic.h:638 [inline] do_IRQ+0xf6/0x190 arch/x86/kernel/irq.c:253 common_interrupt+0x9d/0x9d arch/x86/entry/entry_64.S:598 RIP: 0010:debug_lockdep_rcu_enabled+0x42/0x90 kernel/rcu/update.c:299 RSP: 0000:ffff8801cca8f110 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff6e RAX: 0000000000000007 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: 0000000000000002 RSI: 0000000009fb5b8d RDI: ffffffff85cc09a0 RBP: ffff8801cca8f110 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff87060ca0 R12: ffffea00073b3dc0 R13: 0000000000000000 R14: ffffea00073b3dc0 R15: ffff8801cca8f418 rcu_read_lock include/linux/rcupdate.h:631 [inline] lock_page_memcg+0x94/0x3b0 mm/memcontrol.c:1650 page_add_file_rmap+0xef/0xa90 mm/rmap.c:1179 alloc_set_pte+0x89a/0x18f0 mm/memory.c:3395 filemap_map_pages+0x1080/0x15d0 mm/filemap.c:2529 do_fault_around mm/memory.c:3541 [inline] do_read_fault mm/memory.c:3575 [inline] do_fault mm/memory.c:3680 [inline] handle_pte_fault mm/memory.c:3910 [inline] __handle_mm_fault+0x1f57/0x39c0 mm/memory.c:4034 handle_mm_fault+0x334/0x8d0 mm/memory.c:4071 __do_page_fault+0x4f6/0xb60 arch/x86/mm/fault.c:1445 do_page_fault+0xee/0x720 arch/x86/mm/fault.c:1520 page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1066 RIP: 0033:0x424360 RSP: 002b:00007ffe6c7717a8 EFLAGS: 00010206 RAX: 0000000000000e6a RBX: 00007fa95d6fe700 RCX: 0000000000445eda RDX: 0000000000801000 RSI: 0000000000000010 RDI: 0000000000000011 RBP: 000000000000000f R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe6c771840