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: 433d, last: 6h57m
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 693d 736d 0/24 auto-closed as invalid on 2021/04/13 21:26
upstream KCSAN: data-race in can_receive / can_receive 9 1103d 1172d 0/24 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 0xffff888122e72be8 of 8 bytes by interrupt on cpu 1:
 can_receive+0x62/0x1f0 net/can/af_can.c:650
 canfd_rcv+0xe3/0x180 net/can/af_can.c:702
 __netif_receive_skb_one_core net/core/dev.c:5482 [inline]
 __netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5596
 process_backlog+0x23f/0x3b0 net/core/dev.c:5924
 __napi_poll+0x65/0x390 net/core/dev.c:6485
 napi_poll net/core/dev.c:6552 [inline]
 net_rx_action+0x37e/0x730 net/core/dev.c:6663
 __do_softirq+0xf2/0x2c7 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 arch/x86/entry/entry_64.S:308

read-write to 0xffff888122e72be8 of 8 bytes by interrupt on cpu 0:
 can_receive+0x62/0x1f0 net/can/af_can.c:650
 canfd_rcv+0xe3/0x180 net/can/af_can.c:702
 __netif_receive_skb_one_core net/core/dev.c:5482 [inline]
 __netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5596
 process_backlog+0x23f/0x3b0 net/core/dev.c:5924
 __napi_poll+0x65/0x390 net/core/dev.c:6485
 napi_poll net/core/dev.c:6552 [inline]
 net_rx_action+0x37e/0x730 net/core/dev.c:6663
 __do_softirq+0xf2/0x2c7 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 arch/x86/entry/entry_64.S:308

value changed: 0x0000000000000c27 -> 0x0000000000000c29

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 12 Comm: ksoftirqd/0 Not tainted 6.2.0-rc6-syzkaller-00011-gc0b67534c95c-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================
sched: RT throttling activated

Crashes (755):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-kcsan-gce 2023/02/01 10:22 upstream c0b67534c95c 9a6f477c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/02/01 04:38 upstream c0b67534c95c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/31 14:35 upstream 22b8077d0fce b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/31 00:48 upstream 6d796c50f84c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/30 09:34 upstream 6d796c50f84c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/29 20:20 upstream ab072681eabe 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/28 23:50 upstream c96618275234 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/28 10:43 upstream 5af6ce704936 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/27 21:29 upstream 83abd4d4c4be 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/26 01:28 upstream 7c46948a6e9c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/25 11:52 upstream 948ef7bb70c4 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/24 22:20 upstream fb6e71db53f3 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/23 20:47 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/23 14:07 upstream 2475bf0250de 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/23 12:50 upstream 2475bf0250de 44388686 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/23 11:29 upstream 2475bf0250de 44388686 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/23 07:44 upstream 2475bf0250de 44388686 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/22 21:20 upstream 2475bf0250de cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/22 05:07 upstream 2241ab53cbb5 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/21 15:25 upstream f883675bf652 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/21 00:51 upstream edc00350d205 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/20 22:58 upstream edc00350d205 dd15ff29 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/20 09:10 upstream d368967cb103 dd15ff29 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/19 21:35 upstream 081edded9b38 71197f3a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/19 06:46 upstream 7287904c8771 4620c2d9 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/17 16:41 upstream 6e50979a9c87 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/16 21:51 upstream d532dd102151 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/16 02:19 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/15 06:54 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/14 11:08 upstream 97ec4d559d93 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/14 09:59 upstream 97ec4d559d93 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/13 14:42 upstream d9fc1511728c 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/13 04:43 upstream c757fc92a3f7 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/12 08:36 upstream e8f60cd7db24 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/11 13:40 upstream 7dd4b804e080 96166539 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/11 01:44 upstream 40c18f363a08 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/10 07:55 upstream 5a41237ad1d4 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/09 21:30 upstream 1fe4fd6f5cad 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/09 03:18 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/08 09:27 upstream 9b43a525db12 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/07 15:14 upstream 0a71553536d2 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/06 18:11 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/05 21:48 upstream 41c03ba9beea 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/05 05:03 upstream 512dee0c00ad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/04 07:18 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2023/01/03 10:54 upstream 69b41ac87e4a f0036e18 .config console log report info [disk image] [vmlinux] [kernel image] KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/04/15 16:41 upstream 028192fea1de 8bcc32a6 .config console log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2022/04/15 13:17 upstream b9b4c79e5830 b17b2923 .config console log report info KCSAN: data-race in can_receive / can_receive
ci2-upstream-kcsan-gce 2021/11/25 14:00 upstream 5f53fa508db0 545ab074 .config console log report info KCSAN: data-race in can_receive / can_receive
* Struck through repros no longer work on HEAD.