================================================================== BUG: KCSAN: data-race in __mod_timer / __mod_timer write to 0xffff888137a02510 of 8 bytes by interrupt on cpu 1: __mod_timer+0x6fd/0xc10 kernel/time/timer.c:1105 mod_timer+0x1b/0x20 kernel/time/timer.c:1161 mod_peer_timer drivers/net/wireguard/timers.c:37 [inline] wg_timers_any_authenticated_packet_traversal+0xc0/0xe0 drivers/net/wireguard/timers.c:215 wg_packet_consume_data_done drivers/net/wireguard/receive.c:361 [inline] wg_packet_rx_poll+0x825/0x1090 drivers/net/wireguard/receive.c:481 __napi_poll+0x65/0x390 net/core/dev.c:6492 napi_poll net/core/dev.c:6559 [inline] net_rx_action+0x37e/0x730 net/core/dev.c:6670 __do_softirq+0x158/0x2e3 kernel/softirq.c:571 do_softirq+0xb1/0xf0 kernel/softirq.c:472 __local_bh_enable_ip+0x6f/0x80 kernel/softirq.c:396 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:167 [inline] _raw_spin_unlock_bh+0x32/0x40 kernel/locking/spinlock.c:210 spin_unlock_bh include/linux/spinlock.h:394 [inline] ptr_ring_consume_bh include/linux/ptr_ring.h:367 [inline] wg_packet_decrypt_worker+0x737/0x770 drivers/net/wireguard/receive.c:506 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 read to 0xffff888137a02510 of 8 bytes by task 1916 on cpu 0: __mod_timer+0x7d/0xc10 kernel/time/timer.c:1033 mod_timer+0x1b/0x20 kernel/time/timer.c:1161 mod_peer_timer drivers/net/wireguard/timers.c:37 [inline] wg_timers_any_authenticated_packet_traversal+0xc0/0xe0 drivers/net/wireguard/timers.c:215 wg_packet_create_data_done drivers/net/wireguard/send.c:247 [inline] wg_packet_tx_worker+0xf7/0x360 drivers/net/wireguard/send.c:276 process_one_work+0x3d3/0x720 kernel/workqueue.c:2289 worker_thread+0x618/0xa70 kernel/workqueue.c:2436 kthread+0x1a9/0x1e0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 value changed: 0x00000000ffffe1cb -> 0x00000000ffffe34c Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 1916 Comm: kworker/0:4 Not tainted 5.19.0-rc8-syzkaller-00168-g334c0ef6429f-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: wg-crypt-wg1 wg_packet_tx_worker ==================================================================