================================================================== BUG: KCSAN: data-race in can_send / can_stat_update read-write to 0xffff8881790f5370 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 run_ksoftirqd+0x1c/0x30 kernel/softirq.c:950 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 0xffff8881790f5370 of 8 bytes by interrupt on cpu 0: can_stat_update+0x48f/0x6b0 net/can/proc.c:157 call_timer_fn+0x3a/0x300 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers kernel/time/timer.c:2418 [inline] __run_timer_base+0x417/0x640 kernel/time/timer.c:2430 run_timer_base kernel/time/timer.c:2439 [inline] run_timer_softirq+0x31/0x70 kernel/time/timer.c:2449 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 console_flush_all+0x56b/0x770 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0xab/0x330 kernel/printk/printk.c:3309 vprintk_emit+0x3f4/0x680 kernel/printk/printk.c:2432 vprintk_default+0x26/0x30 kernel/printk/printk.c:2447 vprintk+0x75/0x80 kernel/printk/printk_safe.c:86 _printk+0x7a/0xa0 kernel/printk/printk.c:2457 set_capacity_and_notify+0xff/0x160 block/genhd.c:86 loop_set_size+0x2e/0x70 drivers/block/loop.c:232 loop_configure+0x8a6/0xa30 drivers/block/loop.c:1101 lo_ioctl+0x5f6/0x11c0 blkdev_ioctl+0x359/0x450 block/ioctl.c:693 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xc9/0x140 fs/ioctl.c:892 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:892 x64_sys_call+0x1690/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:17 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: 0x000000000000d4e1 -> 0x000000000000d4e2 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 23200 Comm: syz.6.6278 Not tainted 6.13.0-rc5-syzkaller-00004-gccb98ccef0e5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 ==================================================================