================================================================== BUG: KCSAN: data-race in can_receive / can_stat_update read to 0xffff88812d70fce8 of 8 bytes by interrupt on cpu 1: can_stat_update+0x444/0x6b0 net/can/proc.c:152 call_timer_fn+0x3a/0x300 kernel/time/timer.c:1789 expire_timers kernel/time/timer.c:1840 [inline] __run_timers kernel/time/timer.c:2414 [inline] __run_timer_base+0x417/0x640 kernel/time/timer.c:2426 run_timer_base kernel/time/timer.c:2435 [inline] run_timer_softirq+0x31/0x70 kernel/time/timer.c:2445 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x36/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x522/0x620 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x483/0x9a0 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 kthread+0x4ae/0x520 kernel/kthread.c:464 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 read-write to 0xffff88812d70fce8 of 8 bytes by interrupt on cpu 0: can_receive+0x62/0x1f0 net/can/af_can.c:651 can_rcv+0xe7/0x180 net/can/af_can.c:688 __netif_receive_skb_one_core net/core/dev.c:5828 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5941 process_backlog+0x22e/0x440 net/core/dev.c:6289 __napi_poll+0x63/0x3c0 net/core/dev.c:7106 napi_poll net/core/dev.c:7175 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7297 handle_softirqs+0xbf/0x280 kernel/softirq.c:561 do_softirq+0x5e/0x90 kernel/softirq.c:462 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:389 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x36/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:396 [inline] lock_sock_nested+0x10f/0x140 net/core/sock.c:3652 lock_sock include/net/sock.h:1624 [inline] sockopt_lock_sock+0x42/0x50 net/core/sock.c:1133 do_ip_getsockopt+0xb57/0x11a0 net/ipv4/ip_sockglue.c:1703 ip_getsockopt+0x5c/0x170 net/ipv4/ip_sockglue.c:1765 tcp_getsockopt+0xaa/0xe0 net/ipv4/tcp.c:4671 sock_common_getsockopt+0x5b/0x70 net/core/sock.c:3810 do_sock_getsockopt+0x1ca/0x260 net/socket.c:2359 __sys_getsockopt net/socket.c:2388 [inline] __do_sys_getsockopt net/socket.c:2395 [inline] __se_sys_getsockopt net/socket.c:2392 [inline] __x64_sys_getsockopt+0x18c/0x200 net/socket.c:2392 x64_sys_call+0x1288/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:56 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 value changed: 0x00000000000206ce -> 0x0000000000000000 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 19122 Comm: syz-executor Not tainted 6.13.0-syzkaller-09383-gebbb8be421ee #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ==================================================================