syzbot


KCSAN: data-race in hsr_forward_skb / hsr_forward_skb (3)

Status: auto-closed as invalid on 2020/08/24 16:27
Subsystems: net
[Documentation on labels]
First crash: 1653d, last: 1653d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in hsr_forward_skb / hsr_forward_skb (4) net 2 1582d 1603d 0/28 auto-closed as invalid on 2020/11/03 11:23
upstream KCSAN: data-race in hsr_forward_skb / hsr_forward_skb (2) net 1 1712d 1712d 0/28 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in hsr_forward_skb / hsr_forward_skb net 1 1878d 1878d 0/28 auto-closed as invalid on 2020/02/16 12:36
upstream KCSAN: data-race in hsr_forward_skb / hsr_forward_skb (5) net 1 1490d 1490d 0/28 auto-closed as invalid on 2021/02/03 21:38

Sample crash report:
hsr_slave_0: hsr_addr_subst_dest: Unknown node
hsr_slave_1: hsr_addr_subst_dest: Unknown node
hsr_slave_0: hsr_addr_subst_dest: Unknown node
hsr_slave_1: hsr_addr_subst_dest: Unknown node
==================================================================
BUG: KCSAN: data-race in hsr_forward_skb / hsr_forward_skb

write to 0xffff8880a4980120 of 8 bytes by task 15026 on cpu 1:
 hsr_forward_skb+0xf80/0x10c0 net/hsr/hsr_forward.c:367
 hsr_dev_xmit+0x56/0x80 net/hsr/hsr_device.c:221
 __netdev_start_xmit include/linux/netdevice.h:4611 [inline]
 netdev_start_xmit include/linux/netdevice.h:4625 [inline]
 xmit_one+0xc0/0x310 net/core/dev.c:3556
 dev_hard_start_xmit net/core/dev.c:3572 [inline]
 __dev_queue_xmit+0xf00/0x15a0 net/core/dev.c:4131
 dev_queue_xmit+0x13/0x20 net/core/dev.c:4164
 __bpf_tx_skb net/core/filter.c:2086 [inline]
 __bpf_redirect_common net/core/filter.c:2125 [inline]
 __bpf_redirect+0x6c8/0x7c0 net/core/filter.c:2132
 ____bpf_clone_redirect net/core/filter.c:2165 [inline]
 bpf_clone_redirect+0x168/0x1c0 net/core/filter.c:2137
 bpf_prog_15224e9516814752+0x5c/0x260
 bpf_dispatcher_nop_func include/linux/bpf.h:556 [inline]
 bpf_test_run+0x26d/0x4a0 net/bpf/test_run.c:49
 bpf_prog_test_run_skb+0x463/0xb00 net/bpf/test_run.c:459
 bpf_prog_test_run kernel/bpf/syscall.c:2983 [inline]
 __do_sys_bpf+0x3859/0x98a0 kernel/bpf/syscall.c:4135
 __se_sys_bpf kernel/bpf/syscall.c:4075 [inline]
 __x64_sys_bpf+0x3d/0x50 kernel/bpf/syscall.c:4075
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8880a4980120 of 8 bytes by task 15011 on cpu 0:
 hsr_forward_skb+0xf71/0x10c0 net/hsr/hsr_forward.c:367
 hsr_dev_xmit+0x56/0x80 net/hsr/hsr_device.c:221
 __netdev_start_xmit include/linux/netdevice.h:4611 [inline]
 netdev_start_xmit include/linux/netdevice.h:4625 [inline]
 xmit_one+0xc0/0x310 net/core/dev.c:3556
 dev_hard_start_xmit net/core/dev.c:3572 [inline]
 __dev_queue_xmit+0xf00/0x15a0 net/core/dev.c:4131
 dev_queue_xmit+0x13/0x20 net/core/dev.c:4164
 __bpf_tx_skb net/core/filter.c:2086 [inline]
 __bpf_redirect_common net/core/filter.c:2125 [inline]
 __bpf_redirect+0x6c8/0x7c0 net/core/filter.c:2132
 ____bpf_clone_redirect net/core/filter.c:2165 [inline]
 bpf_clone_redirect+0x168/0x1c0 net/core/filter.c:2137
 bpf_prog_15224e9516814752+0x5c/0xe0c
 bpf_dispatcher_nop_func include/linux/bpf.h:556 [inline]
 bpf_test_run+0x26d/0x4a0 net/bpf/test_run.c:49
 bpf_prog_test_run_skb+0x463/0xb00 net/bpf/test_run.c:459
 bpf_prog_test_run kernel/bpf/syscall.c:2983 [inline]
 __do_sys_bpf+0x3859/0x98a0 kernel/bpf/syscall.c:4135
 __se_sys_bpf kernel/bpf/syscall.c:4075 [inline]
 __x64_sys_bpf+0x3d/0x50 kernel/bpf/syscall.c:4075
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 15011 Comm: syz-executor.5 Not tainted 5.8.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/20 16:26 upstream 5714ee50bb43 8caeeeb7 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.