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

4 views
Skip to first unread message

syzbot

unread,
Apr 15, 2022, 2:29:34 PM4/15/22
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 028192fea1de Merge tag 'drm-fixes-2022-04-15' of git://ano..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=160e1824f00000
kernel config: https://syzkaller.appspot.com/x/.config?x=8fc0fa8e947beef
dashboard link: https://syzkaller.appspot.com/bug?extid=ed5906c7292193a70bc4
compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [da...@davemloft.net ku...@kernel.org linu...@vger.kernel.org linux-...@vger.kernel.org m...@pengutronix.de net...@vger.kernel.org pab...@redhat.com sock...@hartkopp.net]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+ed5906...@syzkaller.appspotmail.com

==================================================================
BUG: KCSAN: data-race in can_receive / can_receive

read-write to 0xffff888108dabd88 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:5405 [inline]
__netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5519
process_backlog+0x23f/0x3b0 net/core/dev.c:5847
__napi_poll+0x65/0x390 net/core/dev.c:6413
napi_poll net/core/dev.c:6480 [inline]
net_rx_action+0x29e/0x650 net/core/dev.c:6567
__do_softirq+0x158/0x2e3 kernel/softirq.c:558
run_ksoftirqd+0x1f/0x30 kernel/softirq.c:921
smpboot_thread_fn+0x308/0x4a0 kernel/smpboot.c:164
kthread+0x1a9/0x1e0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30

read-write to 0xffff888108dabd88 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:5405 [inline]
__netif_receive_skb+0x8b/0x1b0 net/core/dev.c:5519
process_backlog+0x23f/0x3b0 net/core/dev.c:5847
__napi_poll+0x65/0x390 net/core/dev.c:6413
napi_poll net/core/dev.c:6480 [inline]
net_rx_action+0x29e/0x650 net/core/dev.c:6567
__do_softirq+0x158/0x2e3 kernel/softirq.c:558
run_ksoftirqd+0x1f/0x30 kernel/softirq.c:921
smpboot_thread_fn+0x308/0x4a0 kernel/smpboot.c:164
kthread+0x1a9/0x1e0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30

value changed: 0x000000000000d094 -> 0x000000000000d095

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.18.0-rc2-syzkaller-00219-g028192fea1de-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Oct 6, 2023, 1:46:42 AM10/6/23
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages