================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88810497ba70 of 8 bytes by interrupt on cpu 1: 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:5672 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5785 process_backlog+0x22e/0x440 net/core/dev.c:6117 __napi_poll+0x63/0x3c0 net/core/dev.c:6883 napi_poll net/core/dev.c:6952 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7074 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 local_bh_enable include/linux/bottom_half.h:33 [inline] fpregs_unlock arch/x86/include/asm/fpu/api.h:80 [inline] fpu__clear_user_states+0x181/0x2b0 arch/x86/kernel/fpu/core.c:771 handle_signal arch/x86/kernel/signal.c:310 [inline] arch_do_signal_or_restart+0x2ff/0x4b0 arch/x86/kernel/signal.c:339 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x62/0x120 kernel/entry/common.c:218 do_syscall_64+0xd6/0x1c0 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f read-write to 0xffff88810497ba70 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:5672 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5785 process_backlog+0x22e/0x440 net/core/dev.c:6117 __napi_poll+0x63/0x3c0 net/core/dev.c:6883 napi_poll net/core/dev.c:6952 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7074 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 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x73/0x80 arch/x86/kernel/apic/apic.c:1049 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 get_ctx kernel/kcsan/core.c:206 [inline] check_access kernel/kcsan/core.c:750 [inline] __tsan_read4+0xe2/0x180 kernel/kcsan/core.c:1024 __tlb_remove_folio_pages_size mm/mmu_gather.c:195 [inline] __tlb_remove_folio_pages+0x87/0x210 mm/mmu_gather.c:208 zap_present_folio_ptes mm/memory.c:1531 [inline] zap_present_ptes mm/memory.c:1585 [inline] zap_pte_range mm/memory.c:1627 [inline] zap_pmd_range mm/memory.c:1753 [inline] zap_pud_range mm/memory.c:1782 [inline] zap_p4d_range mm/memory.c:1803 [inline] unmap_page_range+0x1185/0x2380 mm/memory.c:1824 unmap_single_vma+0x142/0x1d0 mm/memory.c:1870 unmap_vmas+0x18d/0x2b0 mm/memory.c:1914 exit_mmap+0x18a/0x680 mm/mmap.c:1668 __mmput+0x28/0x1d0 kernel/fork.c:1353 mmput+0x4c/0x60 kernel/fork.c:1375 exit_mm+0xe4/0x190 kernel/exit.c:570 do_exit+0x55e/0x17f0 kernel/exit.c:925 do_group_exit+0x102/0x150 kernel/exit.c:1087 get_signal+0xeb9/0x1000 kernel/signal.c:3017 arch_do_signal_or_restart+0x95/0x4b0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x62/0x120 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: 0x0000000000009f18 -> 0x0000000000009f1a Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 5665 Comm: syz.2.655 Not tainted 6.13.0-rc2-syzkaller-00018-g7cb1b4663150 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_can_gw_rcv / can_can_gw_rcv read-write to 0xffff88812bf34020 of 4 bytes by interrupt on cpu 1: