syzbot


KCSAN: data-race in can_receive / can_receive (3)
Status: moderation: reported on 2022/04/15 18:29
Reported-by: syzbot+ed5906c7292193a70bc4@syzkaller.appspotmail.com
First crash: 183d, last: 10h42m
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in can_receive / can_receive (2) 3 443d 486d 0/22 auto-closed as invalid on 2021/04/13 21:26
upstream KCSAN: data-race in can_receive / can_receive 9 853d 922d 0/22 auto-closed as invalid on 2020/04/04 02:54

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

read-write to 0xffff8881040bb788 of 8 bytes by interrupt on cpu 0:
 can_receive+0x4e/0x1f0 net/can/af_can.c:651
 canfd_rcv+0x9e/0x170 net/can/af_can.c:722
 __netif_receive_skb_one_core net/core/dev.c:5478 [inline]
 __netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5592
 process_backlog+0x23f/0x3b0 net/core/dev.c:5920
 __napi_poll+0x65/0x390 net/core/dev.c:6486
 napi_poll net/core/dev.c:6553 [inline]
 net_rx_action+0x37e/0x730 net/core/dev.c:6664
 __do_softirq+0x158/0x2e3 kernel/softirq.c:571
 run_ksoftirqd+0x1f/0x30 kernel/softirq.c:934
 smpboot_thread_fn+0x308/0x4a0 kernel/smpboot.c:164
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

read-write to 0xffff8881040bb788 of 8 bytes by interrupt on cpu 1:
 can_receive+0x4e/0x1f0 net/can/af_can.c:651
 canfd_rcv+0x9e/0x170 net/can/af_can.c:722
 __netif_receive_skb_one_core net/core/dev.c:5478 [inline]
 __netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5592
 process_backlog+0x23f/0x3b0 net/core/dev.c:5920
 __napi_poll+0x65/0x390 net/core/dev.c:6486
 napi_poll net/core/dev.c:6553 [inline]
 net_rx_action+0x37e/0x730 net/core/dev.c:6664
 __do_softirq+0x158/0x2e3 kernel/softirq.c:571
 run_ksoftirqd+0x1f/0x30 kernel/softirq.c:934
 smpboot_thread_fn+0x308/0x4a0 kernel/smpboot.c:164
 kthread+0x1a9/0x1e0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30

value changed: 0x000000000000274b -> 0x000000000000274c

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 20 Comm: ksoftirqd/1 Not tainted 5.18.0-syzkaller-10037-g7e284070abe5-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (226):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/27 08:48 upstream 7e284070abe5 116e7a7b .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/26 21:37 upstream 16477cdfefdb 3037caa9 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/26 10:34 upstream d7227785e384 3037caa9 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/25 13:12 upstream fdaf9a5840ac 647c0e27 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/24 22:32 upstream 0350785b0a09 647c0e27 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/24 10:48 upstream 143a6252e1b8 fcfad4ff .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/23 23:55 upstream 140e40e39a29 e7f9308d .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/23 09:32 upstream 4b0986a3613c 7268fa62 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/22 20:06 upstream 978df3e15846 7268fa62 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/22 06:47 upstream eaea45fc0e7b 7268fa62 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/21 17:45 upstream 6c3f5bec9b40 7268fa62 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/20 16:02 upstream 3d7285a335ed bd37ad7e .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/20 14:19 upstream 3d7285a335ed cb1ac2e7 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/20 01:16 upstream b015dcd62b86 cb1ac2e7 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/19 11:38 upstream f993aed406ea cb1ac2e7 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/19 06:45 upstream f993aed406ea 50c53f39 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/18 16:50 upstream ef1302160bfb 50c53f39 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/18 13:51 upstream 210e04ff7681 50c53f39 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/18 00:45 upstream 210e04ff7681 744a39e2 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/16 03:31 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/15 14:54 upstream bc403203d65a 744a39e2 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/15 00:28 upstream 2fe1020d73ca 744a39e2 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/14 10:47 upstream ec7f49619d8e 744a39e2 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/13 21:44 upstream f2dd007445b1 107f6434 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/13 10:00 upstream f3f19f939c11 7ce5a022 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/13 08:16 upstream f3f19f939c11 9ad6612a .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/12 19:02 upstream 0ac824f379fb 9ad6612a .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/12 13:23 upstream feb9c5e19e91 9ad6612a .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/11 16:57 upstream feb9c5e19e91 beb0b407 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/11 01:57 upstream feb9c5e19e91 8d7b3b67 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/09 17:40 upstream 9be9ed2612b5 8b277b8e .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/09 10:45 upstream c5eb0a61238d 8b277b8e .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/09 09:04 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/09 07:15 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/09 05:51 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/09 04:14 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/09 03:07 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/09 00:54 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/08 22:39 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/08 21:30 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/08 21:28 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/08 20:08 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/08 18:03 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/08 17:02 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/08 15:48 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/08 14:32 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/05/08 13:12 upstream 30c8e80f7932 e60b1103 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/04/15 16:41 upstream 028192fea1de 8bcc32a6 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/04/15 13:17 upstream b9b4c79e5830 b17b2923 .config log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2021/11/25 14:00 upstream 5f53fa508db0 545ab074 .config log report info KCSAN: data-race in can_receive / can_receive