================================================================== BUG: KCSAN: data-race in hsr_register_frame_out / hsr_register_frame_out read to 0xffff88813d4f37fc of 2 bytes by task 17803 on cpu 1: hsr_register_frame_out+0x30/0xf0 net/hsr/hsr_framereg.c:458 hsr_forward_do net/hsr/hsr_forward.c:442 [inline] hsr_forward_skb+0x6ab/0xec0 net/hsr/hsr_forward.c:620 hsr_dev_xmit+0xb7/0xe0 net/hsr/hsr_device.c:222 __netdev_start_xmit include/linux/netdevice.h:4994 [inline] netdev_start_xmit include/linux/netdevice.h:5008 [inline] xmit_one+0x105/0x2f0 net/core/dev.c:3590 dev_hard_start_xmit net/core/dev.c:3606 [inline] __dev_queue_xmit+0x869/0xf70 net/core/dev.c:4229 dev_queue_xmit+0x13/0x20 net/core/dev.c:4262 __bpf_tx_skb net/core/filter.c:2114 [inline] __bpf_redirect_common net/core/filter.c:2153 [inline] __bpf_redirect+0x757/0x840 net/core/filter.c:2160 ____bpf_clone_redirect net/core/filter.c:2429 [inline] bpf_clone_redirect+0x168/0x1c0 net/core/filter.c:2401 ___bpf_prog_run+0xc87/0x30c0 kernel/bpf/core.c:1558 __bpf_prog_run512+0x70/0xa0 kernel/bpf/core.c:1786 bpf_dispatcher_nop_func include/linux/bpf.h:727 [inline] __bpf_prog_run include/linux/filter.h:626 [inline] bpf_prog_run include/linux/filter.h:633 [inline] bpf_test_run+0x18b/0x400 net/bpf/test_run.c:120 bpf_prog_test_run_skb+0x73d/0xed0 net/bpf/test_run.c:666 bpf_prog_test_run kernel/bpf/syscall.c:3349 [inline] __sys_bpf+0x3ca4/0xa3c0 kernel/bpf/syscall.c:4651 __do_sys_bpf kernel/bpf/syscall.c:4737 [inline] __se_sys_bpf kernel/bpf/syscall.c:4735 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:4735 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae write to 0xffff88813d4f37fc of 2 bytes by task 17816 on cpu 0: hsr_register_frame_out+0xd2/0xf0 net/hsr/hsr_framereg.c:464 hsr_forward_do net/hsr/hsr_forward.c:442 [inline] hsr_forward_skb+0x6ab/0xec0 net/hsr/hsr_forward.c:620 hsr_dev_xmit+0xb7/0xe0 net/hsr/hsr_device.c:222 __netdev_start_xmit include/linux/netdevice.h:4994 [inline] netdev_start_xmit include/linux/netdevice.h:5008 [inline] xmit_one+0x105/0x2f0 net/core/dev.c:3590 dev_hard_start_xmit net/core/dev.c:3606 [inline] __dev_queue_xmit+0x869/0xf70 net/core/dev.c:4229 dev_queue_xmit+0x13/0x20 net/core/dev.c:4262 __bpf_tx_skb net/core/filter.c:2114 [inline] __bpf_redirect_common net/core/filter.c:2153 [inline] __bpf_redirect+0x757/0x840 net/core/filter.c:2160 ____bpf_clone_redirect net/core/filter.c:2429 [inline] bpf_clone_redirect+0x168/0x1c0 net/core/filter.c:2401 ___bpf_prog_run+0xc87/0x30c0 kernel/bpf/core.c:1558 __bpf_prog_run512+0x70/0xa0 kernel/bpf/core.c:1786 bpf_dispatcher_nop_func include/linux/bpf.h:727 [inline] __bpf_prog_run include/linux/filter.h:626 [inline] bpf_prog_run include/linux/filter.h:633 [inline] bpf_test_run+0x18b/0x400 net/bpf/test_run.c:120 bpf_prog_test_run_skb+0x73d/0xed0 net/bpf/test_run.c:666 bpf_prog_test_run kernel/bpf/syscall.c:3349 [inline] __sys_bpf+0x3ca4/0xa3c0 kernel/bpf/syscall.c:4651 __do_sys_bpf kernel/bpf/syscall.c:4737 [inline] __se_sys_bpf kernel/bpf/syscall.c:4735 [inline] __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:4735 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xac00 -> 0xac02 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 17816 Comm: syz-executor.2 Not tainted 5.16.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================