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

8 views
Skip to first unread message

syzbot

unread,
Apr 25, 2022, 10:08:39 PM4/25/22
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: af2d861d4cd2 Linux 5.18-rc4
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1261acaaf00000
kernel config: https://syzkaller.appspot.com/x/.config?x=c60f46e81f29a7d3
dashboard link: https://syzkaller.appspot.com/bug?extid=64d2873ba7ba90e1b7e0
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+64d287...@syzkaller.appspotmail.com

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

read-write to 0xffff8881042e3590 of 8 bytes by interrupt on cpu 1:
can_send+0x46e/0x500 net/can/af_can.c:290
bcm_can_tx+0x2f0/0x3e0 net/can/bcm.c:300
bcm_tx_timeout_handler+0xce/0x250
__run_hrtimer+0x132/0x420 kernel/time/hrtimer.c:1685
__hrtimer_run_queues kernel/time/hrtimer.c:1749 [inline]
hrtimer_run_softirq+0x1e9/0x480 kernel/time/hrtimer.c:1766
__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 0xffff8881042e3590 of 8 bytes by interrupt on cpu 0:
can_send+0x46e/0x500 net/can/af_can.c:290
bcm_can_tx+0x2f0/0x3e0 net/can/bcm.c:300
bcm_tx_timeout_handler+0xce/0x250
__run_hrtimer+0x132/0x420 kernel/time/hrtimer.c:1685
__hrtimer_run_queues kernel/time/hrtimer.c:1749 [inline]
hrtimer_run_softirq+0x1e9/0x480 kernel/time/hrtimer.c:1766
__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: 0x000000000000234a -> 0x000000000000234b

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.18.0-rc4-syzkaller-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.
Reply all
Reply to author
Forward
0 new messages