IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_team: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready ================================================================== IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready BUG: KASAN: use-after-free in _copy_to_user+0x84/0xb0 lib/usercopy.c:27 Read of size 924 at addr ffff88807afffff3 by task syz-executor.1/7024 CPU: 1 PID: 7024 Comm: syz-executor.1 Not tainted 4.14.172-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+0xf7/0x13b lib/dump_stack.c:58 print_address_description.cold.7+0x9/0x1c9 mm/kasan/report.c:252 IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready kasan_report_error mm/kasan/report.c:351 [inline] kasan_report.cold.8+0x11a/0x2d3 mm/kasan/report.c:409 check_memory_region_inline mm/kasan/kasan.c:260 [inline] check_memory_region+0x13e/0x1b0 mm/kasan/kasan.c:267 kasan_check_read+0x11/0x20 mm/kasan/kasan.c:272 _copy_to_user+0x84/0xb0 lib/usercopy.c:27 copy_to_user include/linux/uaccess.h:155 [inline] bpf_test_finish.isra.5+0xd5/0x170 net/bpf/test_run.c:59 bpf_prog_test_run_skb+0x66d/0xbc0 net/bpf/test_run.c:144 bpf_prog_test_run kernel/bpf/syscall.c:1264 [inline] SYSC_bpf kernel/bpf/syscall.c:1526 [inline] SyS_bpf+0x97e/0x28d3 kernel/bpf/syscall.c:1475 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459829 RSP: 002b:00007f34c0689c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829 RDX: 0000000000000028 RSI: 0000000020000140 RDI: 000000000000000a RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f34c068a6d4 R13: 00000000004bfb92 R14: 00000000004d1758 R15: 00000000ffffffff The buggy address belongs to the page: page:ffffea0001ebffc0 count:0 mapcount:0 mapping: (null) index:0x1 flags: 0x1fffc0000000000() raw: 01fffc0000000000 0000000000000000 0000000000000001 00000000ffffffff raw: dead000000000100 dead000000000200 0000000000000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88807afffe80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88807affff00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88807affff80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88807b000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88807b000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================