================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88815046dd90 of 8 bytes by interrupt on cpu 1: can_send+0x55c/0x5d0 net/can/af_can.c:289 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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+0x4d5/0x5b0 drivers/net/netdevsim/dev.c:850 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 read-write to 0xffff88815046dd90 of 8 bytes by interrupt on cpu 0: can_send+0x55c/0x5d0 net/can/af_can.c:289 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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+0x21d/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x3db/0xac0 net/batman-adv/network-coding.c:720 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 value changed: 0x000000000124000d -> 0x000000000124000e Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 27 Comm: kworker/u8:1 Not tainted 6.9.0-rc1-syzkaller-00009-g7033999ecd7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: bat_events batadv_nc_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88815046ddf0 of 8 bytes by interrupt on cpu 1: can_send+0x570/0x5d0 net/can/af_can.c:290 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 run_ksoftirqd+0x17/0x30 kernel/softirq.c:924 smpboot_thread_fn+0x31c/0x4c0 kernel/smpboot.c:164 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 read-write to 0xffff88815046ddf0 of 8 bytes by interrupt on cpu 0: can_send+0x570/0x5d0 net/can/af_can.c:290 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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+0x21d/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x402/0xac0 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 value changed: 0x0000000000006ccc -> 0x0000000000006ccd Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 27 Comm: kworker/u8:1 Not tainted 6.9.0-rc1-syzkaller-00009-g7033999ecd7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: bat_events batadv_nc_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88815046dd90 of 8 bytes by interrupt on cpu 1: can_send+0x55c/0x5d0 net/can/af_can.c:289 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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] wg_index_hashtable_insert+0xaa/0x2a0 drivers/net/wireguard/peerlookup.c:126 wg_noise_handshake_create_initiation+0x52d/0x5f0 drivers/net/wireguard/noise.c:569 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:34 [inline] wg_packet_handshake_send_worker+0xb3/0x150 drivers/net/wireguard/send.c:51 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 read-write to 0xffff88815046dd90 of 8 bytes by interrupt on cpu 0: can_send+0x55c/0x5d0 net/can/af_can.c:289 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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+0x21d/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x3db/0xac0 net/batman-adv/network-coding.c:720 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 value changed: 0x000000000128cf1c -> 0x000000000128cf1d Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 27206 Comm: kworker/u8:4 Not tainted 6.9.0-rc1-syzkaller-00009-g7033999ecd7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: bat_events batadv_nc_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_rcv_filter / can_rcv_filter read-write to 0xffff888117713748 of 8 bytes by interrupt on cpu 1: deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:851 [inline] mod_peer_timer drivers/net/wireguard/timers.c:38 [inline] wg_timers_any_authenticated_packet_traversal+0xe5/0x110 drivers/net/wireguard/timers.c:215 wg_packet_send_handshake_initiation drivers/net/wireguard/send.c:36 [inline] wg_packet_handshake_send_worker+0xd7/0x150 drivers/net/wireguard/send.c:51 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 read-write to 0xffff888117713748 of 8 bytes by interrupt on cpu 0: deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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+0x21d/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x402/0xac0 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 value changed: 0x0000000000c5b5f5 -> 0x0000000000c5b5f6 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 27206 Comm: kworker/u8:4 Not tainted 6.9.0-rc1-syzkaller-00009-g7033999ecd7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: bat_events batadv_nc_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88815046dd90 of 8 bytes by interrupt on cpu 1: can_send+0x55c/0x5d0 net/can/af_can.c:289 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:851 [inline] keep_key_fresh drivers/net/wireguard/send.c:135 [inline] wg_packet_create_data_done drivers/net/wireguard/send.c:259 [inline] wg_packet_tx_worker+0x2c8/0x360 drivers/net/wireguard/send.c:276 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 read-write to 0xffff88815046dd90 of 8 bytes by interrupt on cpu 0: can_send+0x55c/0x5d0 net/can/af_can.c:289 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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+0x21d/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x402/0xac0 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 value changed: 0x00000000012e116e -> 0x00000000012e116f Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29017 Comm: kworker/u8:10 Not tainted 6.9.0-rc1-syzkaller-00009-g7033999ecd7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: bat_events batadv_nc_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_rcv_filter / can_rcv_filter read-write to 0xffff888117713748 of 8 bytes by interrupt on cpu 1: deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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_encrypt_worker+0x186/0xa30 drivers/net/wireguard/send.c:293 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 read-write to 0xffff888117713748 of 8 bytes by interrupt on cpu 0: deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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+0x21d/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x402/0xac0 net/batman-adv/network-coding.c:722 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 value changed: 0x0000000000c8681f -> 0x0000000000c86820 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 29017 Comm: kworker/u8:10 Not tainted 6.9.0-rc1-syzkaller-00009-g7033999ecd7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: bat_events batadv_nc_worker ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88815046ddf0 of 8 bytes by interrupt on cpu 1: can_send+0x570/0x5d0 net/can/af_can.c:290 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:851 [inline] mod_peer_timer drivers/net/wireguard/timers.c:38 [inline] wg_timers_any_authenticated_packet_traversal+0xe5/0x110 drivers/net/wireguard/timers.c:215 wg_packet_create_data_done drivers/net/wireguard/send.c:247 [inline] wg_packet_tx_worker+0xe9/0x360 drivers/net/wireguard/send.c:276 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 read-write to 0xffff88815046ddf0 of 8 bytes by interrupt on cpu 0: can_send+0x570/0x5d0 net/can/af_can.c:290 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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:3542 lock_sock include/net/sock.h:1671 [inline] sockopt_lock_sock+0x42/0x50 net/core/sock.c:1061 do_ip_getsockopt+0xb57/0x11a0 net/ipv4/ip_sockglue.c:1703 ip_getsockopt+0x5c/0x170 net/ipv4/ip_sockglue.c:1765 tcp_getsockopt+0xaa/0xe0 net/ipv4/tcp.c:4373 sock_common_getsockopt+0x5b/0x70 net/core/sock.c:3700 do_sock_getsockopt+0x121/0x1a0 net/socket.c:2373 __sys_getsockopt+0x19a/0x210 net/socket.c:2402 __do_sys_getsockopt net/socket.c:2412 [inline] __se_sys_getsockopt net/socket.c:2409 [inline] __x64_sys_getsockopt+0x66/0x80 net/socket.c:2409 do_syscall_64+0xd3/0x1d0 entry_SYSCALL_64_after_hwframe+0x6d/0x75 value changed: 0x000000000000e14f -> 0x000000000000e150 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 26031 Comm: syz-executor.3 Not tainted 6.9.0-rc1-syzkaller-00009-g7033999ecd7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_rcv_filter / can_rcv_filter read-write to 0xffff888117713748 of 8 bytes by interrupt on cpu 1: deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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+0x21d/0x270 net/batman-adv/network-coding.c:471 batadv_nc_worker+0x3db/0xac0 net/batman-adv/network-coding.c:720 process_one_work kernel/workqueue.c:3254 [inline] process_scheduled_works+0x465/0x990 kernel/workqueue.c:3335 worker_thread+0x526/0x730 kernel/workqueue.c:3416 kthread+0x1d1/0x210 kernel/kthread.c:388 ret_from_fork+0x4b/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 read-write to 0xffff888117713748 of 8 bytes by interrupt on cpu 0: deliver net/can/af_can.c:573 [inline] can_rcv_filter+0xd1/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 __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:3542 lock_sock include/net/sock.h:1671 [inline] sockopt_lock_sock+0x42/0x50 net/core/sock.c:1061 do_ip_getsockopt+0xb57/0x11a0 net/ipv4/ip_sockglue.c:1703 ip_getsockopt+0x5c/0x170 net/ipv4/ip_sockglue.c:1765 tcp_getsockopt+0xaa/0xe0 net/ipv4/tcp.c:4373 sock_common_getsockopt+0x5b/0x70 net/core/sock.c:3700 do_sock_getsockopt+0x121/0x1a0 net/socket.c:2373 __sys_getsockopt+0x19a/0x210 net/socket.c:2402 __do_sys_getsockopt net/socket.c:2412 [inline] __se_sys_getsockopt net/socket.c:2409 [inline] __x64_sys_getsockopt+0x66/0x80 net/socket.c:2409 do_syscall_64+0xd3/0x1d0 entry_SYSCALL_64_after_hwframe+0x6d/0x75 value changed: 0x0000000000cb09c8 -> 0x0000000000cb09c9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 26031 Comm: syz-executor.3 Not tainted 6.9.0-rc1-syzkaller-00009-g7033999ecd7b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 ================================================================== ================================================================== BUG: KCSAN: data-race in can_send / can_send read-write to 0xffff88815046ddf0 of 8 bytes by interrupt on cpu 1: can_send+0x570/0x5d0 net/can/af_can.c:290 can_can_gw_rcv+0x77b/0x7e0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0xbf/0x4c0 net/can/af_can.c:599 can_receive+0x182/0x1f0 net/can/af_can.c:663 can_rcv+0xe7/0x180 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5538 [inline] __netif_receive_skb+0x123/0x280 net/core/dev.c:5652 process_backlog+0x21f/0x380 net/core/dev.c:5981 __napi_poll+0x63/0x3c0 net/core/dev.c:6632 napi_poll net/core/dev.c:6701 [inline] net_rx_action+0x324/0x720 net/core/dev.c:6816 __do_softirq+0xc8/0x285 kernel/softirq.c:554 do_softirq+0x5e/0x90 kernel/softirq.c:455 __local_bh_enable_ip+0x6e/0x70 kernel/softirq.c:382 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:851 [inline] wg_pubkey_hashtable_lookup+0xda/0xf0 drivers/net/wireguard/peerlookup.c:69 wg_noise_handshake_consume_initiation+0x355/0x740 drivers/net/wireguard/noise.c:617 wg_receive_handshake_packet drivers/net/wireguard/receive.c:144 [inline] wg_packet_handshake_receive_worker+0x3c9/0x5f0 drivers/net/wireguard/receive.c:213