batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 ================================================================== batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! BUG: KASAN: use-after-free in ether_addr_equal include/linux/etherdevice.h:321 [inline] BUG: KASAN: use-after-free in ipvlan_xmit_mode_l2 drivers/net/ipvlan/ipvlan_core.c:542 [inline] BUG: KASAN: use-after-free in ipvlan_queue_xmit+0xfe2/0x11e0 drivers/net/ipvlan/ipvlan_core.c:583 Read of size 4 at addr ffff888097c4d2bf by task syz-executor.0/9762 CPU: 1 PID: 9762 Comm: syz-executor.0 Not tainted 4.14.216-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+0x14b/0x1e7 lib/dump_stack.c:58 batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 print_address_description.cold.6+0x9/0x1ca mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report.cold.7+0x11a/0x2d3 mm/kasan/report.c:409 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:429 ether_addr_equal include/linux/etherdevice.h:321 [inline] ipvlan_xmit_mode_l2 drivers/net/ipvlan/ipvlan_core.c:542 [inline] ipvlan_queue_xmit+0xfe2/0x11e0 drivers/net/ipvlan/ipvlan_core.c:583 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:286 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! __netdev_start_xmit include/linux/netdevice.h:4039 [inline] netdev_start_xmit include/linux/netdevice.h:4048 [inline] packet_direct_xmit+0x3ed/0x630 net/packet/af_packet.c:269 packet_snd.isra.30+0x9ba/0x2650 net/packet/af_packet.c:3024 IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready packet_sendmsg+0x1007/0x27d0 net/packet/af_packet.c:3049 batman_adv: batadv0: Interface activated: batadv_slave_0 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:656 sock_write_iter+0x20d/0x400 net/socket.c:925 call_write_iter include/linux/fs.h:1778 [inline] aio_write+0x291/0x4e0 fs/aio.c:1553 io_submit_one fs/aio.c:1641 [inline] do_io_submit+0xb66/0x1290 fs/aio.c:1709 SYSC_io_submit fs/aio.c:1734 [inline] SyS_io_submit+0xb/0x10 fs/aio.c:1731 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45e149 RSP: 002b:00007f2df4cb7c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e149 RDX: 0000000020000080 RSI: 0000000000000001 RDI: 00007f2df4c97000 IPv6: ADDRCONF(NETDEV_UP): veth1_vlan: link is not ready RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000 device veth0_vlan entered promiscuous mode R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 device veth1_vlan entered promiscuous mode R13: 00007fffa277cc8f R14: 00007f2df4cb89c0 R15: 000000000119c034 BUG: unable to handle kernel NULL pointer dereference at 0000000000000014 IP: nearest_obj include/linux/slab_def.h:94 [inline] IP: print_address_description.cold.6+0x4b/0x1ca mm/kasan/report.c:257 PGD 97881067 P4D 97881067 PUD 989b0067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN Modules linked in: IPv6: ADDRCONF(NETDEV_UP): macvlan0: link is not ready IPv6: ADDRCONF(NETDEV_UP): macvlan1: link is not ready CPU: 1 PID: 9762 Comm: syz-executor.0 Not tainted 4.14.216-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880988600c0 task.stack: ffff8880a4d80000 RIP: 0010:nearest_obj include/linux/slab_def.h:94 [inline] RIP: 0010:print_address_description.cold.6+0x4b/0x1ca mm/kasan/report.c:257 RSP: 0018:ffff8880a4d87388 EFLAGS: 00010002 RAX: ffff888097c4d2bf RBX: ffff888097c4d2bf RCX: dead0000ffffffff RDX: ffffea00025f1301 RSI: 0000000000000000 RDI: ffffed10149b0e68 RBP: ffff8880a4d873b0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000028 R11: ffff8880988600c0 R12: ffffea00025f1340 R13: ffff888097c4d2bf R14: 0000000000000000 R15: ffff888097c4d2bf FS: 00007f2df4cb8700(0000) GS:ffff8880ba700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000014 CR3: 0000000097c61000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kasan_report_error mm/kasan/report.c:351 [inline] kasan_report.cold.7+0x11a/0x2d3 mm/kasan/report.c:409 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:429 ether_addr_equal include/linux/etherdevice.h:321 [inline] ipvlan_xmit_mode_l2 drivers/net/ipvlan/ipvlan_core.c:542 [inline] ipvlan_queue_xmit+0xfe2/0x11e0 drivers/net/ipvlan/ipvlan_core.c:583 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:286 __netdev_start_xmit include/linux/netdevice.h:4039 [inline] netdev_start_xmit include/linux/netdevice.h:4048 [inline] packet_direct_xmit+0x3ed/0x630 net/packet/af_packet.c:269 packet_snd.isra.30+0x9ba/0x2650 net/packet/af_packet.c:3024 packet_sendmsg+0x1007/0x27d0 net/packet/af_packet.c:3049 IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready device veth0_macvtap entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready device veth1_macvtap entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): macsec0: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth0_to_batadv: link is not ready IPv6: ADDRCONF(NETDEV_UP): veth1_to_batadv: link is not ready batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:656 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! batman_adv: The newly added mac address (aa:aa:aa:aa:aa:3d) already exists on: batadv_slave_0 batman_adv: It is strongly recommended to keep mac addresses unique to avoid problems! IPv6: ADDRCONF(NETDEV_UP): batadv_slave_0: link is not ready sock_write_iter+0x20d/0x400 net/socket.c:925 call_write_iter include/linux/fs.h:1778 [inline] aio_write+0x291/0x4e0 fs/aio.c:1553 io_submit_one fs/aio.c:1641 [inline] do_io_submit+0xb66/0x1290 fs/aio.c:1709 SYSC_io_submit fs/aio.c:1734 [inline] SyS_io_submit+0xb/0x10 fs/aio.c:1731 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45e149 RSP: 002b:00007f2df4cb7c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e149 RDX: 0000000020000080 RSI: 0000000000000001 RDI: 00007f2df4c97000 RBP: 000000000119c068 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c034 R13: 00007fffa277cc8f R14: 00007f2df4cb89c0 R15: 000000000119c034 Code: 54 24 20 4c 89 e0 f6 c2 01 0f 85 25 01 00 00 48 8b 00 f6 c4 01 0f 84 a6 00 00 00 4d 8b 74 24 30 48 89 d8 49 89 dd 49 8b 4c 24 08 <41> 8b 7e 14 48 29 c8 48 99 48 f7 ff 41 8b 46 24 49 29 d5 83 e8 RIP: nearest_obj include/linux/slab_def.h:94 [inline] RSP: ffff8880a4d87388 RIP: print_address_description.cold.6+0x4b/0x1ca mm/kasan/report.c:257 RSP: ffff8880a4d87388 CR2: 0000000000000014 ---[ end trace 238f0013de50282d ]--- batman_adv: batadv0: Interface activated: batadv_slave_0