IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes 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 ================================================================== 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 ffff88809bf3777f by task syz-executor.3/9895 CPU: 1 PID: 9895 Comm: syz-executor.3 Not tainted 4.19.197-syzkaller #0 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready 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+0x17c/0x226 lib/dump_stack.c:118 print_address_description.cold.6+0x9/0x211 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.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 ipvlan_start_xmit+0x4a/0x150 drivers/net/ipvlan/ipvlan_main.c:290 wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 __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 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 packet_direct_xmit+0xd6/0x140 net/packet/af_packet.c:246 packet_snd net/packet/af_packet.c:2988 [inline] packet_sendmsg+0x3479/0x6670 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 __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:00007f912918a188 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 00000000004665d9 RDX: 000000000000000e RSI: 0000000020000080 RDI: 0000000000000005 RBP: 00000000004bfcb9 R08: 0000000020000040 R09: 0000000000000014 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007fff928539ef R14: 00007f912918a300 R15: 0000000000022000 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready Allocated by task 8411: 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 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready getname+0xd/0x10 fs/namei.c:211 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready do_sys_open+0x14b/0x350 fs/open.c:1079 __do_sys_open fs/open.c:1103 [inline] __se_sys_open fs/open.c:1098 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1098 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 8411: 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 putname+0xa8/0xe0 fs/namei.c:261 do_sys_open+0x16d/0x350 fs/open.c:1094 __do_sys_open fs/open.c:1103 [inline] __se_sys_open fs/open.c:1098 [inline] __x64_sys_open+0x79/0xb0 fs/open.c:1098 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 ffff88809bf365c0 which belongs to the cache names_cache of size 4096 The buggy address is located 447 bytes to the right of 4096-byte region [ffff88809bf365c0, ffff88809bf375c0) The buggy address belongs to the page: page:ffffea00026fcd80 count:1 mapcount:0 mapping:ffff88813be46080 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea00026fce08 ffffea0002ad0a88 ffff88813be46080 raw: 0000000000000000 ffff88809bf365c0 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88809bf37600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88809bf37680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88809bf37700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88809bf37780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88809bf37800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================