wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready ================================================================== BUG: KASAN: slab-out-of-bounds in ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:533 [inline] BUG: KASAN: slab-out-of-bounds in ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:593 [inline] BUG: KASAN: slab-out-of-bounds in ipvlan_queue_xmit+0x89d/0x1630 drivers/net/ipvlan/ipvlan_core.c:654 Read of size 4 at addr ffff8880985aa27f by task syz-executor.0/9865 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 CPU: 1 PID: 9865 Comm: syz-executor.0 Not tainted 4.19.204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x17c/0x226 lib/dump_stack.c:118 print_address_description.cold.6+0x9/0x211 mm/kasan/report.c:256 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready kasan_report_error mm/kasan/report.c:354 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold.7+0x242/0x2fe mm/kasan/report.c:396 __asan_report_load4_noabort+0x14/0x20 mm/kasan/report.c:432 ipvlan_process_outbound drivers/net/ipvlan/ipvlan_core.c:533 [inline] ipvlan_xmit_mode_l3 drivers/net/ipvlan/ipvlan_core.c:593 [inline] ipvlan_queue_xmit+0x89d/0x1630 drivers/net/ipvlan/ipvlan_core.c:654 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:290 __netdev_start_xmit include/linux/netdevice.h:4345 [inline] netdev_start_xmit include/linux/netdevice.h:4359 [inline] dev_direct_xmit+0x2db/0x620 net/core/dev.c:3905 packet_direct_xmit+0xd6/0x140 net/packet/af_packet.c:246 packet_snd net/packet/af_packet.c:2988 [inline] packet_sendmsg+0x367a/0x6cf0 net/packet/af_packet.c:3013 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xac/0xf0 net/socket.c:661 __sys_sendto+0x1f2/0x2e0 net/socket.c:1897 IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 __do_sys_sendto net/socket.c:1909 [inline] __se_sys_sendto net/socket.c:1905 [inline] __x64_sys_sendto+0xdc/0x1a0 net/socket.c:1905 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665d9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3b32d98188 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 00000000004665d9 RDX: 000000000000000e RSI: 0000000020000080 RDI: 0000000000000005 ieee80211 phy11: Selected rate control algorithm 'minstrel_ht' RBP: 00000000004bfcb9 R08: 0000000020000040 R09: 0000000000000014 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 R13: 00007ffd361ee09f R14: 00007f3b32d98300 R15: 0000000000022000 Allocated by task 4697: save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc.part.1+0x62/0xf0 mm/kasan/kasan.c:553 kasan_kmalloc+0xaf/0xc0 mm/kasan/kasan.c:538 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:490 kmem_cache_alloc+0x12e/0x390 mm/slab.c:3559 getname_flags+0xb8/0x510 fs/namei.c:140 user_path_at_empty+0x1e/0x40 fs/namei.c:2609 do_readlinkat+0xcc/0x2b0 fs/stat.c:394 __do_sys_readlinkat fs/stat.c:421 [inline] __se_sys_readlinkat fs/stat.c:418 [inline] __x64_sys_readlinkat+0x92/0xf0 fs/stat.c:418 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 4697: save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] __kasan_slab_free+0x13c/0x220 mm/kasan/kasan.c:521 kasan_slab_free+0xe/0x10 mm/kasan/kasan.c:528 __cache_free mm/slab.c:3503 [inline] kmem_cache_free+0x83/0x290 mm/slab.c:3765 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready putname+0xa8/0xe0 fs/namei.c:261 filename_lookup.part.21+0x1ec/0x360 fs/namei.c:2358 filename_lookup fs/namei.c:2342 [inline] user_path_at_empty+0x39/0x40 fs/namei.c:2609 do_readlinkat+0xcc/0x2b0 fs/stat.c:394 __do_sys_readlinkat fs/stat.c:421 [inline] __se_sys_readlinkat fs/stat.c:418 [inline] __x64_sys_readlinkat+0x92/0xf0 fs/stat.c:418 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff8880985aa580 which belongs to the cache names_cache of size 4096 The buggy address is located 769 bytes to the left of 4096-byte region [ffff8880985aa580, ffff8880985ab580) The buggy address belongs to the page: page:ffffea0002616a80 count:1 mapcount:0 mapping:ffff88813be46080 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea0002613b88 ffffea000262c488 ffff88813be46080 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready raw: 0000000000000000 ffff8880985aa580 0000000100000001 0000000000000000 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880985aa100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880985aa180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880985aa200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880985aa280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880985aa300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ff c3 inc %ebx 2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 9: 00 00 00 c: 0f 1f 40 00 nopl 0x0(%rax) 10: 48 89 f8 mov %rdi,%rax 13: 48 89 f7 mov %rsi,%rdi 16: 48 89 d6 mov %rdx,%rsi 19: 48 89 ca mov %rcx,%rdx 1c: 4d 89 c2 mov %r8,%r10 1f: 4d 89 c8 mov %r9,%r8 22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 27: 0f 05 syscall 29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 2f: 73 01 jae 0x32 31: c3 retq 32: 48 c7 c1 bc ff ff ff mov $0xffffffffffffffbc,%rcx 39: f7 d8 neg %eax 3b: 64 89 01 mov %eax,%fs:(%rcx) 3e: 48 rex.W