================================================================== BUG: KCSAN: data-race in can_send / can_stat_update read-write to 0xffff888112e9ad90 of 8 bytes by interrupt on cpu 0: can_send+0x55c/0x5d0 net/can/af_can.c:289 j1939_send_one+0x1a9/0x1e0 net/can/j1939/main.c:353 j1939_tp_tx_dat net/can/j1939/transport.c:646 [inline] j1939_session_tx_dat net/can/j1939/transport.c:838 [inline] j1939_xtp_txnext_transmiter net/can/j1939/transport.c:900 [inline] j1939_tp_txtimer+0xca9/0x1a70 net/can/j1939/transport.c:1160 __run_hrtimer kernel/time/hrtimer.c:1687 [inline] __hrtimer_run_queues+0x20d/0x5e0 kernel/time/hrtimer.c:1751 hrtimer_run_softirq+0xe4/0x2c0 kernel/time/hrtimer.c:1768 handle_softirqs+0xc3/0x280 kernel/softirq.c:554 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:928 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 read to 0xffff888112e9ad90 of 8 bytes by interrupt on cpu 1: can_stat_update+0x1f3/0x6b0 net/can/proc.c:134 call_timer_fn+0x3a/0x300 kernel/time/timer.c:1792 expire_timers kernel/time/timer.c:1843 [inline] __run_timers kernel/time/timer.c:2417 [inline] __run_timer_base+0x417/0x640 kernel/time/timer.c:2428 run_timer_base kernel/time/timer.c:2437 [inline] run_timer_softirq+0x31/0x70 kernel/time/timer.c:2447 handle_softirqs+0xc3/0x280 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0x3e/0x90 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline] sysvec_apic_timer_interrupt+0x73/0x80 arch/x86/kernel/apic/apic.c:1043 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 is_atomic kernel/kcsan/core.c:249 [inline] should_watch kernel/kcsan/core.c:277 [inline] check_access kernel/kcsan/core.c:752 [inline] __tsan_read1+0xe1/0x180 kernel/kcsan/core.c:1022 should_zap_cows mm/memory.c:1422 [inline] should_zap_folio mm/memory.c:1430 [inline] zap_present_ptes mm/memory.c:1548 [inline] zap_pte_range mm/memory.c:1606 [inline] zap_pmd_range mm/memory.c:1724 [inline] zap_pud_range mm/memory.c:1753 [inline] zap_p4d_range mm/memory.c:1774 [inline] unmap_page_range+0x570/0x21f0 mm/memory.c:1795 unmap_single_vma+0x142/0x1d0 mm/memory.c:1841 unmap_vmas+0x18d/0x2b0 mm/memory.c:1885 exit_mmap+0x18f/0x710 mm/mmap.c:3341 __mmput+0x28/0x1c0 kernel/fork.c:1346 mmput+0x4c/0x60 kernel/fork.c:1368 exit_mm+0xe4/0x190 kernel/exit.c:565 do_exit+0x556/0x1710 kernel/exit.c:861 do_group_exit+0x102/0x150 kernel/exit.c:1023 get_signal+0xf2f/0x1080 kernel/signal.c:2909 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x59/0x130 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f value changed: 0x0000000000002f26 -> 0x0000000000002f28 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 4053 Comm: syz.0.243 Not tainted 6.10.0-rc5-syzkaller-00253-gde0a9f448633 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 ==================================================================