================================================================== BUG: KCSAN: data-race in assign_work / queue_work_on read-write (marked) to 0xffffe8ffffc1b0d8 of 8 bytes by interrupt on cpu 1: instrument_atomic_read_write include/linux/instrumented.h:113 [inline] test_and_set_bit include/asm-generic/bitops/instrumented-atomic.h:71 [inline] queue_work_on+0x42/0x150 kernel/workqueue.c:2597 wg_queue_enqueue_per_device_and_peer drivers/net/wireguard/queueing.h:173 [inline] wg_packet_consume_data drivers/net/wireguard/receive.c:526 [inline] wg_packet_receive+0xe32/0x1260 drivers/net/wireguard/receive.c:576 wg_receive+0x4e/0x80 drivers/net/wireguard/socket.c:325 udpv6_queue_rcv_one_skb+0x8c4/0x910 net/ipv6/udp.c:849 udpv6_queue_rcv_skb+0x35a/0x430 net/ipv6/udp.c:890 udp6_unicast_rcv_skb+0x19d/0x1c0 net/ipv6/udp.c:1036 udpv6_rcv+0xd20/0xe30 net/ipv6/udp.c:1152 ip6_protocol_deliver_rcu+0xaf6/0x1190 net/ipv6/ip6_input.c:479 ip6_input_finish+0xf0/0x1c0 net/ipv6/ip6_input.c:534 NF_HOOK include/linux/netfilter.h:325 [inline] ip6_input+0x5e/0x160 net/ipv6/ip6_input.c:545 dst_input include/net/dst.h:482 [inline] ip6_rcv_finish+0x1f5/0x330 net/ipv6/ip6_input.c:119 NF_HOOK include/linux/netfilter.h:325 [inline] ipv6_rcv+0x72/0x170 net/ipv6/ip6_input.c:351 __netif_receive_skb_one_core net/core/dev.c:6447 [inline] __netif_receive_skb net/core/dev.c:6560 [inline] process_backlog+0x2b8/0x690 net/core/dev.c:6911 __napi_poll+0x73/0x350 net/core/dev.c:7997 napi_poll net/core/dev.c:8060 [inline] net_rx_action+0x33f/0x850 net/core/dev.c:8217 handle_softirqs+0x109/0x310 kernel/softirq.c:669 do_softirq+0x46/0x60 kernel/softirq.c:569 __local_bh_enable_ip+0x79/0x80 kernel/softirq.c:473 __raw_read_unlock_bh include/linux/rwlock_api_smp.h:283 [inline] _raw_read_unlock_bh+0x2f/0x40 kernel/locking/spinlock.c:319 wg_socket_send_skb_to_peer+0x10c/0x130 drivers/net/wireguard/socket.c:183 wg_packet_create_data_done drivers/net/wireguard/send.c:251 [inline] wg_packet_tx_worker+0x173/0x340 drivers/net/wireguard/send.c:276 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x582/0xab0 kernel/workqueue.c:3578 worker_thread+0x56c/0x770 kernel/workqueue.c:3659 kthread+0x248/0x2a0 kernel/kthread.c:436 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 read to 0xffffe8ffffc1b0d8 of 8 bytes by task 922 on cpu 0: move_linked_works kernel/workqueue.c:1211 [inline] assign_work+0x1c5/0x310 kernel/workqueue.c:1272 worker_thread+0x55b/0x770 kernel/workqueue.c:3658 kthread+0x248/0x2a0 kernel/kthread.c:436 ret_from_fork+0x146/0x330 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Reported by Kernel Concurrency Sanitizer on: CPU: 0 UID: 0 PID: 922 Comm: kworker/0:2 Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: 0x0 (wg-crypt-wg0) ==================================================================