device veth0_vlan entered promiscuous mode device veth1_vlan entered promiscuous mode ================================================================== BUG: KASAN: use-after-free in __get_unaligned_cpu32 include/linux/unaligned/packed_struct.h:19 [inline] BUG: KASAN: use-after-free in mc_hash drivers/net/macvlan.c:251 [inline] BUG: KASAN: use-after-free in macvlan_broadcast+0x547/0x620 drivers/net/macvlan.c:277 Read of size 4 at addr ffff888090682001 by task syz-executor824/9706 CPU: 1 PID: 9706 Comm: syz-executor824 Not tainted 5.5.0-rc4-syzkaller #0 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+0x197/0x210 lib/dump_stack.c:118 print_address_description.constprop.0.cold+0xd4/0x30b mm/kasan/report.c:374 __kasan_report.cold+0x1b/0x41 mm/kasan/report.c:506 kasan_report+0x12/0x20 mm/kasan/common.c:639 __asan_report_load_n_noabort+0xf/0x20 mm/kasan/generic_report.c:145 __get_unaligned_cpu32 include/linux/unaligned/packed_struct.h:19 [inline] mc_hash drivers/net/macvlan.c:251 [inline] macvlan_broadcast+0x547/0x620 drivers/net/macvlan.c:277 macvlan_queue_xmit drivers/net/macvlan.c:520 [inline] macvlan_start_xmit+0x402/0x77f drivers/net/macvlan.c:559 __netdev_start_xmit include/linux/netdevice.h:4459 [inline] netdev_start_xmit include/linux/netdevice.h:4473 [inline] dev_direct_xmit+0x419/0x630 net/core/dev.c:4079 packet_direct_xmit+0x1a9/0x250 net/packet/af_packet.c:240 packet_snd net/packet/af_packet.c:2960 [inline] packet_sendmsg+0x260d/0x6220 net/packet/af_packet.c:2985 sock_sendmsg_nosec net/socket.c:643 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:663 __sys_sendto+0x262/0x380 net/socket.c:1997 __do_sys_sendto net/socket.c:2009 [inline] __se_sys_sendto net/socket.c:2005 [inline] __x64_sys_sendto+0xe1/0x1a0 net/socket.c:2005 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x442bd9 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 5b 10 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffcd0931318 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000442bd9 RDX: 000000000000000e RSI: 0000000020000080 RDI: 0000000000000003 RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000404150 R14: 0000000000000000 R15: 0000000000000000 The buggy address belongs to the page: page:ffffea000241a080 refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888090682000 raw: 00fffe0000000000 dead000000000100 dead000000000122 0000000000000000 raw: ffff888090682000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888090681f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888090681f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888090682000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888090682080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888090682100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================