syzbot


KCSAN: data-race in br_handle_frame_finish / br_handle_frame_finish (4)

Status: auto-closed as invalid on 2020/12/27 17:42
Subsystems: bridge
[Documentation on labels]
Reported-by: syzbot+69b95a9f2df25e89fe0f@syzkaller.appspotmail.com
First crash: 1265d, last: 1249d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in br_handle_frame_finish / br_handle_frame_finish (3) bridge 11 1300d 1385d 0/26 auto-closed as invalid on 2020/11/07 07:33
upstream KCSAN: data-race in br_handle_frame_finish / br_handle_frame_finish (7) bridge 92 272d 711d 0/26 auto-obsoleted due to no activity on 2023/09/01 04:22
upstream KCSAN: data-race in br_handle_frame_finish / br_handle_frame_finish (5) bridge 2 1157d 1189d 0/26 auto-closed as invalid on 2021/03/30 00:44
upstream KCSAN: data-race in br_handle_frame_finish / br_handle_frame_finish (8) bridge 1 221d 220d 25/26 fixed on 2023/12/21 01:43
upstream KCSAN: data-race in br_handle_frame_finish / br_handle_frame_finish bridge 3 1542d 1622d 0/26 auto-closed as invalid on 2020/04/14 05:00
upstream KCSAN: data-race in br_handle_frame_finish / br_handle_frame_finish (2) bridge 1 1417d 1417d 0/26 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in br_handle_frame_finish / br_handle_frame_finish (6) bridge 7 774d 896d 0/26 auto-closed as invalid on 2022/04/16 22:53

Sample crash report:
==================================================================
BUG: KCSAN: data-race in br_handle_frame_finish / br_handle_frame_finish

read-write to 0xffff888023429148 of 8 bytes by interrupt on cpu 1:
 br_handle_frame_finish+0x939/0xa10 net/bridge/br_input.c:146
 br_nf_hook_thresh+0x184/0x1c0 net/bridge/br_netfilter_hooks.c:1021
 br_nf_pre_routing_finish_ipv6+0x473/0x490 net/bridge/br_netfilter_ipv6.c:187
 NF_HOOK include/linux/netfilter.h:301 [inline]
 br_nf_pre_routing_ipv6+0x1ed/0x280 net/bridge/br_netfilter_ipv6.c:236
 br_nf_pre_routing+0x4c0/0xb20 net/bridge/br_netfilter_hooks.c:505
 nf_hook_entry_hookfn include/linux/netfilter.h:136 [inline]
 nf_hook_bridge_pre net/bridge/br_input.c:228 [inline]
 br_handle_frame+0x403/0xae0 net/bridge/br_input.c:356
 __netif_receive_skb_core+0xa5c/0x1dd0 net/core/dev.c:5209
 __netif_receive_skb_one_core net/core/dev.c:5313 [inline]
 __netif_receive_skb+0x52/0x1b0 net/core/dev.c:5429
 process_backlog+0x23f/0x3d0 net/core/dev.c:6319
 napi_poll+0x178/0x4c0 net/core/dev.c:6763
 net_rx_action+0x17a/0x480 net/core/dev.c:6833
 __do_softirq+0x12c/0x2b1 kernel/softirq.c:298
 run_ksoftirqd+0x13/0x20 kernel/softirq.c:653
 smpboot_thread_fn+0x34f/0x520 kernel/smpboot.c:165
 kthread+0x1fa/0x220 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

read-write to 0xffff888023429148 of 8 bytes by interrupt on cpu 0:
 br_handle_frame_finish+0x939/0xa10 net/bridge/br_input.c:146
 br_nf_hook_thresh+0x184/0x1c0 net/bridge/br_netfilter_hooks.c:1021
 br_nf_pre_routing_finish_ipv6+0x473/0x490 net/bridge/br_netfilter_ipv6.c:187
 NF_HOOK include/linux/netfilter.h:301 [inline]
 br_nf_pre_routing_ipv6+0x1ed/0x280 net/bridge/br_netfilter_ipv6.c:236
 br_nf_pre_routing+0x4c0/0xb20 net/bridge/br_netfilter_hooks.c:505
 nf_hook_entry_hookfn include/linux/netfilter.h:136 [inline]
 nf_hook_bridge_pre net/bridge/br_input.c:228 [inline]
 br_handle_frame+0x403/0xae0 net/bridge/br_input.c:356
 __netif_receive_skb_core+0xa5c/0x1dd0 net/core/dev.c:5209
 __netif_receive_skb_one_core net/core/dev.c:5313 [inline]
 __netif_receive_skb+0x52/0x1b0 net/core/dev.c:5429
 process_backlog+0x23f/0x3d0 net/core/dev.c:6319
 napi_poll+0x178/0x4c0 net/core/dev.c:6763
 net_rx_action+0x17a/0x480 net/core/dev.c:6833
 __do_softirq+0x12c/0x2b1 kernel/softirq.c:298
 run_ksoftirqd+0x13/0x20 kernel/softirq.c:653
 smpboot_thread_fn+0x34f/0x520 kernel/smpboot.c:165
 kthread+0x1fa/0x220 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 10 Comm: ksoftirqd/0 Not tainted 5.10.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/22 17:41 upstream a349e4c65960 0d27f508 .config console log report info ci2-upstream-kcsan-gce
2020/11/18 21:21 upstream c2e7554e1b85 0767f13f .config console log report info ci2-upstream-kcsan-gce
2020/11/07 15:53 upstream 659caaf65dc9 cba33199 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.