================================================================== BUG: KCSAN: data-race in can_receive / can_receive read-write to 0xffff888108d8fce8 of 8 bytes by interrupt on cpu 1: can_receive+0x62/0x1f0 net/can/af_can.c:651 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5893 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6006 process_backlog+0x22e/0x440 net/core/dev.c:6354 __napi_poll+0x63/0x3c0 net/core/dev.c:7188 napi_poll net/core/dev.c:7257 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7379 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] release_sock+0x117/0x150 net/core/sock.c:3686 tcp_recvmsg+0x147/0x490 net/ipv4/tcp.c:2866 inet_recvmsg+0xbd/0x290 net/ipv4/af_inet.c:883 sock_recvmsg_nosec net/socket.c:1023 [inline] sock_recvmsg+0xfe/0x170 net/socket.c:1045 sock_read_iter+0x14c/0x1a0 net/socket.c:1115 new_sync_read fs/read_write.c:484 [inline] vfs_read+0x5cc/0x6f0 fs/read_write.c:565 ksys_read+0xe8/0x1b0 fs/read_write.c:708 __do_sys_read fs/read_write.c:717 [inline] __se_sys_read fs/read_write.c:715 [inline] __x64_sys_read+0x42/0x50 fs/read_write.c:715 x64_sys_call+0x2874/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:1 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 0xffff888108d8fce8 of 8 bytes by interrupt on cpu 0: can_receive+0x62/0x1f0 net/can/af_can.c:651 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5893 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6006 process_backlog+0x22e/0x440 net/core/dev.c:6354 __napi_poll+0x63/0x3c0 net/core/dev.c:7188 napi_poll net/core/dev.c:7257 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7379 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] release_sock+0x117/0x150 net/core/sock.c:3686 tcp_close+0x2e/0xd0 net/ipv4/tcp.c:3235 inet_release+0xce/0xf0 net/ipv4/af_inet.c:435 __sock_release net/socket.c:647 [inline] sock_close+0x68/0x150 net/socket.c:1398 __fput+0x2ac/0x640 fs/file_table.c:464 __fput_sync+0x96/0xc0 fs/file_table.c:550 __do_sys_close fs/open.c:1580 [inline] __se_sys_close fs/open.c:1565 [inline] __x64_sys_close+0x55/0xe0 fs/open.c:1565 x64_sys_call+0x266c/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:4 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: 0x0000000000000f8c -> 0x0000000000000f8e Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 3308 Comm: syz-executor Tainted: G W 6.14.0-rc5-syzkaller #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff888108d8fcf0 of 8 bytes by interrupt on cpu 1: can_send+0x5b6/0x6d0 net/can/af_can.c:291 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 slab_free mm/slub.c:4610 [inline] kmem_cache_free+0xe6/0x2d0 mm/slub.c:4711 __kfree_skb+0x102/0x150 net/core/skbuff.c:1115 consume_skb+0x49/0x160 net/core/skbuff.c:1346 nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline] nsim_dev_trap_report_work+0x52a/0x620 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3319 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3400 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 0xffff888108d8fcf0 of 8 bytes by interrupt on cpu 0: can_send+0x5b6/0x6d0 net/can/af_can.c:291 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 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:950 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 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 value changed: 0x00000000000013b9 -> 0x00000000000013ba Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Tainted: G W 6.14.0-rc5-syzkaller #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 ==================================================================