================================================================== BUG: KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit read-write to 0xffff888106f2c158 of 8 bytes by task 14187 on cpu 0: ip_tunnel_xmit+0xec5/0x1180 net/ipv4/ip_tunnel.c:819 __gre_xmit net/ipv4/ip_gre.c:471 [inline] ipgre_xmit+0x523/0x570 net/ipv4/ip_gre.c:659 __netdev_start_xmit include/linux/netdevice.h:4778 [inline] netdev_start_xmit include/linux/netdevice.h:4792 [inline] xmit_one+0x105/0x2f0 net/core/dev.c:3532 dev_hard_start_xmit+0x72/0x120 net/core/dev.c:3548 __dev_queue_xmit+0x844/0xf00 net/core/dev.c:4176 dev_queue_xmit+0x13/0x20 net/core/dev.c:4209 __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_no_mac net/core/filter.c:2138 [inline] __bpf_redirect+0x554/0x8a0 net/core/filter.c:2161 ____bpf_clone_redirect net/core/filter.c:2428 [inline] bpf_clone_redirect+0x168/0x1c0 net/core/filter.c:2400 ___bpf_prog_run+0x278/0x2d40 kernel/bpf/core.c:1835 __bpf_prog_run512+0x70/0xa0 kernel/bpf/core.c:2064 bpf_dispatcher_nop_func include/linux/bpf.h:804 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x1eb/0x410 net/bpf/test_run.c:401 bpf_prog_test_run_skb+0x76b/0x9f0 net/bpf/test_run.c:1110 bpf_prog_test_run+0x22a/0x250 kernel/bpf/syscall.c:3369 __sys_bpf+0x367/0x600 kernel/bpf/syscall.c:4681 __do_sys_bpf kernel/bpf/syscall.c:4767 [inline] __se_sys_bpf kernel/bpf/syscall.c:4765 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:4765 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read-write to 0xffff888106f2c158 of 8 bytes by task 14174 on cpu 1: ip_tunnel_xmit+0xec5/0x1180 net/ipv4/ip_tunnel.c:819 __gre_xmit net/ipv4/ip_gre.c:471 [inline] ipgre_xmit+0x523/0x570 net/ipv4/ip_gre.c:659 __netdev_start_xmit include/linux/netdevice.h:4778 [inline] netdev_start_xmit include/linux/netdevice.h:4792 [inline] xmit_one+0x105/0x2f0 net/core/dev.c:3532 dev_hard_start_xmit+0x72/0x120 net/core/dev.c:3548 __dev_queue_xmit+0x844/0xf00 net/core/dev.c:4176 dev_queue_xmit+0x13/0x20 net/core/dev.c:4209 __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_no_mac net/core/filter.c:2138 [inline] __bpf_redirect+0x554/0x8a0 net/core/filter.c:2161 ____bpf_clone_redirect net/core/filter.c:2428 [inline] bpf_clone_redirect+0x168/0x1c0 net/core/filter.c:2400 ___bpf_prog_run+0x278/0x2d40 kernel/bpf/core.c:1835 __bpf_prog_run512+0x70/0xa0 kernel/bpf/core.c:2064 bpf_dispatcher_nop_func include/linux/bpf.h:804 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x1eb/0x410 net/bpf/test_run.c:401 bpf_prog_test_run_skb+0x76b/0x9f0 net/bpf/test_run.c:1110 bpf_prog_test_run+0x22a/0x250 kernel/bpf/syscall.c:3369 __sys_bpf+0x367/0x600 kernel/bpf/syscall.c:4681 __do_sys_bpf kernel/bpf/syscall.c:4767 [inline] __se_sys_bpf kernel/bpf/syscall.c:4765 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:4765 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0x00000000000002c6 -> 0x00000000000002cb Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 14174 Comm: syz-executor.3 Not tainted 5.18.0-rc1-syzkaller-00290-gf1b45d8ccb98-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================