IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
==================================================================
BUG: KASAN: slab-out-of-bounds in __get_unaligned_cpu32 include/linux/unaligned/packed_struct.h:19 [inline]
BUG: KASAN: slab-out-of-bounds in mc_hash drivers/net/macvlan.c:255 [inline]
BUG: KASAN: slab-out-of-bounds in macvlan_broadcast+0x57c/0x660 drivers/net/macvlan.c:281
Read of size 4 at addr ffff88808ec93a01 by task syz-executor042/8004

CPU: 0 PID: 8004 Comm: syz-executor042 Not tainted 4.19.93-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.cold+0x7c/0x20d mm/kasan/report.c:256
 kasan_report_error mm/kasan/report.c:354 [inline]
 kasan_report mm/kasan/report.c:412 [inline]
 kasan_report.cold+0x8c/0x2ba mm/kasan/report.c:396
 __asan_report_load_n_noabort+0xf/0x20 mm/kasan/report.c:443
 __get_unaligned_cpu32 include/linux/unaligned/packed_struct.h:19 [inline]
 mc_hash drivers/net/macvlan.c:255 [inline]
 macvlan_broadcast+0x57c/0x660 drivers/net/macvlan.c:281
 macvlan_queue_xmit drivers/net/macvlan.c:524 [inline]
 macvlan_start_xmit+0x408/0x785 drivers/net/macvlan.c:563
 __netdev_start_xmit include/linux/netdevice.h:4308 [inline]
 netdev_start_xmit include/linux/netdevice.h:4317 [inline]
 dev_direct_xmit+0x34d/0x650 net/core/dev.c:3909
protocol 88fb is buggy, dev hsr_slave_0
 packet_direct_xmit+0xf9/0x170 net/packet/af_packet.c:246
protocol 88fb is buggy, dev hsr_slave_1
 packet_snd net/packet/af_packet.c:2958 [inline]
 packet_sendmsg+0x3bb2/0x6440 net/packet/af_packet.c:2983
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:632
 __sys_sendto+0x262/0x380 net/socket.c:1787
IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready
 __do_sys_sendto net/socket.c:1799 [inline]
 __se_sys_sendto net/socket.c:1795 [inline]
 __x64_sys_sendto+0xe1/0x1a0 net/socket.c:1795
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x442529
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
protocol 88fb is buggy, dev hsr_slave_0
RSP: 002b:00007ffd950789f8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000442529
RDX: 000000000000000e RSI: 0000000020000080 RDI: 0000000000000003
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
protocol 88fb is buggy, dev hsr_slave_1
R13: 0000000000403aa0 R14: 0000000000000000 R15: 0000000000000000

Allocated by task 8004:
 save_stack+0x45/0xd0 mm/kasan/kasan.c:448
 set_track mm/kasan/kasan.c:460 [inline]
 kasan_kmalloc mm/kasan/kasan.c:553 [inline]
 kasan_kmalloc+0xce/0xf0 mm/kasan/kasan.c:531
 __do_kmalloc mm/slab.c:3727 [inline]
 __kmalloc_track_caller+0x159/0x750 mm/slab.c:3742
 kmemdup+0x27/0x60 mm/util.c:118
 kmemdup include/linux/string.h:421 [inline]
 __addrconf_sysctl_register+0xae/0x430 net/ipv6/addrconf.c:6554
 addrconf_sysctl_register net/ipv6/addrconf.c:6619 [inline]
 addrconf_sysctl_register+0x140/0x1e0 net/ipv6/addrconf.c:6608
 ipv6_add_dev net/ipv6/addrconf.c:446 [inline]
 ipv6_add_dev+0x9d0/0x10a0 net/ipv6/addrconf.c:366
 addrconf_notify+0x960/0x2160 net/ipv6/addrconf.c:3437
 notifier_call_chain+0xc2/0x230 kernel/notifier.c:93
 __raw_notifier_call_chain kernel/notifier.c:394 [inline]
 raw_notifier_call_chain+0x2e/0x40 kernel/notifier.c:401
 call_netdevice_notifiers_info+0x3f/0x90 net/core/dev.c:1747
 call_netdevice_notifiers net/core/dev.c:1765 [inline]
 register_netdevice+0xa4d/0xff0 net/core/dev.c:8576
 rtnl_newlink+0x13de/0x1600 net/core/rtnetlink.c:3145
 rtnetlink_rcv_msg+0x463/0xb00 net/core/rtnetlink.c:4768
 netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454
 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4786
 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline]
 netlink_unicast+0x53a/0x730 net/netlink/af_netlink.c:1343
 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xd7/0x130 net/socket.c:632
 __sys_sendto+0x262/0x380 net/socket.c:1787
 __do_sys_sendto net/socket.c:1799 [inline]
 __se_sys_sendto net/socket.c:1795 [inline]
 __x64_sys_sendto+0xe1/0x1a0 net/socket.c:1795
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe

Freed by task 0:
(stack is not available)

The buggy address belongs to the object at ffff88808ec92c40
 which belongs to the cache kmalloc-4096 of size 4096
The buggy address is located 3521 bytes inside of
 4096-byte region [ffff88808ec92c40, ffff88808ec93c40)
The buggy address belongs to the page:
page:ffffea00023b2480 count:1 mapcount:0 mapping:ffff88812c31cdc0 index:0x0 compound_mapcount: 0
flags: 0xfffe0000008100(slab|head)
raw: 00fffe0000008100 ffffea00023d5108 ffffea00024a1a88 ffff88812c31cdc0
raw: 0000000000000000 ffff88808ec92c40 0000000100000001 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff88808ec93900: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc
 ffff88808ec93980: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88808ec93a00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
                   ^
 ffff88808ec93a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff88808ec93b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================