================================================================== BUG: KCSAN: data-race in ip6_dst_gc / ip6_dst_gc read to 0xffff8880aec4e8cc of 4 bytes by task 9391 on cpu 1: dst_entries_get_fast include/net/dst_ops.h:47 [inline] ip6_dst_gc+0xf6/0x220 net/ipv6/route.c:3171 dst_alloc+0x104/0x149 net/core/dst.c:85 ip6_dst_alloc+0x3d/0x80 net/ipv6/route.c:353 ip6_rt_cache_alloc+0x8d/0x340 net/ipv6/route.c:1342 ip6_pol_route+0x4ec/0x5c0 net/ipv6/route.c:2221 ip6_pol_route_output+0x48/0x60 net/ipv6/route.c:2456 fib6_rule_lookup+0x95/0x470 net/ipv6/fib6_rules.c:113 ip6_route_output_flags_noref+0x16b/0x230 net/ipv6/route.c:2488 ip6_route_output_flags+0x50/0x1a0 net/ipv6/route.c:2501 ip6_dst_lookup_tail+0x25d/0xc30 net/ipv6/ip6_output.c:1052 ip6_dst_lookup_flow+0x68/0x120 net/ipv6/ip6_output.c:1153 rawv6_sendmsg+0x82c/0x21e0 net/ipv6/raw.c:928 inet_sendmsg+0x6d/0x90 net/ipv4/af_inet.c:807 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:657 kernel_sendmsg+0x4d/0x70 net/socket.c:677 sock_no_sendpage+0xda/0x110 net/core/sock.c:2742 kernel_sendpage+0x7b/0xc0 net/socket.c:3682 sock_sendpage+0x6c/0x90 net/socket.c:935 pipe_to_sendpage+0x102/0x180 fs/splice.c:449 splice_from_pipe_feed fs/splice.c:500 [inline] __splice_from_pipe+0x248/0x480 fs/splice.c:624 splice_from_pipe+0xbb/0x100 fs/splice.c:659 generic_splice_sendpage+0x45/0x60 fs/splice.c:829 do_splice_from fs/splice.c:848 [inline] direct_splice_actor+0xa0/0xc0 fs/splice.c:1020 splice_direct_to_actor+0x215/0x510 fs/splice.c:975 do_splice_direct+0x161/0x1e0 fs/splice.c:1063 do_sendfile+0x384/0x7f0 fs/read_write.c:1464 __do_sys_sendfile64 fs/read_write.c:1525 [inline] __se_sys_sendfile64 fs/read_write.c:1511 [inline] __x64_sys_sendfile64+0x12a/0x140 fs/read_write.c:1511 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff8880aec4e8cc of 4 bytes by task 9401 on cpu 0: ip6_dst_gc+0x19f/0x220 net/ipv6/route.c:3182 dst_alloc+0x104/0x149 net/core/dst.c:85 ip6_dst_alloc+0x3d/0x80 net/ipv6/route.c:353 ip6_rt_cache_alloc+0x8d/0x340 net/ipv6/route.c:1342 ip6_pol_route+0x4ec/0x5c0 net/ipv6/route.c:2221 ip6_pol_route_output+0x48/0x60 net/ipv6/route.c:2456 fib6_rule_lookup+0x95/0x470 net/ipv6/fib6_rules.c:113 ip6_route_output_flags_noref+0x16b/0x230 net/ipv6/route.c:2488 ip6_route_output_flags+0x50/0x1a0 net/ipv6/route.c:2501 ip6_dst_lookup_tail+0x25d/0xc30 net/ipv6/ip6_output.c:1052 ip6_dst_lookup_flow+0x68/0x120 net/ipv6/ip6_output.c:1153 rawv6_sendmsg+0x82c/0x21e0 net/ipv6/raw.c:928 inet_sendmsg+0x6d/0x90 net/ipv4/af_inet.c:807 sock_sendmsg_nosec net/socket.c:637 [inline] sock_sendmsg+0x9f/0xc0 net/socket.c:657 kernel_sendmsg+0x4d/0x70 net/socket.c:677 sock_no_sendpage+0xda/0x110 net/core/sock.c:2742 kernel_sendpage+0x7b/0xc0 net/socket.c:3682 sock_sendpage+0x6c/0x90 net/socket.c:935 pipe_to_sendpage+0x102/0x180 fs/splice.c:449 splice_from_pipe_feed fs/splice.c:500 [inline] __splice_from_pipe+0x248/0x480 fs/splice.c:624 splice_from_pipe+0xbb/0x100 fs/splice.c:659 generic_splice_sendpage+0x45/0x60 fs/splice.c:829 do_splice_from fs/splice.c:848 [inline] direct_splice_actor+0xa0/0xc0 fs/splice.c:1020 splice_direct_to_actor+0x215/0x510 fs/splice.c:975 do_splice_direct+0x161/0x1e0 fs/splice.c:1063 do_sendfile+0x384/0x7f0 fs/read_write.c:1464 __do_sys_sendfile64 fs/read_write.c:1525 [inline] __se_sys_sendfile64 fs/read_write.c:1511 [inline] __x64_sys_sendfile64+0x12a/0x140 fs/read_write.c:1511 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 9401 Comm: syz-executor.1 Not tainted 5.4.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================