================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88810431bf10 of 8 bytes by interrupt on cpu 1: can_send+0x5a2/0x6d0 net/can/af_can.c:290 bcm_can_tx+0x314/0x420 net/can/bcm.c:314 bcm_tx_timeout_handler+0xea/0x280 __run_hrtimer kernel/time/hrtimer.c:1801 [inline] __hrtimer_run_queues+0x20d/0x5e0 kernel/time/hrtimer.c:1865 hrtimer_run_softirq+0xe4/0x2c0 kernel/time/hrtimer.c:1882 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 cpuset_cpus_allowed+0x0/0x210 __sched_setaffinity+0x33/0x130 kernel/sched/syscalls.c:1166 sched_setaffinity+0x16c/0x1f0 kernel/sched/syscalls.c:1254 __do_sys_sched_setaffinity kernel/sched/syscalls.c:1290 [inline] __se_sys_sched_setaffinity kernel/sched/syscalls.c:1279 [inline] __x64_sys_sched_setaffinity+0x73/0xa0 kernel/sched/syscalls.c:1279 x64_sys_call+0x244f/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:204 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 0xffff88810431bf10 of 8 bytes by interrupt on cpu 0: can_send+0x5a2/0x6d0 net/can/af_can.c:290 bcm_can_tx+0x314/0x420 net/can/bcm.c:314 bcm_tx_timeout_handler+0xea/0x280 __run_hrtimer kernel/time/hrtimer.c:1801 [inline] __hrtimer_run_queues+0x20d/0x5e0 kernel/time/hrtimer.c:1865 hrtimer_run_softirq+0xe4/0x2c0 kernel/time/hrtimer.c:1882 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 remove_vm_area+0x0/0xd0 mm/vmalloc.c:3188 vfree+0x7c/0x410 mm/vmalloc.c:3364 copy_entries_to_user net/ipv4/netfilter/ip_tables.c:866 [inline] get_entries net/ipv4/netfilter/ip_tables.c:1022 [inline] do_ipt_get_ctl+0xbd5/0xc50 net/ipv4/netfilter/ip_tables.c:1668 nf_getsockopt+0x18c/0x1b0 net/netfilter/nf_sockopt.c:116 ip_getsockopt+0x12a/0x170 net/ipv4/ip_sockglue.c:1777 tcp_getsockopt+0xaa/0xe0 net/ipv4/tcp.c:4690 sock_common_getsockopt+0x5b/0x70 net/core/sock.c:3810 do_sock_getsockopt+0x1ca/0x260 net/socket.c:2364 __sys_getsockopt net/socket.c:2393 [inline] __do_sys_getsockopt net/socket.c:2400 [inline] __se_sys_getsockopt net/socket.c:2397 [inline] __x64_sys_getsockopt+0x18c/0x200 net/socket.c:2397 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: 0x0000000000001564 -> 0x0000000000001565 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3301 Comm: syz-executor Not tainted 6.14.0-rc3-syzkaller-00166-g334426094588 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ==================================================================