================================================================== BUG: KCSAN: data-race in can_send / can_stat_update read to 0xffff88811af9a8f0 of 8 bytes by interrupt on cpu 1: can_stat_update+0x48f/0x6b0 net/can/proc.c:157 call_timer_fn+0x3a/0x300 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers kernel/time/timer.c:2418 [inline] __run_timer_base+0x417/0x640 kernel/time/timer.c:2430 run_timer_base kernel/time/timer.c:2439 [inline] run_timer_softirq+0x31/0x70 kernel/time/timer.c:2449 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0x3a/0xc0 kernel/softirq.c:662 common_interrupt+0x81/0x90 arch/x86/kernel/irq.c:278 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 __preempt_count_dec_and_test arch/x86/include/asm/preempt.h:94 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x3d/0x60 kernel/locking/spinlock.c:194 unlock_hrtimer_base kernel/time/hrtimer.c:1007 [inline] hrtimer_start_range_ns+0x53d/0x580 kernel/time/hrtimer.c:1296 hrtimer_start_expires include/linux/hrtimer.h:274 [inline] hrtimer_sleeper_start_expires kernel/time/hrtimer.c:2001 [inline] do_nanosleep+0x86/0x300 kernel/time/hrtimer.c:2076 hrtimer_nanosleep+0xc4/0x1c0 kernel/time/hrtimer.c:2126 common_nsleep+0x68/0x90 kernel/time/posix-timers.c:1356 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1402 [inline] __se_sys_clock_nanosleep+0x20a/0x240 kernel/time/posix-timers.c:1379 __x64_sys_clock_nanosleep+0x55/0x70 kernel/time/posix-timers.c:1379 x64_sys_call+0x25b8/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:231 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xc9/0x1c0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f read-write to 0xffff88811af9a8f0 of 8 bytes by interrupt on cpu 0: can_send+0x5b6/0x6d0 net/can/af_can.c:291 can_can_gw_rcv+0x77d/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0x225/0x4c0 net/can/af_can.c:607 can_receive+0x182/0x1f0 net/can/af_can.c:664 can_rcv+0xe7/0x180 net/can/af_can.c:688 __netif_receive_skb_one_core net/core/dev.c:5674 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5787 process_backlog+0x22e/0x440 net/core/dev.c:6119 __napi_poll+0x63/0x3c0 net/core/dev.c:6885 napi_poll net/core/dev.c:6954 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7076 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:950 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 kthread+0x1d1/0x210 kernel/kthread.c:389 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 value changed: 0x000000000000e08d -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.13.0-rc6-syzkaller-00051-geea6e4b4dfb8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================