================================================================== BUG: KCSAN: data-race in bcm_can_tx / bcm_tx_setup read to 0xffff8881262f5710 of 4 bytes by interrupt on cpu 0: bcm_can_tx+0x4e/0x410 net/can/bcm.c:276 bcm_tx_timeout_handler+0xdb/0x260 __run_hrtimer kernel/time/hrtimer.c:1685 [inline] __hrtimer_run_queues+0x217/0x700 kernel/time/hrtimer.c:1749 hrtimer_run_softirq+0xd6/0x120 kernel/time/hrtimer.c:1766 __do_softirq+0xc1/0x265 kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x57/0xa0 kernel/softirq.c:650 sysvec_apic_timer_interrupt+0x6d/0x80 arch/x86/kernel/apic/apic.c:1107 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 arch_atomic_add_negative arch/x86/include/asm/atomic.h:152 [inline] atomic_add_negative include/linux/atomic/atomic-instrumented.h:592 [inline] page_remove_rmap+0x7a/0x280 mm/rmap.c:1387 wp_page_copy mm/memory.c:3169 [inline] do_wp_page+0x1167/0x1fb0 mm/memory.c:3426 handle_pte_fault mm/memory.c:4941 [inline] __handle_mm_fault mm/memory.c:5065 [inline] handle_mm_fault+0x64e/0x21d0 mm/memory.c:5211 do_user_addr_fault arch/x86/mm/fault.c:1407 [inline] handle_page_fault arch/x86/mm/fault.c:1498 [inline] exc_page_fault+0x45f/0x640 arch/x86/mm/fault.c:1554 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 write to 0xffff8881262f5710 of 4 bytes by task 9929 on cpu 1: bcm_tx_setup+0x698/0xd30 net/can/bcm.c:995 bcm_sendmsg+0x38b/0x470 net/can/bcm.c:1355 sock_sendmsg_nosec net/socket.c:724 [inline] sock_sendmsg net/socket.c:747 [inline] ____sys_sendmsg+0x375/0x4c0 net/socket.c:2501 ___sys_sendmsg net/socket.c:2555 [inline] __sys_sendmsg+0x1e3/0x270 net/socket.c:2584 __do_sys_sendmsg net/socket.c:2593 [inline] __se_sys_sendmsg net/socket.c:2591 [inline] __x64_sys_sendmsg+0x46/0x50 net/socket.c:2591 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x000000c2 -> 0x000000c3 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 9929 Comm: syz-executor.5 Tainted: G W 6.3.0-rc6-syzkaller-00034-ge62252bc55b6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 ==================================================================