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+0x4b9/0x5c0 drivers/net/macvlan.c:281 Read of size 4 at addr ffff88808ff88541 by task syz-executor117/7174 CPU: 1 PID: 7174 Comm: syz-executor117 Not tainted 4.14.162-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+0x142/0x197 lib/dump_stack.c:58 print_address_description.cold+0x7c/0x1dc mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report mm/kasan/report.c:409 [inline] kasan_report.cold+0xa9/0x2af mm/kasan/report.c:393 __asan_report_load_n_noabort+0xf/0x20 mm/kasan/report.c:440 __get_unaligned_cpu32 include/linux/unaligned/packed_struct.h:19 [inline] mc_hash drivers/net/macvlan.c:255 [inline] macvlan_broadcast+0x4b9/0x5c0 drivers/net/macvlan.c:281 macvlan_queue_xmit drivers/net/macvlan.c:522 [inline] macvlan_start_xmit+0x56b/0x72d drivers/net/macvlan.c:565 __netdev_start_xmit include/linux/netdevice.h:4038 [inline] netdev_start_xmit include/linux/netdevice.h:4047 [inline] packet_direct_xmit+0x431/0x640 net/packet/af_packet.c:269 packet_snd net/packet/af_packet.c:2994 [inline] packet_sendmsg+0x1dd4/0x5a60 net/packet/af_packet.c:3019 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xce/0x110 net/socket.c:656 SYSC_sendto+0x206/0x310 net/socket.c:1763 SyS_sendto+0x40/0x50 net/socket.c:1731 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x442a99 RSP: 002b:00007fffb8a4a478 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000442a99 RDX: 000000000000000e RSI: 0000000020000080 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 0000000000403e20 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 7164: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x45/0xd0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc mm/kasan/kasan.c:551 [inline] kasan_kmalloc+0xce/0xf0 mm/kasan/kasan.c:529 kasan_slab_alloc+0xf/0x20 mm/kasan/kasan.c:489 kmem_cache_alloc+0x12e/0x780 mm/slab.c:3552 skb_clone+0x129/0x320 net/core/skbuff.c:1282 skb_share_check include/linux/skbuff.h:1554 [inline] packet_rcv_spkt+0x424/0x560 net/packet/af_packet.c:1858 deliver_skb net/core/dev.c:1881 [inline] deliver_ptype_list_skb net/core/dev.c:1896 [inline] __netif_receive_skb_core+0x9f5/0x2cb0 net/core/dev.c:4460 __netif_receive_skb+0x2c/0x1b0 net/core/dev.c:4515 netif_receive_skb_internal+0xe4/0x5a0 net/core/dev.c:4588 napi_skb_finish net/core/dev.c:4949 [inline] napi_gro_receive+0x2f8/0x410 net/core/dev.c:4980 receive_buf+0x534/0x4770 drivers/net/virtio_net.c:852 virtnet_receive drivers/net/virtio_net.c:1098 [inline] virtnet_poll+0x515/0xa6e drivers/net/virtio_net.c:1189 napi_poll net/core/dev.c:5598 [inline] net_rx_action+0x490/0xf80 net/core/dev.c:5664 __do_softirq+0x244/0x9a0 kernel/softirq.c:288 Freed by task 7164: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack+0x45/0xd0 mm/kasan/kasan.c:447 set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0x75/0xc0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kmem_cache_free+0x83/0x2b0 mm/slab.c:3758 kfree_skbmem+0xa5/0x110 net/core/skbuff.c:586 __kfree_skb net/core/skbuff.c:646 [inline] kfree_skb+0xbd/0x350 net/core/skbuff.c:663 packet_rcv_spkt+0xd9/0x560 net/packet/af_packet.c:1889 deliver_skb net/core/dev.c:1881 [inline] deliver_ptype_list_skb net/core/dev.c:1896 [inline] __netif_receive_skb_core+0x9f5/0x2cb0 net/core/dev.c:4460 __netif_receive_skb+0x2c/0x1b0 net/core/dev.c:4515 netif_receive_skb_internal+0xe4/0x5a0 net/core/dev.c:4588 napi_skb_finish net/core/dev.c:4949 [inline] napi_gro_receive+0x2f8/0x410 net/core/dev.c:4980 receive_buf+0x534/0x4770 drivers/net/virtio_net.c:852 virtnet_receive drivers/net/virtio_net.c:1098 [inline] virtnet_poll+0x515/0xa6e drivers/net/virtio_net.c:1189 napi_poll net/core/dev.c:5598 [inline] net_rx_action+0x490/0xf80 net/core/dev.c:5664 __do_softirq+0x244/0x9a0 kernel/softirq.c:288 The buggy address belongs to the object at ffff88808ff88440 which belongs to the cache skbuff_head_cache of size 232 The buggy address is located 25 bytes to the right of 232-byte region [ffff88808ff88440, ffff88808ff88528) The buggy address belongs to the page: page:ffffea00023fe200 count:1 mapcount:0 mapping:ffff88808ff88080 index:0x0 flags: 0xfffe0000000100(slab) raw: 00fffe0000000100 ffff88808ff88080 0000000000000000 000000010000000c raw: ffffea0002787fe0 ffffea000246a360 ffff8880a9e19900 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88808ff88400: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb ffff88808ff88480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88808ff88500: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc ^ ffff88808ff88580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88808ff88600: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc ==================================================================