IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready batman_adv: batadv0: Interface activated: batadv_slave_1 IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready ================================================================== BUG: KASAN: slab-out-of-bounds in ether_addr_equal include/linux/etherdevice.h:321 [inline] BUG: KASAN: slab-out-of-bounds in ipvlan_xmit_mode_l2 drivers/net/ipvlan/ipvlan_core.c:605 [inline] BUG: KASAN: slab-out-of-bounds in ipvlan_queue_xmit+0x9d2/0x18e0 drivers/net/ipvlan/ipvlan_core.c:651 Read of size 4 at addr ffff888099e45a7f by task syz-executor408/8329 CPU: 1 PID: 8329 Comm: syz-executor408 Not tainted 4.19.160-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+0x1fc/0x2fe lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1c7 mm/kasan/report.c:354 kasan_report mm/kasan/report.c:412 [inline] __asan_report_load4_noabort+0x88/0x90 mm/kasan/report.c:432 ether_addr_equal include/linux/etherdevice.h:321 [inline] ipvlan_xmit_mode_l2 drivers/net/ipvlan/ipvlan_core.c:605 [inline] ipvlan_queue_xmit+0x9d2/0x18e0 drivers/net/ipvlan/ipvlan_core.c:651 ipvlan_start_xmit+0x4f/0x190 drivers/net/ipvlan/ipvlan_main.c:290 __netdev_start_xmit include/linux/netdevice.h:4333 [inline] netdev_start_xmit include/linux/netdevice.h:4347 [inline] dev_direct_xmit+0x3f9/0x6d0 net/core/dev.c:3905 packet_snd net/packet/af_packet.c:2988 [inline] packet_sendmsg+0x2474/0x6aff net/packet/af_packet.c:3013 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:632 __sys_sendto+0x21a/0x320 net/socket.c:1787 __do_sys_sendto net/socket.c:1799 [inline] __se_sys_sendto net/socket.c:1795 [inline] __x64_sys_sendto+0xdd/0x1b0 net/socket.c:1795 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4441e9 Code: e8 6c 05 03 00 48 83 c4 18 c3 0f 1f 80 00 00 00 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 9b 07 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007ffd06f42758 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004441e9 RDX: 000000000000000e RSI: 0000000020000000 RDI: 0000000000000004 RBP: 00316e616c767069 R08: 0000000000000000 R09: ffffffffffffff09 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd06f42780 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 1: kmem_cache_alloc+0x122/0x370 mm/slab.c:3559 getname_flags+0xce/0x590 fs/namei.c:140 user_path_at_empty+0x2a/0x50 fs/namei.c:2609 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x113/0x210 fs/stat.c:185 vfs_lstat include/linux/fs.h:3138 [inline] __do_sys_newlstat fs/stat.c:350 [inline] __se_sys_newlstat+0x96/0x120 fs/stat.c:344 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 1: __cache_free mm/slab.c:3503 [inline] kmem_cache_free+0x7f/0x260 mm/slab.c:3765 putname+0xe1/0x120 fs/namei.c:261 filename_lookup+0x3d0/0x5a0 fs/namei.c:2358 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x113/0x210 fs/stat.c:185 vfs_lstat include/linux/fs.h:3138 [inline] __do_sys_newlstat fs/stat.c:350 [inline] __se_sys_newlstat+0x96/0x120 fs/stat.c:344 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff888099e44a40 which belongs to the cache names_cache of size 4096 The buggy address is located 63 bytes to the right of 4096-byte region [ffff888099e44a40, ffff888099e45a40) The buggy address belongs to the page: page:ffffea0002679100 count:1 mapcount:0 mapping:ffff88813be83e40 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea000267ee88 ffffea0002679308 ffff88813be83e40 raw: 0000000000000000 ffff888099e44a40 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888099e45900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888099e45980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888099e45a00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ^ ffff888099e45a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888099e45b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================