================================================================== BUG: KCSAN: data-race in can_can_gw_rcv / can_can_gw_rcv read-write to 0xffff88810d5ac020 of 4 bytes by interrupt on cpu 0: can_can_gw_rcv+0x7cb/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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] lock_sock_nested+0x10f/0x140 net/core/sock.c:3652 lock_sock include/net/sock.h:1624 [inline] sockopt_lock_sock+0x42/0x50 net/core/sock.c:1133 do_ip_getsockopt+0xbf3/0x1270 net/ipv4/ip_sockglue.c:1703 ip_getsockopt+0x5c/0x170 net/ipv4/ip_sockglue.c:1765 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 read-write to 0xffff88810d5ac020 of 4 bytes by interrupt on cpu 1: can_can_gw_rcv+0x7cb/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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 fpu__restore_sig+0x5c1/0xb00 arch/x86/kernel/fpu/signal.c:494 restore_sigcontext+0x1b5/0x220 arch/x86/kernel/signal_64.c:95 __do_sys_rt_sigreturn+0xfd/0x160 arch/x86/kernel/signal_64.c:266 x64_sys_call+0x2982/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:16 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: 0x0002598d -> 0x0002598e Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 13632 Comm: syz.4.3551 Not tainted 6.14.0-rc3-syzkaller-00213-g8a61cb6e150e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_can_gw_rcv / can_can_gw_rcv read-write to 0xffff88810d5ac020 of 4 bytes by interrupt on cpu 0: can_can_gw_rcv+0x7cb/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x522/0x620 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 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 0xffff88810d5ac020 of 4 bytes by interrupt on cpu 1: can_can_gw_rcv+0x7cb/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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: 0x00082f98 -> 0x00082f9a Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 23 Comm: ksoftirqd/1 Not tainted 6.14.0-rc3-syzkaller-00213-g8a61cb6e150e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88812514eb90 of 8 bytes by interrupt on cpu 0: can_send+0x5a2/0x6d0 net/can/af_can.c:290 can_can_gw_rcv+0x77d/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline] wg_packet_decrypt_worker+0x6ac/0x6f0 drivers/net/wireguard/receive.c:499 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 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 0xffff88812514eb90 of 8 bytes by interrupt on cpu 1: can_send+0x5a2/0x6d0 net/can/af_can.c:290 can_can_gw_rcv+0x77d/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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] xt_replace_table+0x261/0x460 net/netfilter/x_tables.c:1428 __do_replace+0xcc/0x570 net/ipv4/netfilter/ip_tables.c:1064 do_replace net/ipv4/netfilter/ip_tables.c:1141 [inline] do_ipt_set_ctl+0x811/0x8b0 net/ipv4/netfilter/ip_tables.c:1635 nf_setsockopt+0x195/0x1b0 net/netfilter/nf_sockopt.c:101 ip_setsockopt+0xea/0x100 net/ipv4/ip_sockglue.c:1424 tcp_setsockopt+0x93/0xb0 net/ipv4/tcp.c:4049 sock_common_setsockopt+0x64/0x80 net/core/sock.c:3837 do_sock_setsockopt net/socket.c:2303 [inline] __sys_setsockopt+0x187/0x200 net/socket.c:2328 __do_sys_setsockopt net/socket.c:2334 [inline] __se_sys_setsockopt net/socket.c:2331 [inline] __x64_sys_setsockopt+0x66/0x80 net/socket.c:2331 x64_sys_call+0x282e/0x2dc0 arch/x86/include/generated/asm/syscalls_64.h:55 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: 0x000000000009709d -> 0x000000000009709e Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 11523 Comm: syz-executor Not tainted 6.14.0-rc3-syzkaller-00213-g8a61cb6e150e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88812514ebf0 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+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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] batadv_tt_local_purge+0x1a8/0x1f0 net/batman-adv/translation-table.c:1315 batadv_tt_purge+0x2b/0x630 net/batman-adv/translation-table.c:3509 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 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 0xffff88812514ebf0 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+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x522/0x620 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 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: 0x000000000000f3d4 -> 0x000000000000f3d5 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 36 Comm: kworker/u8:2 Not tainted 6.14.0-rc3-syzkaller-00213-g8a61cb6e150e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound nsim_dev_trap_report_work ================================================================== ================================================================== BUG: KCSAN: data-race in can_can_gw_rcv / can_can_gw_rcv read-write to 0xffff88810d5ac020 of 4 bytes by interrupt on cpu 0: can_can_gw_rcv+0x7cb/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline] wg_packet_decrypt_worker+0x173/0x6f0 drivers/net/wireguard/receive.c:499 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 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 0xffff88810d5ac020 of 4 bytes by interrupt on cpu 1: can_can_gw_rcv+0x7cb/0x7e0 net/can/gw.c:564 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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: 0x0013e502 -> 0x0013e503 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 23 Comm: ksoftirqd/1 Not tainted 6.14.0-rc3-syzkaller-00213-g8a61cb6e150e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_rcv_filter / can_rcv_filter read-write to 0xffff8881033b17e8 of 8 bytes by interrupt on cpu 0: deliver net/can/af_can.c:574 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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] batadv_nc_purge_paths+0x220/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x3db/0xad0 net/batman-adv/network-coding.c:720 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 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 0xffff8881033b17e8 of 8 bytes by interrupt on cpu 1: deliver net/can/af_can.c:574 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x522/0x620 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398 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: 0x0000000000146d46 -> 0x0000000000146d48 Reported by Kernel Concurrency Sanitizer on: CPU: 1 UID: 0 PID: 3324 Comm: kworker/u8:6 Not tainted 6.14.0-rc3-syzkaller-00213-g8a61cb6e150e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound nsim_dev_trap_report_work ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88812514eb90 of 8 bytes by interrupt on cpu 0: can_send+0x5a2/0x6d0 net/can/af_can.c:290 can_can_gw_rcv+0x77d/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:600 can_receive+0x182/0x1f0 net/can/af_can.c:664 canfd_rcv+0xe7/0x180 net/can/af_can.c:703 __netif_receive_skb_one_core net/core/dev.c:5899 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:6012 process_backlog+0x22e/0x440 net/core/dev.c:6360 __napi_poll+0x63/0x3c0 net/core/dev.c:7194 napi_poll net/core/dev.c:7263 [inline] net_rx_action+0x3a1/0x7f0 net/core/dev.c:7385 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] nsim_dev_trap_report drivers/net/netdevsim/dev.c:820 [inline] nsim_dev_trap_report_work+0x522/0x620 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0x4db/0xa20 kernel/workqueue.c:3317 worker_thread+0x51d/0x6f0 kernel/workqueue.c:3398