================================================================== BUG: KCSAN: data-race in __mod_timer / __mod_timer write to 0xffff888131c29cd0 of 8 bytes by interrupt on cpu 1: __mod_timer+0x6fd/0xc10 kernel/time/timer.c:1052 mod_timer+0x1b/0x20 kernel/time/timer.c:1108 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:6413 napi_poll net/core/dev.c:6480 [inline] net_rx_action+0x29e/0x650 net/core/dev.c:6567 __do_softirq+0x158/0x2e3 kernel/softirq.c:558 do_softirq+0xb1/0xf0 kernel/softirq.c:459 __local_bh_enable_ip+0x6f/0x80 kernel/softirq.c:383 __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 0xffff888131c29cd0 of 8 bytes by task 77 on cpu 0: __mod_timer+0x7d/0xc10 kernel/time/timer.c:980 mod_timer+0x1b/0x20 kernel/time/timer.c:1108 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: 0x00000000ffffb2bc -> 0x00000000ffffb5ac Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 77 Comm: kworker/0:2 Not tainted 5.18.0-rc2-syzkaller-00291-g90ea17a9e27b-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: wg-crypt-wg2 wg_packet_tx_worker ==================================================================