syzbot


KCSAN: data-race in can_receive / can_receive (2)

Status: auto-closed as invalid on 2021/04/13 21:26
Subsystems: can
[Documentation on labels]
First crash: 1240d, last: 1198d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in can_receive / can_receive can 9 1608d 1677d 0/27 auto-closed as invalid on 2020/04/04 02:54
upstream KCSAN: data-race in can_receive / can_receive (3) can 1236 286d 796d 0/27 auto-obsoleted due to no activity on 2023/10/06 05:46

Sample crash report:
vcan0: j1939_xtp_rx_abort_one: 0x000000003217706f: 0x00000: (3) A timeout occurred and this is the connection abort to close the session.
vcan0: j1939_xtp_rx_abort_one: 0x00000000ac7a0e21: 0x00000: (3) A timeout occurred and this is the connection abort to close the session.
vcan0: j1939_xtp_rx_abort_one: 0x0000000034fa5f28: 0x00000: (3) A timeout occurred and this is the connection abort to close the session.
==================================================================
BUG: KCSAN: data-race in can_receive / can_receive

write to 0xffff88802202ff88 of 8 bytes by interrupt on cpu 1:
 can_receive+0x59/0x220 net/can/af_can.c:651
 can_rcv+0x9e/0x170 net/can/af_can.c:696
 __netif_receive_skb_one_core net/core/dev.c:5365 [inline]
 __netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5479
 process_backlog+0x23f/0x3e0 net/core/dev.c:6346
 __napi_poll+0x77/0x510 net/core/dev.c:6892
 napi_poll net/core/dev.c:6959 [inline]
 net_rx_action+0x29f/0x680 net/core/dev.c:7036
 __do_softirq+0x13c/0x2c3 kernel/softirq.c:345
 run_ksoftirqd+0x13/0x20 kernel/softirq.c:652
 smpboot_thread_fn+0x34f/0x520 kernel/smpboot.c:165
 kthread+0x20b/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

read to 0xffff88802202ff88 of 8 bytes by interrupt on cpu 0:
 can_receive+0x4a/0x220 net/can/af_can.c:651
 can_rcv+0x9e/0x170 net/can/af_can.c:696
 __netif_receive_skb_one_core net/core/dev.c:5365 [inline]
 __netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5479
 process_backlog+0x23f/0x3e0 net/core/dev.c:6346
 __napi_poll+0x77/0x510 net/core/dev.c:6892
 napi_poll net/core/dev.c:6959 [inline]
 net_rx_action+0x29f/0x680 net/core/dev.c:7036
 __do_softirq+0x13c/0x2c3 kernel/softirq.c:345
 run_ksoftirqd+0x13/0x20 kernel/softirq.c:652
 smpboot_thread_fn+0x34f/0x520 kernel/smpboot.c:165
 kthread+0x20b/0x230 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 12 Comm: ksoftirqd/0 Not tainted 5.12.0-rc2-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
2021/03/09 21:21 upstream 144c79ef3353 26967e35 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in can_receive / can_receive
2021/02/06 02:29 upstream 1e0d27fce010 23a562df .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in can_receive / can_receive
2021/01/26 13:51 upstream 13391c60da33 52e37319 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in can_receive / can_receive
* Struck through repros no longer work on HEAD.